Skip to content

Commit

Permalink
app-i18n/fcitx: Use xdg-utils.eclass directly instead of xdg.eclass.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arfrever Frehtes Taifersar Arahesis authored and floppym committed Sep 11, 2017
1 parent d66e0f9 commit c0b128f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
13 changes: 5 additions & 8 deletions app-i18n/fcitx/fcitx-4.2.9.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
}
13 changes: 5 additions & 8 deletions app-i18n/fcitx/fcitx-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
}

0 comments on commit c0b128f

Please sign in to comment.