diff options
author | Naohiro Aota <naota@gentoo.org> | 2012-03-13 14:24:55 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2012-03-13 14:24:55 +0000 |
commit | a574c5730e91538d5b4a114e943760f508972b4e (patch) | |
tree | b8f3c2c4e48fa1aba9e5826e72478e630e8d72c3 /app-i18n/ibus-pinyin | |
parent | amd64 stable wrt #406035 (diff) | |
download | gentoo-2-a574c5730e91538d5b4a114e943760f508972b4e.tar.gz gentoo-2-a574c5730e91538d5b4a114e943760f508972b4e.tar.bz2 gentoo-2-a574c5730e91538d5b4a114e943760f508972b4e.zip |
Version bump
(Portage version: 2.2.0_alpha90/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.4.0.ebuild | 62 |
2 files changed, 68 insertions, 1 deletions
diff --git a/app-i18n/ibus-pinyin/ChangeLog b/app-i18n/ibus-pinyin/ChangeLog index 7f7685dc7736..7e47c71c8937 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-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.39 2012/03/11 08:53:59 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.40 2012/03/13 14:24:55 naota Exp $ + +*ibus-pinyin-1.4.0 (13 Mar 2012) + + 13 Mar 2012; Naohiro Aota <naota@gentoo.org> +ibus-pinyin-1.4.0.ebuild: + Version bump 11 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> ibus-pinyin-1.3.99.20110706.ebuild: diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.4.0.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.4.0.ebuild new file mode 100644 index 000000000000..634796db1354 --- /dev/null +++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.4.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2012 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.4.0.ebuild,v 1.1 2012/03/13 14:24:55 naota Exp $ + +EAPI=4 + +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="boost lua nls opencc" + +RDEPEND=">=app-i18n/ibus-1.4 + sys-apps/util-linux + boost? ( >=dev-libs/boost-1.39 ) + lua? ( >=dev-lang/lua-5.1 ) + nls? ( virtual/libintl ) + opencc? ( app-i18n/opencc )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( >=sys-devel/gettext-0.16.1 )" + +DOCS="AUTHORS ChangeLog NEWS README" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + cp "${DISTDIR}"/${PYDB_TAR} data/db/open-phrase/ || die + >py-compile +} + +src_configure() { + econf \ + $(use_enable boost) \ + $(use_enable lua lua-extension) \ + $(use_enable nls) \ + $(use_enable opencc) \ + --enable-db-open-phrase + #--disable-db-android \ + #--disable-english-input-mode \ +} + +pkg_postinst() { + python_mod_optimize /usr/share/${PN} +} + +pkg_postrm() { + python_mod_cleanup /usr/share/${PN} +} |