summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2010-12-02 07:03:49 +0000
committerMu Qiao <qiaomuf@gentoo.org>2010-12-02 07:03:49 +0000
commit6b2fb2fbe84a7251d92398b74f543da6c4b4c602 (patch)
treec79f75c487058c1639e094d57ecd2e93a7a239cf /app-i18n
parentBug #347227: add in mod_reqtimeout (for use on Gentoo Infra). Also add mod_pr... (diff)
downloadgentoo-2-6b2fb2fbe84a7251d92398b74f543da6c4b4c602.tar.gz
gentoo-2-6b2fb2fbe84a7251d92398b74f543da6c4b4c602.tar.bz2
gentoo-2-6b2fb2fbe84a7251d92398b74f543da6c4b4c602.zip
Version bumped.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/sunpinyin/ChangeLog7
-rw-r--r--app-i18n/sunpinyin/sunpinyin-2.0.2.ebuild46
2 files changed, 52 insertions, 1 deletions
diff --git a/app-i18n/sunpinyin/ChangeLog b/app-i18n/sunpinyin/ChangeLog
index bd20aab18366..e774cf213b2c 100644
--- a/app-i18n/sunpinyin/ChangeLog
+++ b/app-i18n/sunpinyin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-i18n/sunpinyin
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/ChangeLog,v 1.2 2010/05/04 16:06:33 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/ChangeLog,v 1.3 2010/12/02 07:03:49 qiaomuf Exp $
+
+*sunpinyin-2.0.2 (02 Dec 2010)
+
+ 02 Dec 2010; <gentoo@gentoo.org> +sunpinyin-2.0.2.ebuild:
+ Version bumped.
04 May 2010; MATSUU Takuto <matsuu@gentoo.org> sunpinyin-2.0.1.ebuild:
Fixed checking wrong use flag, bug #318373.
diff --git a/app-i18n/sunpinyin/sunpinyin-2.0.2.ebuild b/app-i18n/sunpinyin/sunpinyin-2.0.2.ebuild
new file mode 100644
index 000000000000..36292098b99a
--- /dev/null
+++ b/app-i18n/sunpinyin/sunpinyin-2.0.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/sunpinyin-2.0.2.ebuild,v 1.1 2010/12/02 07:03:49 qiaomuf Exp $
+
+EAPI="1"
+PYTHON_DEPEND="ibus? 2:2.5"
+inherit python scons-utils
+
+DESCRIPTION="SunPinyin is a SLM (Statistical Language Model) based IME"
+HOMEPAGE="http://sunpinyin.googlecode.com"
+SRC_URI="${HOMEPAGE}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1 CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ibus +xim"
+
+RDEPEND="dev-db/sqlite:3
+ ibus? (
+ >=app-i18n/ibus-1.1
+ !app-i18n/ibus-sunpinyin
+ sys-devel/gettext
+ )
+ xim? (
+ >=x11-libs/gtk+-2.10:2
+ x11-libs/libX11
+ )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ xim? ( x11-proto/xproto )"
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ escons --prefix="/usr"
+}
+
+src_install() {
+ escons --prefix="/usr" --install-sandbox="${D}" install
+ if use ibus; then
+ cd "${S}/wrapper/ibus"
+ escons --prefix="/usr" --install-sandbox="${D}" install
+ elif use xim; then
+ cd "${S}/wrapper/xim"
+ escons --prefix="/usr" --install-sandbox="${D}" install
+ fi
+}