summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-09-11 19:47:25 +0200
committerMike Gilbert <floppym@gentoo.org>2017-09-11 14:39:17 -0400
commitc0b128f42da22b0fe7ae81e521aaee72d60cefac (patch)
treebf90229d06fb267c8fba6db9a787c2af4a2aa40a /app-i18n/fcitx
parentapp-i18n/fcitx: Update dependency on app-text/enchant. (diff)
downloadgentoo-c0b128f42da22b0fe7ae81e521aaee72d60cefac.tar.gz
gentoo-c0b128f42da22b0fe7ae81e521aaee72d60cefac.tar.bz2
gentoo-c0b128f42da22b0fe7ae81e521aaee72d60cefac.zip
app-i18n/fcitx: Use xdg-utils.eclass directly instead of xdg.eclass.
Diffstat (limited to 'app-i18n/fcitx')
-rw-r--r--app-i18n/fcitx/fcitx-4.2.9.1.ebuild13
-rw-r--r--app-i18n/fcitx/fcitx-9999.ebuild13
2 files changed, 10 insertions, 16 deletions
diff --git a/app-i18n/fcitx/fcitx-4.2.9.1.ebuild b/app-i18n/fcitx/fcitx-4.2.9.1.ebuild
index 3f8c5d9bced9..9a08d662655f 100644
--- a/app-i18n/fcitx/fcitx-4.2.9.1.ebuild
+++ b/app-i18n/fcitx/fcitx-4.2.9.1.ebuild
@@ -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
}
diff --git a/app-i18n/fcitx/fcitx-9999.ebuild b/app-i18n/fcitx/fcitx-9999.ebuild
index 73c258d323b3..f4297bdcc058 100644
--- a/app-i18n/fcitx/fcitx-9999.ebuild
+++ b/app-i18n/fcitx/fcitx-9999.ebuild
@@ -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
}