diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2009-02-12 15:11:39 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2009-02-12 15:11:39 +0000 |
commit | 30f7c03ae2c943b2e33302706e94347c3f182f02 (patch) | |
tree | 5624173fa4922c47bbd3793634a69be6d2a8d86c /app-i18n | |
parent | Enable more use flag options by default (diff) | |
download | gentoo-2-30f7c03ae2c943b2e33302706e94347c3f182f02.tar.gz gentoo-2-30f7c03ae2c943b2e33302706e94347c3f182f02.tar.bz2 gentoo-2-30f7c03ae2c943b2e33302706e94347c3f182f02.zip |
Version bumped.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/ibus-pinyin/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/ibus-pinyin/ibus-pinyin-1.1.0.20090211.ebuild | 64 |
2 files changed, 71 insertions, 1 deletions
diff --git a/app-i18n/ibus-pinyin/ChangeLog b/app-i18n/ibus-pinyin/ChangeLog index 190cefebe411..440cf2fbee95 100644 --- a/app-i18n/ibus-pinyin/ChangeLog +++ b/app-i18n/ibus-pinyin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-i18n/ibus-pinyin # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.4 2009/02/05 16:18:58 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.5 2009/02/12 15:11:39 matsuu Exp $ + +*ibus-pinyin-1.1.0.20090211 (12 Feb 2009) + + 12 Feb 2009; MATSUU Takuto <matsuu@gentoo.org> + +ibus-pinyin-1.1.0.20090211.ebuild: + Version bumped. *ibus-pinyin-1.1.0.20090205 (05 Feb 2009) diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.1.0.20090211.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.1.0.20090211.ebuild new file mode 100644 index 000000000000..694cfcf35075 --- /dev/null +++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.1.0.20090211.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.1.0.20090211.ebuild,v 1.1 2009/02/12 15:11:39 matsuu Exp $ + +inherit eutils python + +PYDB_TAR="pinyin-database-0.1.10.6.tar.bz2" +DESCRIPTION="Chinese PinYin IMEngine for IBus Framework" +HOMEPAGE="http://code.google.com/p/ibus/" +SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz + http://ibus.googlecode.com/files/${PYDB_TAR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND=">=app-i18n/ibus-1.1.0 + >=dev-lang/python-2.5 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( >=sys-devel/gettext-0.16.1 )" + +pkg_setup() { + if ! built_with_use '>=dev-lang/python-2.5' sqlite; then + eerror "To use ibus-pinyin you have to build dev-lang/python with \"sqlite\" USE flag!" + die "To use ibus-pinyin you have to build dev-lang/python + with \"sqlite\" USE flag!" + fi +} + +src_unpack() { + unpack ${P}.tar.gz + cd "${S}" + mv py-compile py-compile.orig || die + ln -s "$(type -P true)" py-compile || die + cp "${DISTDIR}/${PYDB_TAR}" "${S}"/engine +} + +src_compile() { + econf $(use_enable nls) || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README +} + +pkg_postinst() { + ewarn "This package is very experimental, please report your bugs to" + ewarn "http://ibus.googlecode.com/issues/list" + elog + elog "You should run ibus-setup and enable IM Engines you want to use!" + elog + + python_mod_optimize /usr/share/${PN} +} + +pkg_postrm() { + python_mod_cleanup /usr/share/${PN} +} |