summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2013-01-30 13:36:06 +0000
committerBen de Groot <yngwin@gentoo.org>2013-01-30 13:36:06 +0000
commit096851bcf7484daccb6ff32d720e5b14bd0bf37e (patch)
tree3c2817e21198dab14fa1ff36bd515d37fc040f7e /app-i18n/sunpinyin
parentInitial commit. Ebuild split off from app-i18n/sunpinyin, with help from Wang... (diff)
downloadgentoo-2-096851bcf7484daccb6ff32d720e5b14bd0bf37e.tar.gz
gentoo-2-096851bcf7484daccb6ff32d720e5b14bd0bf37e.tar.bz2
gentoo-2-096851bcf7484daccb6ff32d720e5b14bd0bf37e.zip
Add snapshot, with help from Wang Jiajun (gentoo-zh overlay).
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-i18n/sunpinyin')
-rw-r--r--app-i18n/sunpinyin/ChangeLog11
-rw-r--r--app-i18n/sunpinyin/metadata.xml12
-rw-r--r--app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108.ebuild44
3 files changed, 56 insertions, 11 deletions
diff --git a/app-i18n/sunpinyin/ChangeLog b/app-i18n/sunpinyin/ChangeLog
index b889bb761d92..65d555d3bd58 100644
--- a/app-i18n/sunpinyin/ChangeLog
+++ b/app-i18n/sunpinyin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-i18n/sunpinyin
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/ChangeLog,v 1.10 2012/05/03 19:24:34 jdhore Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/ChangeLog,v 1.11 2013/01/30 13:36:06 yngwin Exp $
+
+*sunpinyin-2.0.4_pre20130108 (30 Jan 2013)
+
+ 30 Jan 2013; Ben de Groot <yngwin@gentoo.org>
+ +sunpinyin-2.0.4_pre20130108.ebuild, metadata.xml:
+ Add snapshot, with help from Wang Jiajun (gentoo-zh overlay).
03 May 2012; Jeff Horelick <jdhore@gentoo.org> sunpinyin-2.0.3-r1.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
@@ -62,4 +68,3 @@
08 Nov 2009; MATSUU Takuto <matsuu@gentoo.org>
+ibus-sunpinyin-2.0.20091104.ebuild, +metadata.xml:
Initial import, bug #288566. The ebuild was submitted by Hubert Star.
-
diff --git a/app-i18n/sunpinyin/metadata.xml b/app-i18n/sunpinyin/metadata.xml
index 4ed6ced45985..adc59fd218e2 100644
--- a/app-i18n/sunpinyin/metadata.xml
+++ b/app-i18n/sunpinyin/metadata.xml
@@ -1,12 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>cjk</herd>
- <maintainer>
- <email>qiaomuf@gentoo.org</email>
- <name>Mu Qiao</name>
- </maintainer>
- <upstream>
- <remote-id type="google-code">sunpinyin</remote-id>
- </upstream>
+ <herd>cjk</herd>
+ <upstream>
+ <remote-id type="google-code">sunpinyin</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108.ebuild b/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108.ebuild
new file mode 100644
index 000000000000..83ef0f8c3d64
--- /dev/null
+++ b/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108.ebuild,v 1.1 2013/01/30 13:36:06 yngwin Exp $
+
+EAPI=5
+inherit eutils multilib scons-utils toolchain-funcs
+
+DESCRIPTION="A Statistical Language Model based Chinese input method library"
+HOMEPAGE="https://sunpinyin.googlecode.com/"
+SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz"
+
+LICENSE="LGPL-2.1 CDDL"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-db/sqlite:3"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+PDEPEND="app-i18n/sunpinyin-data"
+
+src_prepare() {
+ epatch_user
+}
+
+src_configure() {
+ tc-export CXX
+ myesconsargs=(
+ --prefix="${EPREFIX}"/usr
+ --libdir="${EPREFIX}"/usr/$(get_libdir)
+ )
+}
+
+src_compile() {
+ escons
+}
+
+src_install() {
+ escons --install-sandbox="${ED}" install
+ rm -rf "${D}"/usr/share/doc/${PN} || die
+ dodoc doc/{README,SLM-inst.mk,SLM-train.mk}
+}