diff options
-rw-r--r-- | app-i18n/uim/Manifest | 4 | ||||
-rw-r--r-- | app-i18n/uim/files/digest-uim-0.1.6 | 1 | ||||
-rw-r--r-- | app-i18n/uim/uim-0.1.6.ebuild | 61 |
3 files changed, 64 insertions, 2 deletions
diff --git a/app-i18n/uim/Manifest b/app-i18n/uim/Manifest index 6175c2fc83a3..13629fac0400 100644 --- a/app-i18n/uim/Manifest +++ b/app-i18n/uim/Manifest @@ -1,6 +1,6 @@ MD5 e531a429d558997c65a4a096f6790b79 uim-0.1.5.ebuild 1351 -MD5 ddb5cdb79dccc4523724b9650ef7230c uim-0.1.6.ebuild 1342 -MD5 b0239f040c2a5ed8d313c6a9ef268820 ChangeLog 4364 +MD5 9a277e2afb55879328f159ac5b38a2db uim-0.1.6.ebuild 1342 +MD5 5b9eeb8bdcfe3edd6e9d0d746cfd11cf ChangeLog 4475 MD5 f5659d73ef347dcb529d867d6d5b4272 metadata.xml 642 MD5 306e247b1cf63fc4153d697929ba5841 uim-0.1.3.ebuild 1349 MD5 f68cedac48205819cf5df09d3177ff5a files/digest-uim-0.1.5 61 diff --git a/app-i18n/uim/files/digest-uim-0.1.6 b/app-i18n/uim/files/digest-uim-0.1.6 new file mode 100644 index 000000000000..59f894eb4efc --- /dev/null +++ b/app-i18n/uim/files/digest-uim-0.1.6 @@ -0,0 +1 @@ +MD5 f6a72ed278e8b3ef756a5daa0595b093 uim-0.1.6.tar.gz 568670 diff --git a/app-i18n/uim/uim-0.1.6.ebuild b/app-i18n/uim/uim-0.1.6.ebuild new file mode 100644 index 000000000000..12d1fef36983 --- /dev/null +++ b/app-i18n/uim/uim-0.1.6.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.1.6.ebuild,v 1.1 2003/11/23 07:10:15 usata Exp $ + +IUSE="gtk nls debug" + +DESCRIPTION="UIM is a simple, secure and flexible input method library" +HOMEPAGE="http://anthy.sourceforge.jp/" +SRC_URI="http://freedesktop.org/Software/uim/${P}.tar.gz" + +LICENSE="GPL-2 | BSD" +SLOT="0" +KEYWORDS="~x86 ~alpha" + +S="${WORKDIR}/${P}" + +DEPEND="${RDEPEND} + >=sys-apps/sed-4" +RDEPEND="gtk? ( >=x11-libs/gtk+-2 )" + +# for debugging use +use debug && RESTRICT="nostrip" + +GTK_IMMODULES=/etc/gtk-2.0/gtk.immodules + +src_compile() { + + if [ -n "`use gtk`" ] ; then + sed -i -e "s:@GTK2_TRUE@::g" -e "s:@GTK2_FALSE@:#:g" \ + Makefile.in `echo */Makefile.in` + else + sed -i -e "s:@GTK2_TRUE@:#:g" -e "s:@GTK2_FALSE@::g" \ + Makefile.in `echo */Makefile.in` + sed -i -e "/^SUBDIRS/s/gtk//" Makefile.in + fi + + use debug && export CFLAGS="${CFLAGS} -g" + econf `use_enable nls` || die + emake || die +} + +src_install () { + + einstall || die + + dodoc ABOUT-NLS AUTHORS ChangeLog INSTALL* NEWS README* +} + +pkg_postinst() { + + if [ -f ${GTK_IMMODULES} ] ; then + gtk-query-immodules-2.0 > ${GTK_IMMODULES} + fi +} + +pkg_postrm() { + + if [ -f ${GTK_IMMODULES} ] ; then + gtk-query-immodules-2.0 > ${GTK_IMMODULES} + fi +} |