summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2011-06-06 16:25:13 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2011-06-06 16:25:13 +0000
commit209ea050860f4043298ced3995ca5ec6e7f01dd5 (patch)
tree9bea831181dd6c77ea96d259a1d4b2b784bdb763 /app-i18n/ibus-pinyin
parentFix the freetype patch wrt upstream changes (diff)
downloadhistorical-209ea050860f4043298ced3995ca5ec6e7f01dd5.tar.gz
historical-209ea050860f4043298ced3995ca5ec6e7f01dd5.tar.bz2
historical-209ea050860f4043298ced3995ca5ec6e7f01dd5.zip
Version bumped. Added lua and opencc USE flags.
Package-Manager: portage-2.1.9.49/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/ibus-pinyin')
-rw-r--r--app-i18n/ibus-pinyin/ChangeLog8
-rw-r--r--app-i18n/ibus-pinyin/Manifest22
-rw-r--r--app-i18n/ibus-pinyin/ibus-pinyin-1.3.99.20110520.ebuild68
-rw-r--r--app-i18n/ibus-pinyin/metadata.xml3
4 files changed, 94 insertions, 7 deletions
diff --git a/app-i18n/ibus-pinyin/ChangeLog b/app-i18n/ibus-pinyin/ChangeLog
index c51498ce9dac..139f22405a40 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-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.35 2011/05/07 15:13:34 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.36 2011/06/06 16:25:13 matsuu Exp $
+
+*ibus-pinyin-1.3.99.20110520 (06 Jun 2011)
+
+ 06 Jun 2011; MATSUU Takuto <matsuu@gentoo.org>
+ +ibus-pinyin-1.3.99.20110520.ebuild, metadata.xml:
+ Version bumped. Added lua and opencc USE flags.
07 May 2011; Naohiro Aota <naota@gentoo.org> ChangeLog:
Sign the package.
diff --git a/app-i18n/ibus-pinyin/Manifest b/app-i18n/ibus-pinyin/Manifest
index c6aa3a16396b..cdc0fdb3e046 100644
--- a/app-i18n/ibus-pinyin/Manifest
+++ b/app-i18n/ibus-pinyin/Manifest
@@ -6,18 +6,30 @@ DIST ibus-pinyin-1.2.0.20090915.tar.gz 279759 RMD160 14921d01679012dbc33a668f788
DIST ibus-pinyin-1.3.10.tar.gz 1659697 RMD160 454dd4d4d47604d51c330df66446515cf08ef7da SHA1 4a2144ddd2d217119cb83e5911767fbaf213d310 SHA256 d135fb776166324fcc13b4c973a0fc23e040eb06eb34a47f08c7a7d22aa82469
DIST ibus-pinyin-1.3.11.tar.gz 1659622 RMD160 89f0945b55ffc8ec31972e4098fa5416e6224e33 SHA1 2999f28c208ec119c40c5b5eafcfbb8a78bba706 SHA256 3b778777eef1c47150675ed74a572776f0aa27f5a19b681200b71741f08b722a
DIST ibus-pinyin-1.3.99.20110217.tar.gz 1668525 RMD160 e382517b07622b6ab091122b827e0b17442f2742 SHA1 a3ba8ede2ff02d94b2d8b78c23d906774770edf7 SHA256 788b5fb792006888df3f0d6a377e0a93aebbef4055b38c2053edd5690f1956c7
+DIST ibus-pinyin-1.3.99.20110520.tar.gz 1794507 RMD160 8709f379dcdff45560d39713ba0d02e196d4d939 SHA1 35464def4ed08267fb0def5523e9603557862f3c SHA256 532e69aafdeb6591620b443dffd4ab0880f623972486ca8adb55d80faacc4524
DIST pinyin-database-0.1.10.6.tar.bz2 12008671 RMD160 2120f59575763848a0e77a829477ffb536fcfabc SHA1 84f505d46282cba1dabc058fe0c1e443d0a20e96 SHA256 f96c0adfd890b1ec5be534a147481900b96ba827910e140f1c76c679632f15fe
DIST pinyin-database-1.2.99.tar.bz2 9977983 RMD160 1679567f31c20a235577f02175df38e16a05e7de SHA1 e38a148a772e9909facda66b2d579e17b94cccbe SHA256 32c7d07b9f41e1dfc0f9008f54eca8e6cb367e7f2b19ac94c49754442694c321
EBUILD ibus-pinyin-1.2.0.20090915.ebuild 1182 RMD160 1d836acc3d06d8fd739f894bf47ad07a72a698e4 SHA1 e0694443d0c88f27e21e3f6d67404e8a5b38f410 SHA256 a830441e47051440ad639be2e76cc5dd6169b829e11d984cd2ada999ddb11360
EBUILD ibus-pinyin-1.3.10.ebuild 1295 RMD160 875ad111e00bf38c6d1516ded8eb5d0d8c8d2ac0 SHA1 98d5f5877de59ac135c9a7d759f8076251654166 SHA256 c55490fd0581b42d9b0bda33325ec039a3470edb4d94db6417d3b981fb6b26a3
EBUILD ibus-pinyin-1.3.11.ebuild 1293 RMD160 03926e9ac1b00ee7604ebd824e86abe4c9714c67 SHA1 500c329c11a98557d490584880adca6294468f61 SHA256 c111c24d0e8058d18d4b0248fbeee6f8dd9ed231f701941cf1e55672ec467e46
EBUILD ibus-pinyin-1.3.99.20110217.ebuild 1439 RMD160 6a1966d5bed787a1c8667b21966872d7b18933c7 SHA1 eb697a635f06245860ea98893d13b6884d7ba87d SHA256 e816071fbac303c9c9d7f35a7dfc6aac2e330149daf00662cf5bd7e7080de8ac
-MISC ChangeLog 6356 RMD160 2354dfa6619f7f83e805889bc016487a8b1f622e SHA1 ddf7ba52192ad62cf07fb8a08462a7b32e4b856d SHA256 fbae1004ff080c49c56335cff093cc7fff257bc440025ab2a8a7a10a8d4ac217
-MISC metadata.xml 362 RMD160 e5bbb6d9750207ed9128a3588376c7cbbd87a854 SHA1 961a823b1e2362ec8545e38d4ea3382370fcb306 SHA256 1a07551b2df24792ceae5779f584531cbd68d92094af04819d002510792c92a3
+EBUILD ibus-pinyin-1.3.99.20110520.ebuild 1580 RMD160 853a96d8e84414ad7ac2c47042f15a674a77ba06 SHA1 6de9b15e726cc0bdc5b667f00e277803855cb678 SHA256 6467468d5de8b8396b409be194e2dbfeeaa8a03c3b5f7cec66fa172fa21a554d
+MISC ChangeLog 6554 RMD160 816b46e216629ae1462694af5735959e9bf63797 SHA1 548337dc4766b9057a6c2b1e0f779bddddd74eb2 SHA256 09ffc188abcd6e853fa038f66e1520db2a5858c586ed51f7cdbd14f406cf956d
+MISC metadata.xml 448 RMD160 b7b33d10a1ff86e5d1ee529eaab0eb417ad3fcd3 SHA1 1e643f4c2194556cd4538e988a4274781cf9911a SHA256 7662e04a0fe63e021aace8cac0bdadbeb48752a495474f4c355572ba07b6b7d2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk3FYakACgkQGpDnPLSHuMDrngCcCuumyS26zxanHzPR5lUicCKX
-Eh8AoKKtmdVH+QMKCUswuZmnLRCNGk9M
-=P+cJ
+iQIcBAEBAgAGBQJN7P9xAAoJECaGw+YFKA1poNUQAIhTnDbww0x3ezl3DdQyQVEj
+Aq3Er15RDJpj0VaDefyLt57b5jArQ/FwZ4xsK2G0gRtdbyFkNf+roTHWAL4EfWG5
+nwO0p2Mf5iZkBqFQgJFgLR5Jo7KNVsaQm3cb1ujMKzyQhkftooXH8ny/piv1Uane
+UkRi3Adjx38Ne1/CbxKlP1fr6+QjPhqPt1EBGYN/fiXqif0/JYFQM0HVbebX40QA
+lcV5RiOnc5WAP495xImiTXZE49F8haeG7C999t4pRewITNL4rTZqsnGhdc4id6db
+eO53RUY69JVnS9fJ5aWfkcPlC/U/b8fkL5MFuL1MMaELVIPCDmDW2FH7TRg6aL/F
+zZ8X8DOn/hIQk4I8lXaeXwZzAgkNG6MMxOl2EGUaa0vX7pQ4UogZVpnk9Tl0pJyj
+a+5dZWgMDog9SUp05hkbwAVRYk0V4+BtA4xg6zy4iPWNXqiSx6R8iLcRRY1RrHk5
+NjyVhp4+2JbaGmjvf5zLRdBBT1QnESW0vrmqn/qckNMMmUuY5REPkBuUEi49wxWR
+472UFpyagykr+7FvuwXw0P7tP/sS7DqjkkB8BknUfnmmMTIbrI5Cl7Hj5FTdoyeQ
+pf1dh4dKbZVawYPQ6pYJdZ80g5hsTGxjlHyYfU+Yje76/vDDm3kCAaH6z8OlmmYl
+ODFWa+mlOcloQQjBdA2V
+=zd+t
-----END PGP SIGNATURE-----
diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.3.99.20110520.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.3.99.20110520.ebuild
new file mode 100644
index 000000000000..5323d1d07a0b
--- /dev/null
+++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.3.99.20110520.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2011 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.99.20110520.ebuild,v 1.1 2011/06/06 16:25:13 matsuu Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
+PYTHON_USE_WITH="sqlite"
+inherit python eutils
+
+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.3.99
+ sys-apps/util-linux
+ boost? (
+ >=dev-libs/boost-1.39
+ !=dev-libs/boost-1.46.1
+ )
+ 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 )"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+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 boost) \
+ $(use_enable lua lua-extension) \
+ $(use_enable nls) \
+ $(use_enable opencc) \
+ --enable-db-open-phrase
+ #--disable-db-android \
+ #--disable-english-input-mode \
+}
+
+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}
+}
diff --git a/app-i18n/ibus-pinyin/metadata.xml b/app-i18n/ibus-pinyin/metadata.xml
index c206b3b67015..191b6cd3586d 100644
--- a/app-i18n/ibus-pinyin/metadata.xml
+++ b/app-i18n/ibus-pinyin/metadata.xml
@@ -6,7 +6,8 @@
PinYin engine for IBus platform. It provides a Chinese PinYin input method.
</longdescription>
<use>
- <flag name="boost">Compile against dev-libs/boost libraries</flag>
+ <flag name="boost">Compile against <pkg>dev-libs/boost</pkg> libraries</flag>
+ <flag name="opencc">Enable support for <pkg>app-i18n/opencc</pkg></flag>
</use>
</pkgmetadata>