diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2010-05-29 08:08:19 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2010-05-29 08:08:19 +0000 |
commit | 20a70ba464f8377de7305b5dc6c73219f0cff907 (patch) | |
tree | 36977db909c46b35eb69525ffe698625f81bdd40 /app-i18n/ibus-pinyin | |
parent | Disable the --add-needed sed I was using for testing. (diff) | |
download | historical-20a70ba464f8377de7305b5dc6c73219f0cff907.tar.gz historical-20a70ba464f8377de7305b5dc6c73219f0cff907.tar.bz2 historical-20a70ba464f8377de7305b5dc6c73219f0cff907.zip |
Version bumped.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/ibus-pinyin')
-rw-r--r-- | app-i18n/ibus-pinyin/ChangeLog | 7 | ||||
-rw-r--r-- | app-i18n/ibus-pinyin/ibus-pinyin-1.3.7.ebuild | 55 |
2 files changed, 61 insertions, 1 deletions
diff --git a/app-i18n/ibus-pinyin/ChangeLog b/app-i18n/ibus-pinyin/ChangeLog index 88b47e87f7d6..00a18709a0bf 100644 --- a/app-i18n/ibus-pinyin/ChangeLog +++ b/app-i18n/ibus-pinyin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-i18n/ibus-pinyin # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.23 2010/05/26 10:36:49 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.24 2010/05/29 08:08:19 matsuu Exp $ + +*ibus-pinyin-1.3.7 (29 May 2010) + + 29 May 2010; MATSUU Takuto <matsuu@gentoo.org> +ibus-pinyin-1.3.7.ebuild: + Version bumped. 26 May 2010; Pacho Ramos <pacho@gentoo.org> ibus-pinyin-1.2.0.20090915.ebuild: diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.3.7.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.3.7.ebuild new file mode 100644 index 000000000000..1988d25246ec --- /dev/null +++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.3.7.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 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.3.7.ebuild,v 1.1 2010/05/29 08:08:19 matsuu Exp $ + +EAPI="2" +PYTHON_DEPEND="2:2.5" +PYTHON_USE_WITH="sqlite" +inherit python + +PYDB_TAR="pinyin-database-1.2.99.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.3 + >=dev-libs/boost-1.39 + sys-apps/util-linux + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( >=sys-devel/gettext-0.16.1 )" + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + cp "${DISTDIR}/${PYDB_TAR}" "${S}"/data/db/open-phrase/ || die + mv py-compile py-compile.orig || die + ln -s "$(type -P true)" py-compile || die +} + +src_configure() { + econf $(use_enable nls) --enable-db-open-phrase || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README || die +} + +pkg_postinst() { + python_mod_optimize /usr/share/${PN} +} + +pkg_postrm() { + python_mod_cleanup /usr/share/${PN} +} |