summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2013-01-30 14:29:28 +0000
committerBen de Groot <yngwin@gentoo.org>2013-01-30 14:29:28 +0000
commit4ee3b6fb7aa1b4cc21a372715e2f9d0c02d05cb2 (patch)
tree7aa1342728f5356c39b3b36e5ba4f5c8397f46f3 /app-i18n
parenthttp://my.opera.com/desktopteam/blog/2013/01/30/12-13-final-released (diff)
downloadgentoo-2-4ee3b6fb7aa1b4cc21a372715e2f9d0c02d05cb2.tar.gz
gentoo-2-4ee3b6fb7aa1b4cc21a372715e2f9d0c02d05cb2.tar.bz2
gentoo-2-4ee3b6fb7aa1b4cc21a372715e2f9d0c02d05cb2.zip
Version bump to newest sunpinyin snapshot. Use subslot on sunpinyin dependency to trigger rebuild.
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/xsunpinyin/ChangeLog9
-rw-r--r--app-i18n/xsunpinyin/files/README.gentoo5
-rw-r--r--app-i18n/xsunpinyin/xsunpinyin-2.0.4_pre20130108.ebuild43
3 files changed, 56 insertions, 1 deletions
diff --git a/app-i18n/xsunpinyin/ChangeLog b/app-i18n/xsunpinyin/ChangeLog
index 2f3c71873f9d..0208c7e11656 100644
--- a/app-i18n/xsunpinyin/ChangeLog
+++ b/app-i18n/xsunpinyin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-i18n/xsunpinyin
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsunpinyin/ChangeLog,v 1.6 2013/01/30 13:54:48 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsunpinyin/ChangeLog,v 1.7 2013/01/30 14:29:28 yngwin Exp $
+
+*xsunpinyin-2.0.4_pre20130108 (30 Jan 2013)
+
+ 30 Jan 2013; Ben de Groot <yngwin@gentoo.org> +files/README.gentoo,
+ +xsunpinyin-2.0.4_pre20130108.ebuild:
+ Version bump to newest sunpinyin snapshot. Use subslot on sunpinyin dependency
+ to trigger rebuild.
*xsunpinyin-2.0.3-r3 (30 Jan 2013)
diff --git a/app-i18n/xsunpinyin/files/README.gentoo b/app-i18n/xsunpinyin/files/README.gentoo
new file mode 100644
index 000000000000..7de1985c1f32
--- /dev/null
+++ b/app-i18n/xsunpinyin/files/README.gentoo
@@ -0,0 +1,5 @@
+To use sunpinyin with XIM, you should use the following in your user startup
+scripts such as .xinitrc or .xprofile:
+
+XMODIFIERS=@im=xsunpinyin ; export XMODIFIERS
+
diff --git a/app-i18n/xsunpinyin/xsunpinyin-2.0.4_pre20130108.ebuild b/app-i18n/xsunpinyin/xsunpinyin-2.0.4_pre20130108.ebuild
new file mode 100644
index 000000000000..ee14ad17a1ef
--- /dev/null
+++ b/app-i18n/xsunpinyin/xsunpinyin-2.0.4_pre20130108.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsunpinyin/xsunpinyin-2.0.4_pre20130108.ebuild,v 1.1 2013/01/30 14:29:28 yngwin Exp $
+
+EAPI=5
+inherit readme.gentoo scons-utils toolchain-funcs
+
+DESCRIPTION="The SunPinyin IMEngine Wrapper for XIM Framework"
+HOMEPAGE="https://sunpinyin.googlecode.com/"
+SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/sunpinyin-${PV}.tar.xz"
+
+LICENSE="LGPL-2.1 CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-i18n/sunpinyin:=
+ x11-libs/gtk+:2
+ x11-libs/libX11"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ default
+ mv "${WORKDIR}/sunpinyin-${PV}" "${S}" || die
+}
+
+src_configure() {
+ tc-export CXX
+ myesconsargs=( --prefix="${EPREFIX}/usr" )
+}
+
+src_compile() {
+ pushd "${S}"/wrapper/xim
+ escons
+ popd
+}
+
+src_install() {
+ pushd "${S}"/wrapper/xim
+ escons --install-sandbox="${D}" install
+ popd
+ readme.gentoo_create_doc
+}