From: Akinori Hattori Date: Mon, 18 May 2020 14:39:42 +0000 (+0900) Subject: app-i18n/ibus-hangul: use xdg eclass X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7f0a668af402461290258541f312375f47a7f6e5;p=gentoo.git 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 --- 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 }