From b300169356f4c43051c7f016680bc9f548470456 Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Thu, 14 May 2020 23:23:34 +0900 Subject: [PATCH] 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 --- ...us-anthy-1.5.10-r1.ebuild => ibus-anthy-1.5.10-r2.ebuild} | 5 ++++- ...{ibus-anthy-1.5.11.ebuild => ibus-anthy-1.5.11-r1.ebuild} | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) rename app-i18n/ibus-anthy/{ibus-anthy-1.5.10-r1.ebuild => ibus-anthy-1.5.10-r2.ebuild} (93%) rename app-i18n/ibus-anthy/{ibus-anthy-1.5.11.ebuild => ibus-anthy-1.5.11-r1.ebuild} (92%) 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 } -- 2.26.2