Skip to content
Browse files

FL-346: Adding ibus-pinyin-1.5.0

  • Loading branch information...
1 parent 5a2d35c commit 20a83d392742d57989adf45f79b312a364f90190 @janzhou janzhou committed Jan 20, 2013
View
4 app-i18n/ibus-pinyin/Manifest
@@ -0,0 +1,4 @@
+DIST ibus-pinyin-1.3.99.20110706.tar.gz 1795648 SHA256 5b46156fa40e33034f7e754806f0014ec8510dc5a67e1f3a5679fd727c0d54a1 SHA512 7c47bf15ef2189c0b813ef397621df07a1304f0aac2f4e5ddbe96982efb0faee6185f73d38d8641bb596b42eb65de1ba676b2e2190eb231b98145d1ea4b089d9 WHIRLPOOL 9388696594232a1a2c1305b4c2fbd68e6ba1bb0766a79cfd5907a5d8d1f8055233a6807949126680f596dcd5769f552ec5d3b3fd88d604687cf1fe493596a2c7
+DIST ibus-pinyin-1.4.0.tar.gz 1813003 SHA256 4fcaef6ac0533945c7feb4cb36fc72c102aae63b3fb4cbf338cdcc816182c24a SHA512 3aecac95d5ccdc494b885901780ceb72353350ed6d317e8ac9f34251e7a9354c63ebc5666af46f2fc47b4c7adf69950cb0ddee0cbd32a3e2194910b4974591e4 WHIRLPOOL 6591943f83cec6442196a4007e231711ba2a3121757f7a50381e2278ea8b3b0cda39fac10c0d761addb7235fa6eba0c7bdb8769dea4bb64498e03517482468f1
+DIST ibus-pinyin-1.5.0.tar.gz 692516 SHA256 a85d458dcc51ea9fd65849e63002428b3fcb3b39adcbea9214b5cb4a4cbdbc96 SHA512 b0cd849ee3154543747dde8994eec9aed01d67e0d9be308a2f0230cf22f0281cd8fcabd9763b24238547a37e54400bcd8e541937767b93f005d04302f0c00241 WHIRLPOOL 80fd0ec7306d857870a0ceecce67166dd4d03529d5bdc404347dea6568c9b7271dbeb6feeebd8587bb5ab6856cec7f269fe5be9dbad5eb1b4297054eb9cb5ab2
+DIST pinyin-database-1.2.99.tar.bz2 9977983 SHA256 32c7d07b9f41e1dfc0f9008f54eca8e6cb367e7f2b19ac94c49754442694c321 SHA512 5a7248870407f7f92c418ada49a275062325f2eb33a7eb4b91492e4b706ae70ba931b04377a758ce429fa64cd22e8bee2ac4279d4f205bbce406248eda1decf7 WHIRLPOOL 07043adf9d83eb40b1a53409a31b3711f041e2b4dd5cf3f8c2034c129c31270fd37f2e53ecf2da5503562cf103ccb0a4487fa606928ac38a8775e90ff376ce3a
View
62 app-i18n/ibus-pinyin/ibus-pinyin-1.3.99.20110706.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.3.99.20110706.ebuild,v 1.4 2012/05/03 19:24:26 jdhore 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}
+ virtual/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}
+}
View
62 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.2 2012/05/03 19:24:26 jdhore 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}
+ virtual/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}
+}
View
63 app-i18n/ibus-pinyin/ibus-pinyin-1.5.0.ebuild
@@ -0,0 +1,63 @@
+# 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.2 2012/05/03 19:24:26 jdhore 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}
+ virtual/pkgconfig
+ nls? ( >=sys-devel/gettext-0.16.1 )
+ >=dev-libs/pyzy-0.1.0"
+
+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}
+}
View
13 app-i18n/ibus-pinyin/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<longdescription lang="en">
+PinYin engine for IBus platform. It provides a Chinese PinYin input method.
+</longdescription>
+<use>
+ <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>
+

0 comments on commit 20a83d3

Please sign in to comment.
Something went wrong with that request. Please try again.