From: Akinori Hattori Date: Thu, 14 May 2020 14:23:34 +0000 (+0900) Subject: app-i18n/ibus-anthy: use xdg eclass X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b300169356f4c43051c7f016680bc9f548470456;p=gentoo.git app-i18n/ibus-anthy: use xdg eclass Bug: https://bugs.gentoo.org/722758 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori --- diff --git a/app-i18n/ibus-anthy/ibus-anthy-1.5.10-r1.ebuild b/app-i18n/ibus-anthy/ibus-anthy-1.5.10-r2.ebuild similarity index 93% rename from app-i18n/ibus-anthy/ibus-anthy-1.5.10-r1.ebuild rename to app-i18n/ibus-anthy/ibus-anthy-1.5.10-r2.ebuild index f8d2fd9b0ff5..069c762f0ac7 100644 --- a/app-i18n/ibus-anthy/ibus-anthy-1.5.10-r1.ebuild +++ b/app-i18n/ibus-anthy/ibus-anthy-1.5.10-r2.ebuild @@ -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" @@ -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 @@ -65,5 +67,6 @@ pkg_postinst() { } pkg_postrm() { + xdg_pkg_postrm gnome2_icon_cache_update } diff --git a/app-i18n/ibus-anthy/ibus-anthy-1.5.11.ebuild b/app-i18n/ibus-anthy/ibus-anthy-1.5.11-r1.ebuild similarity index 92% rename from app-i18n/ibus-anthy/ibus-anthy-1.5.11.ebuild rename to app-i18n/ibus-anthy/ibus-anthy-1.5.11-r1.ebuild index b818978cb1ad..f1381ad5b3aa 100644 --- a/app-i18n/ibus-anthy/ibus-anthy-1.5.11.ebuild +++ b/app-i18n/ibus-anthy/ibus-anthy-1.5.11-r1.ebuild @@ -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" @@ -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 @@ -64,5 +66,6 @@ pkg_postinst() { } pkg_postrm() { + xdg_pkg_postrm gnome2_icon_cache_update }