From 7f0a668af402461290258541f312375f47a7f6e5 Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Mon, 18 May 2020 23:39:42 +0900 Subject: [PATCH] app-i18n/ibus-hangul: use xdg eclass Bug: https://bugs.gentoo.org/721984 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori --- ...hangul-1.5.1-r1.ebuild => ibus-hangul-1.5.1-r2.ebuild} | 8 +++++++- ...us-hangul-1.5.3.ebuild => ibus-hangul-1.5.3-r1.ebuild} | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) rename app-i18n/ibus-hangul/{ibus-hangul-1.5.1-r1.ebuild => ibus-hangul-1.5.1-r2.ebuild} (88%) rename app-i18n/ibus-hangul/{ibus-hangul-1.5.3.ebuild => ibus-hangul-1.5.3-r1.ebuild} (88%) diff --git a/app-i18n/ibus-hangul/ibus-hangul-1.5.1-r1.ebuild b/app-i18n/ibus-hangul/ibus-hangul-1.5.1-r2.ebuild similarity index 88% rename from app-i18n/ibus-hangul/ibus-hangul-1.5.1-r1.ebuild rename to app-i18n/ibus-hangul/ibus-hangul-1.5.1-r2.ebuild index ceed84bddaea..f64e6f605302 100644 --- a/app-i18n/ibus-hangul/ibus-hangul-1.5.1-r1.ebuild +++ b/app-i18n/ibus-hangul/ibus-hangul-1.5.1-r2.ebuild @@ -4,7 +4,7 @@ EAPI="7" PYTHON_COMPAT=( python3_6 ) -inherit gnome2-utils python-single-r1 +inherit gnome2-utils python-single-r1 xdg DESCRIPTION="Korean Hangul engine for IBus" HOMEPAGE="https://github.com/libhangul/ibus-hangul/wiki" @@ -34,10 +34,16 @@ src_configure() { --with-python=${EPYTHON} } +pkg_preinst() { + xdg_pkg_preinst +} + pkg_postinst() { + xdg_pkg_postinst gnome2_icon_cache_update } pkg_postrm() { + xdg_pkg_postrm gnome2_icon_cache_update } diff --git a/app-i18n/ibus-hangul/ibus-hangul-1.5.3.ebuild b/app-i18n/ibus-hangul/ibus-hangul-1.5.3-r1.ebuild similarity index 88% rename from app-i18n/ibus-hangul/ibus-hangul-1.5.3.ebuild rename to app-i18n/ibus-hangul/ibus-hangul-1.5.3-r1.ebuild index 393fcb686cec..e6bf4ebc07e2 100644 --- a/app-i18n/ibus-hangul/ibus-hangul-1.5.3.ebuild +++ b/app-i18n/ibus-hangul/ibus-hangul-1.5.3-r1.ebuild @@ -4,7 +4,7 @@ EAPI="7" PYTHON_COMPAT=( python3_{6,7} ) -inherit gnome2-utils python-single-r1 +inherit gnome2-utils python-single-r1 xdg DESCRIPTION="Korean Hangul engine for IBus" HOMEPAGE="https://github.com/libhangul/ibus-hangul/wiki" @@ -33,10 +33,16 @@ src_configure() { --with-python=${EPYTHON} } +pkg_preinst() { + xdg_pkg_preinst +} + pkg_postinst() { + xdg_pkg_postinst gnome2_icon_cache_update } pkg_postrm() { + xdg_pkg_postrm gnome2_icon_cache_update } -- 2.26.2