summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-08-17 00:26:56 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-08-17 00:38:54 +0900
commitd511cdcacb22f71ea107bfec9f62bef5c4de91c3 (patch)
tree14081b2a7860db375626fe1ee017c6dec499a29a /app-i18n/ibus-chewing
parentapp-i18n/ibus-chewing: fix build when app-arch/rpm is installed (diff)
downloadgentoo-d511cdcacb22f71ea107bfec9f62bef5c4de91c3.tar.gz
gentoo-d511cdcacb22f71ea107bfec9f62bef5c4de91c3.tar.bz2
gentoo-d511cdcacb22f71ea107bfec9f62bef5c4de91c3.zip
app-i18n/ibus-chewing: inherit gnome2-utils
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/ibus-chewing')
-rw-r--r--app-i18n/ibus-chewing/ibus-chewing-1.5.1-r1.ebuild (renamed from app-i18n/ibus-chewing/ibus-chewing-1.5.1.ebuild)16
1 files changed, 15 insertions, 1 deletions
diff --git a/app-i18n/ibus-chewing/ibus-chewing-1.5.1.ebuild b/app-i18n/ibus-chewing/ibus-chewing-1.5.1-r1.ebuild
index 229d9906d0eb..6ba022cbe6f3 100644
--- a/app-i18n/ibus-chewing/ibus-chewing-1.5.1.ebuild
+++ b/app-i18n/ibus-chewing/ibus-chewing-1.5.1-r1.ebuild
@@ -4,7 +4,7 @@
EAPI="6"
CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake-utils
+inherit cmake-utils gnome2-utils
MY_P="${P}-Source"
@@ -40,3 +40,17 @@ src_configure() {
use nls || mycmakeargs+=( -DMANAGE_GETTEXT_SUPPORT=0 )
cmake-utils_src_configure
}
+
+pkg_preinst() {
+ gnome2_gconf_savelist
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_gconf_install
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}