summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2010-01-13 16:33:48 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2010-01-13 16:33:48 +0000
commit5b74411edf44439dd99b891f0d9b7bf037e6dc0a (patch)
tree7ad8b8b69dbb2bff50a9f07e4a6afd8f77c782d7 /app-i18n/imhangul
parentMarking fakefs-0.2.1 ~ppc64 for bug 300739 (diff)
downloadgentoo-2-5b74411edf44439dd99b891f0d9b7bf037e6dc0a.tar.gz
gentoo-2-5b74411edf44439dd99b891f0d9b7bf037e6dc0a.tar.bz2
gentoo-2-5b74411edf44439dd99b891f0d9b7bf037e6dc0a.zip
Version bumped.
(Portage version: 2.1.7.16/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/imhangul')
-rw-r--r--app-i18n/imhangul/ChangeLog10
-rw-r--r--app-i18n/imhangul/imhangul-0.9.11-r1.ebuild52
-rw-r--r--app-i18n/imhangul/imhangul-0.9.15.ebuild56
3 files changed, 64 insertions, 54 deletions
diff --git a/app-i18n/imhangul/ChangeLog b/app-i18n/imhangul/ChangeLog
index f0b9a9a8f1a5..f265c202f47f 100644
--- a/app-i18n/imhangul/ChangeLog
+++ b/app-i18n/imhangul/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-i18n/imhangul
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/ChangeLog,v 1.28 2009/03/22 04:01:54 matsuu Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/ChangeLog,v 1.29 2010/01/13 16:33:48 matsuu Exp $
+
+*imhangul-0.9.15 (13 Jan 2010)
+
+ 13 Jan 2010; MATSUU Takuto <matsuu@gentoo.org> -imhangul-0.9.11-r1.ebuild,
+ +imhangul-0.9.15.ebuild:
+ Version bumped. Removed old version.
*imhangul-0.9.14 (22 Mar 2009)
diff --git a/app-i18n/imhangul/imhangul-0.9.11-r1.ebuild b/app-i18n/imhangul/imhangul-0.9.11-r1.ebuild
deleted file mode 100644
index 3a2351cea3d3..000000000000
--- a/app-i18n/imhangul/imhangul-0.9.11-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/imhangul-0.9.11-r1.ebuild,v 1.9 2009/12/31 21:22:36 ssuominen Exp $
-
-IUSE=""
-
-DESCRIPTION="Gtk+-2.0 Hangul Input Modules"
-HOMEPAGE="http://imhangul.kldp.net/"
-SRC_URI="http://download.kldp.net/imhangul/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 alpha ppc ~amd64"
-
-RDEPEND=">=x11-libs/gtk+-2.2.0"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-get_gtk_confdir() {
- if useq amd64 || ( [ "${CONF_LIBDIR}" == "lib32" ] && useq x86 ) ; then
- echo "/etc/gtk-2.0/${CHOST}"
- else
- echo "/etc/gtk-2.0"
- fi
-}
-
-src_compile() {
- sed -i -e "/^moduledir/d" -e "/# moduledir/s/# //" Makefile.* || die
- econf || die
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
-
- dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
-}
-
-pkg_postinst() {
- gtk-query-immodules-2.0 > "${ROOT}$(get_gtk_confdir)/gtk.immodules"
-
- elog ""
- elog "If you want to use one of the module as a default input method, "
- elog ""
- elog "export GTK_IM_MODULE=hangul2 // 2 input type"
- elog "export GTK_IM_MODULE=hangul3f // 3 input type"
- elog ""
-}
-
-pkg_postrm() {
- gtk-query-immodules-2.0 > "${ROOT}$(get_gtk_confdir)/gtk.immodules"
-}
diff --git a/app-i18n/imhangul/imhangul-0.9.15.ebuild b/app-i18n/imhangul/imhangul-0.9.15.ebuild
new file mode 100644
index 000000000000..3c0c846b4bc7
--- /dev/null
+++ b/app-i18n/imhangul/imhangul-0.9.15.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/imhangul-0.9.15.ebuild,v 1.1 2010/01/13 16:33:48 matsuu Exp $
+
+inherit multilib
+
+DESCRIPTION="Gtk+-2.0 Hangul Input Modules"
+HOMEPAGE="http://kldp.net/projects/imhangul/"
+SRC_URI="http://kldp.net/frs/download.php/5418/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=app-i18n/libhangul-0.0.10
+ >=x11-libs/gtk+-2.2.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+get_gtk_confdir() {
+ if has_multilib_profile ; then
+ GTK2_CONFDIR="${GTK2_CONFDIR:=/etc/gtk-2.0/${CHOST}}"
+ else
+ GTK2_CONFDIR="${GTK2_CONFDIR:=/etc/gtk-2.0}"
+ fi
+ echo ${GTK2_CONFDIR}
+}
+
+src_compile() {
+ econf \
+ --with-gtk-im-module-dir=/usr/$(get_libdir)/gtk-2.0/immodules \
+ --with-gtk-im-module-file=$(get_gtk_confdir) || die
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
+
+pkg_postinst() {
+ gtk-query-immodules-2.0 > "${ROOT}$(get_gtk_confdir)/gtk.immodules"
+
+ elog ""
+ elog "If you want to use one of the module as a default input method, "
+ elog ""
+ elog "export GTK_IM_MODULE=hangul2 # 2 input type"
+ elog "export GTK_IM_MODULE=hangul3f # 3 input type"
+ elog ""
+}
+
+pkg_postrm() {
+ gtk-query-immodules-2.0 > "${ROOT}$(get_gtk_confdir)/gtk.immodules"
+}