summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/imhangul/imhangul-3.0.0.ebuild')
-rw-r--r--app-i18n/imhangul/imhangul-3.0.0.ebuild17
1 files changed, 5 insertions, 12 deletions
diff --git a/app-i18n/imhangul/imhangul-3.0.0.ebuild b/app-i18n/imhangul/imhangul-3.0.0.ebuild
index 55bb81b2898e..a4a77b11a2d8 100644
--- a/app-i18n/imhangul/imhangul-3.0.0.ebuild
+++ b/app-i18n/imhangul/imhangul-3.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/imhangul-3.0.0.ebuild,v 1.4 2012/05/03 19:24:27 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/imhangul-3.0.0.ebuild,v 1.5 2013/04/21 10:32:24 lxnay Exp $
EAPI="3"
-inherit multilib
+inherit gnome2-utils multilib
DESCRIPTION="Gtk+-3.0 Hangul Input Modules"
HOMEPAGE="http://kldp.net/projects/imhangul/"
@@ -21,12 +21,6 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
sys-devel/gettext"
-update_gtk_immodules() {
- if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-3.0" ] ; then
- "${EPREFIX}/usr/bin/gtk-query-immodules-3.0" --update-cache
- fi
-}
-
src_prepare() {
# Drop DEPRECATED flags, bug #387825
sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' Makefile.am Makefile.in || die
@@ -56,8 +50,7 @@ src_install() {
}
pkg_postinst() {
- update_gtk_immodules
-
+ gnome2_query_immodules_gtk3
elog ""
elog "If you want to use one of the module as a default input method, "
elog ""
@@ -67,5 +60,5 @@ pkg_postinst() {
}
pkg_postrm() {
- update_gtk_immodules
+ gnome2_query_immodules_gtk3
}