commit:     bcc4b7eb0a340d6d1fd86be90be6dce3c3f92532
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 11 08:19:50 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Mon Dec 11 08:19:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcc4b7eb

sci-electronics/geda: Migrate from fdo-mime to xdg-utils eclass.

Package-Manager: Portage-2.3.17, Repoman-2.3.6

 sci-electronics/geda/geda-1.8.2.ebuild    | 10 +++++-----
 sci-electronics/geda/geda-1.9.2-r1.ebuild | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/sci-electronics/geda/geda-1.8.2.ebuild 
b/sci-electronics/geda/geda-1.8.2.ebuild
index 01203ce3884..62f0f84095c 100644
--- a/sci-electronics/geda/geda-1.8.2.ebuild
+++ b/sci-electronics/geda/geda-1.8.2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=4
-inherit eutils fdo-mime flag-o-matic gnome2-utils versionator
+inherit eutils xdg-utils flag-o-matic gnome2-utils versionator
 
 MY_PN=${PN}-gaf
 MY_P=${MY_PN}-${PV}
@@ -70,13 +70,13 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
        gnome2_icon_cache_update
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
        gnome2_icon_cache_update
 }

diff --git a/sci-electronics/geda/geda-1.9.2-r1.ebuild 
b/sci-electronics/geda/geda-1.9.2-r1.ebuild
index 9a6544d1aba..4408d101275 100644
--- a/sci-electronics/geda/geda-1.9.2-r1.ebuild
+++ b/sci-electronics/geda/geda-1.9.2-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit autotools eutils fdo-mime gnome2-utils versionator
+inherit autotools eutils xdg-utils gnome2-utils versionator
 
 MY_PN=${PN}-gaf
 MY_P=${MY_PN}-${PV}
@@ -76,13 +76,13 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
        gnome2_icon_cache_update
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
        gnome2_icon_cache_update
 }

Reply via email to