Skip to content

Commit

Permalink
app-i18n/ibus-anthy: use xdg eclass
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/722758
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Akinori Hattori <[email protected]>
  • Loading branch information
hattya committed May 14, 2020
1 parent 720d72c commit b300169
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} )

inherit gnome2-utils python-single-r1
inherit gnome2-utils python-single-r1 xdg

DESCRIPTION="Japanese Anthy engine for IBus"
HOMEPAGE="https://github.com/ibus/ibus/wiki"
Expand Down Expand Up @@ -53,10 +53,12 @@ src_install() {
}

pkg_preinst() {
xdg_pkg_preinst
gnome2_icon_savelist
}

pkg_postinst() {
xdg_pkg_postinst
gnome2_icon_cache_update

if ! has_version app-dicts/kasumi; then
Expand All @@ -65,5 +67,6 @@ pkg_postinst() {
}

pkg_postrm() {
xdg_pkg_postrm
gnome2_icon_cache_update
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} )

inherit gnome2-utils python-single-r1
inherit gnome2-utils python-single-r1 xdg

DESCRIPTION="Japanese Anthy engine for IBus"
HOMEPAGE="https://github.com/ibus/ibus/wiki"
Expand Down Expand Up @@ -52,10 +52,12 @@ src_install() {
}

pkg_preinst() {
xdg_pkg_preinst
gnome2_icon_savelist
}

pkg_postinst() {
xdg_pkg_postinst
gnome2_icon_cache_update

if ! has_version app-dicts/kasumi; then
Expand All @@ -64,5 +66,6 @@ pkg_postinst() {
}

pkg_postrm() {
xdg_pkg_postrm
gnome2_icon_cache_update
}

0 comments on commit b300169

Please sign in to comment.