summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2016-05-27 17:43:50 +0800
committerYixun Lan <dlan@gentoo.org>2016-05-27 18:20:30 +0800
commit39d153f1f602ea45698792f646163f155c257f90 (patch)
treebcb7275104cb1d4a918cbe1fae2b1752f4e43a1d /app-i18n
parentapp-i18n/libpinyin: fix sys-libs/db slot issue (diff)
downloadgentoo-39d153f1f602ea45698792f646163f155c257f90.tar.gz
gentoo-39d153f1f602ea45698792f646163f155c257f90.tar.bz2
gentoo-39d153f1f602ea45698792f646163f155c257f90.zip
app-i18n/ibus-libpinyin: version bump 1.7.4
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/ibus-libpinyin/Manifest1
-rw-r--r--app-i18n/ibus-libpinyin/ibus-libpinyin-1.6.92.ebuild4
-rw-r--r--app-i18n/ibus-libpinyin/ibus-libpinyin-1.7.4.ebuild45
3 files changed, 48 insertions, 2 deletions
diff --git a/app-i18n/ibus-libpinyin/Manifest b/app-i18n/ibus-libpinyin/Manifest
index 1d94abe71af9..ea2856c2e1bd 100644
--- a/app-i18n/ibus-libpinyin/Manifest
+++ b/app-i18n/ibus-libpinyin/Manifest
@@ -1 +1,2 @@
DIST ibus-libpinyin-1.6.92.tar.gz 1686249 SHA256 e611cff47b84345e1f60b8e94f74811bcfdf53b6ef7436b5cb5aff47eea743a3 SHA512 b4af0083c9c1dd4273c75372acf5d74ce317effdf56d8a0de8a3e3cd24f40b1b2dba91786d0a1cd72c9d7867b9ae630c4f69b04b378529dca8be0869e91d322d WHIRLPOOL 5dd8493bbbaa0f3d189a825bd4237a56276e88b8da91e75c1e3d49c1c1b2050ee2f9aaa4524ea00418690d8ff2085d6b6f686e60752e838f2515ca9d780347ef
+DIST ibus-libpinyin-1.7.4.tar.gz 1692228 SHA256 4627eab10ded24bd1a95ee56a2f7bd6a82deb94435aea674267fc40febd66f81 SHA512 d94f495e74650830f759889112df8b749d6e28192ed866f6bd132b16e16cda59d97aabc2762596bbe337a3deeb30ccd680ad370c28c1932ab05c6a40d8e1c265 WHIRLPOOL 1227c7f96565c001a90bced8aa4f847cfbe9bfae6810641e76472c437a29cdb539d2b316add9850270fa4eb2436761375f9d436749c8f06a573206ddba02064c
diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.6.92.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.6.92.ebuild
index 839664afde23..350dceb637a8 100644
--- a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.6.92.ebuild
+++ b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.6.92.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -21,7 +21,7 @@ IUSE="boost opencc lua"
DEPEND="sys-apps/sed"
RDEPEND=">=app-i18n/ibus-1.4[python,${PYTHON_USEDEP}]
dev-python/pygtk[${PYTHON_USEDEP}]
- >=app-i18n/libpinyin-1.0.0
+ =app-i18n/libpinyin-1.0.0
app-i18n/pyzy
boost? ( >=dev-libs/boost-1.39 )
lua? ( >=dev-lang/lua-5.1 )"
diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.7.4.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.7.4.ebuild
new file mode 100644
index 000000000000..d307a37a3eda
--- /dev/null
+++ b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.7.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils python-single-r1
+
+DESCRIPTION="ibus-libpinyin - pinyin chinese input for ibus using libpinyin"
+HOMEPAGE="https://github.com/libpinyin/ibus-libpinyin"
+
+SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost opencc lua"
+
+DEPEND="sys-apps/sed"
+RDEPEND=">=app-i18n/ibus-1.5.4[python,${PYTHON_USEDEP}]
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ >=app-i18n/libpinyin-1.2.91
+ app-i18n/pyzy
+ boost? ( >=dev-libs/boost-1.39 )
+ opencc? ( >=app-i18n/opencc-1.0.0 )
+ lua? ( >=dev-lang/lua-5.1 )"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_prepare() {
+ sed -i -e "s/python/${EPYTHON}/" setup/ibus-setup-libpinyin.in || die
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable boost )
+ $(use_enable opencc )
+ $(use_enable lua lua-extension )
+ --enable-english-input-mode
+ )
+ autotools-utils_src_configure
+}