app-i18n/fcitx: Use xdg-utils.eclass directly instead of xdg.eclass.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Mon, 11 Sep 2017 17:47:25 +0000 (19:47 +0200)
committerMike Gilbert <floppym@gentoo.org>
Mon, 11 Sep 2017 18:39:17 +0000 (14:39 -0400)
app-i18n/fcitx/fcitx-4.2.9.1.ebuild
app-i18n/fcitx/fcitx-9999.ebuild

index 3f8c5d9bced9f6859059a2ba4c3cd84f773aa709..9a08d662655f47c8e325ed900cd1b2bafba95265 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI="6"
 
-inherit cmake-utils gnome2-utils multilib xdg
+inherit cmake-utils gnome2-utils xdg-utils
 
 if [[ "${PV}" == "9999" ]]; then
        inherit git-r3
@@ -121,21 +121,18 @@ src_install() {
        rm -r "${ED}usr/share/doc/${PN}"
 }
 
-pkg_preinst() {
-       gnome2_icon_savelist
-       xdg_pkg_preinst
-}
-
 pkg_postinst() {
        gnome2_icon_cache_update
-       xdg_pkg_postinst
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
        use gtk2 && gnome2_query_immodules_gtk2
        use gtk3 && gnome2_query_immodules_gtk3
 }
 
 pkg_postrm() {
        gnome2_icon_cache_update
-       xdg_pkg_postrm
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
        use gtk2 && gnome2_query_immodules_gtk2
        use gtk3 && gnome2_query_immodules_gtk3
 }
index 73c258d323b30e8bd95e8cda708542c0a348e4b6..f4297bdcc058fefdfa0798d893518b8f4d89a07a 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI="6"
 
-inherit cmake-utils gnome2-utils multilib xdg
+inherit cmake-utils gnome2-utils xdg-utils
 
 if [[ "${PV}" == "9999" ]]; then
        inherit git-r3
@@ -116,21 +116,18 @@ src_install() {
        rm -r "${ED}usr/share/doc/${PN}"
 }
 
-pkg_preinst() {
-       gnome2_icon_savelist
-       xdg_pkg_preinst
-}
-
 pkg_postinst() {
        gnome2_icon_cache_update
-       xdg_pkg_postinst
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
        use gtk2 && gnome2_query_immodules_gtk2
        use gtk3 && gnome2_query_immodules_gtk3
 }
 
 pkg_postrm() {
        gnome2_icon_cache_update
-       xdg_pkg_postrm
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
        use gtk2 && gnome2_query_immodules_gtk2
        use gtk3 && gnome2_query_immodules_gtk3
 }