summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2013-01-30 13:51:55 +0000
committerBen de Groot <yngwin@gentoo.org>2013-01-30 13:51:55 +0000
commit9d2168aa72c2b7965901194b18d03033090ab3a8 (patch)
treef2b122677c1478ce88cf6be7a901f533cd505370 /app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3-r2.ebuild
parentMake sure this depends on correct sunpinyin version. Migrate to eapi5. (diff)
downloadgentoo-2-9d2168aa72c2b7965901194b18d03033090ab3a8.tar.gz
gentoo-2-9d2168aa72c2b7965901194b18d03033090ab3a8.tar.bz2
gentoo-2-9d2168aa72c2b7965901194b18d03033090ab3a8.zip
Make sure this depends on correct sunpinyin version. Migrate to eapi5.
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3-r2.ebuild')
-rw-r--r--app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3-r2.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3-r2.ebuild b/app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3-r2.ebuild
new file mode 100644
index 000000000000..dc37a051a967
--- /dev/null
+++ b/app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3-r2.ebuild,v 1.1 2013/01/30 13:51:55 yngwin Exp $
+
+EAPI=5
+inherit eutils scons-utils
+
+DESCRIPTION="The SunPinyin IMEngine for Smart Common Input Method (SCIM)"
+HOMEPAGE="http://sunpinyin.googlecode.com"
+SRC_URI="${HOMEPAGE}/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1 CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-i18n/scim
+ ~app-i18n/sunpinyin-2.0.3
+ x11-libs/gtk+:2 "
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-force-switch.patch"
+}
+
+src_compile() {
+ escons --prefix="/usr"
+}
+
+src_install() {
+ escons --prefix="/usr" --install-sandbox="${D}" install
+}