summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-02-20 05:02:38 +0000
committerMu Qiao <qiaomuf@gentoo.org>2011-02-20 05:02:38 +0000
commitb43a478c49df664902b34fc9185b42c418ee1dd7 (patch)
tree82f7f178ef45e6563dbaba16e426ee06fb18d9f9 /app-i18n
parent. (diff)
downloadgentoo-2-b43a478c49df664902b34fc9185b42c418ee1dd7.tar.gz
gentoo-2-b43a478c49df664902b34fc9185b42c418ee1dd7.tar.bz2
gentoo-2-b43a478c49df664902b34fc9185b42c418ee1dd7.zip
Version bump for sunpinyin wrt bug #355575
(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.3.ebuild48
2 files changed, 54 insertions, 1 deletions
diff --git a/app-i18n/sunpinyin/ChangeLog b/app-i18n/sunpinyin/ChangeLog
index f87ec97c0c39..e49494ca248f 100644
--- a/app-i18n/sunpinyin/ChangeLog
+++ b/app-i18n/sunpinyin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-i18n/sunpinyin
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/ChangeLog,v 1.4 2011/01/08 06:13:50 qiaomuf Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/ChangeLog,v 1.5 2011/02/20 05:02:38 qiaomuf Exp $
+
+*sunpinyin-2.0.3 (20 Feb 2011)
+
+ 20 Feb 2011; Mu Qiao <qiaomuf@gentoo.org> +sunpinyin-2.0.3.ebuild:
+ Version bump for sunpinyin wrt bug #355575
*sunpinyin-2.0.2-r1 (08 Jan 2011)
diff --git a/app-i18n/sunpinyin/sunpinyin-2.0.3.ebuild b/app-i18n/sunpinyin/sunpinyin-2.0.3.ebuild
new file mode 100644
index 000000000000..a31848e64a6f
--- /dev/null
+++ b/app-i18n/sunpinyin/sunpinyin-2.0.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/sunpinyin-2.0.3.ebuild,v 1.1 2011/02/20 05:02:38 qiaomuf Exp $
+
+EAPI="1"
+inherit scons-utils
+
+MY_P=${P/_/-}
+
+DESCRIPTION="SunPinyin is a SLM (Statistical Language Model) based IME"
+HOMEPAGE="http://sunpinyin.googlecode.com"
+SRC_URI="${HOMEPAGE}/files/${MY_P}.tar.gz
+ http://open-gram.googlecode.com/files/dict.utf8.tar.bz2
+ http://open-gram.googlecode.com/files/lm_sc.t3g.arpa.tar.bz2"
+
+LICENSE="LGPL-2.1 CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-db/sqlite:3"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack "${MY_P}.tar.gz"
+ mv "${DISTDIR}/dict.utf8.tar.bz2" "${S}/raw/" || die "dict file not found"
+ mv "${DISTDIR}/lm_sc.t3g.arpa.tar.bz2" "${S}/raw/" || die "dict file not found"
+}
+
+src_compile() {
+ escons --prefix="/usr"
+}
+
+src_install() {
+ escons --prefix="/usr" --install-sandbox="${D}" install
+}
+
+pkg_postinst() {
+ elog ""
+ elog "To use any wrapper for ${PN}, please merge any of the following"
+ elog "packages: "
+ elog "emerge app-i18n/ibus-sunpinyin"
+ elog "emerge app-i18n/scim-sunpinyin"
+ elog "emerge app-i18n/xsunpinyin"
+ elog ""
+}