summaryrefslogtreecommitdiff
path: root/app-i18n/scim-sunpinyin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-i18n/scim-sunpinyin
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-i18n/scim-sunpinyin')
-rw-r--r--app-i18n/scim-sunpinyin/Manifest4
-rw-r--r--app-i18n/scim-sunpinyin/files/scim-sunpinyin-2.0.3-force-switch.patch34
-rw-r--r--app-i18n/scim-sunpinyin/metadata.xml11
-rw-r--r--app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3-r2.ebuild31
4 files changed, 80 insertions, 0 deletions
diff --git a/app-i18n/scim-sunpinyin/Manifest b/app-i18n/scim-sunpinyin/Manifest
new file mode 100644
index 000000000000..dd92a2ab18c2
--- /dev/null
+++ b/app-i18n/scim-sunpinyin/Manifest
@@ -0,0 +1,4 @@
+AUX scim-sunpinyin-2.0.3-force-switch.patch 947 BLAKE2B 0abc3eaa4f217ad33af87a7b2fa3d0c2bab90ea8540d61faa915fd0c673dbf49905d661da1128330aef16b84925fb9da2a25f75342c233fd364151625da09501 SHA512 8a3600507534dda5854465569127a7863fcbcd318542d319e814634e8fea10f7105469717e7141f831385c5e64a910aee0d442d7eb663e0cb46e9c6b9464ca7f
+DIST scim-sunpinyin-2.0.3.tar.gz 33072 BLAKE2B 06d9bff2eb35b06a49f6be60c8cd5d257f6ca724f03acc01b29b01fd32c2d95bab87c4737448a448a42a58d070f6b254bcf52e6d0c8b98ff10718d2265e43509 SHA512 f983d40972c5792a4a27fdf699cffc7f6882c84060cfe3e260cdc3f587743b0f71339ccdb7067b393f88a69b74d999fba70c4d9bc8016b9b217b3c11667a2986
+EBUILD scim-sunpinyin-2.0.3-r2.ebuild 639 BLAKE2B 8641ce645f95d0ccf073d47edcd0a182295676f614d905b7b3233ea8ec093621a621b6b55b59649755d017c1fe684a96cd0df3577b585e1036d83e1ed8dfd933 SHA512 868c215144512f3e91b05fb94d23bf9b81163fed23b79e9f0c782e3e50c8c0f5f22a7468206006c093a5677f65a4b01f86b74da7d4f3b4d96359110b83a910f8
+MISC metadata.xml 313 BLAKE2B e3d71fcea434a51c92b8194791283c33981d3c4b44bda0df1e70b561517c228daebdc713327171192e1523b7ac2f91116a030bb729eb143606810e6ef5522ce4 SHA512 61d943d4f8b8ab912ced89b69be51ad2792ba67672e969f4e32fba373f7133181c1080ba9a2603e3f7623ebac42e32eb3e0e429d66846ab4c7e13afbc0b05974
diff --git a/app-i18n/scim-sunpinyin/files/scim-sunpinyin-2.0.3-force-switch.patch b/app-i18n/scim-sunpinyin/files/scim-sunpinyin-2.0.3-force-switch.patch
new file mode 100644
index 000000000000..a0089ac11502
--- /dev/null
+++ b/app-i18n/scim-sunpinyin/files/scim-sunpinyin-2.0.3-force-switch.patch
@@ -0,0 +1,34 @@
+diff --git a/wrapper/scim/SConstruct b/wrapper/scim/SConstruct
+index 7739300..ef7c69b 100644
+--- a/wrapper/scim/SConstruct
++++ b/wrapper/scim/SConstruct
+@@ -3,7 +3,7 @@ import SCons.Tool.textfile
+
+ locales = []
+
+-cflags = '-O2 -g -pipe'
++cflags = '-O2 -g -pipe '
+ version = '2.0.3'
+
+ AddOption('--prefix', dest='prefix', metavar='DIR',
+@@ -51,9 +51,6 @@ if GetOption('datadir') is not None:
+
+ opts.Save('configure.conf', env)
+
+-if GetOption('rpath') is not None:
+- env.Append(LINKFLAGS='-Wl,-R -Wl,%s' % GetOption('rpath'))
+-
+ envvar = [('CC', 'CC'),
+ ('CXX', 'CXX'),
+ ('CFLAGS', 'CFLAGS'),
+@@ -75,6 +72,10 @@ extra_cflags += ' -Isrc'
+ env.Append(CFLAGS=extra_cflags)
+ env.Append(CXXFLAGS=extra_cflags)
+ env.Replace(SHLIBPREFIX = '')
++
++if GetOption('rpath') is not None:
++ env.Append(LINKFLAGS=' -Wl,-R -Wl,%s' % GetOption('rpath'))
++
+ #
+ #==============================configure================================
+ #
diff --git a/app-i18n/scim-sunpinyin/metadata.xml b/app-i18n/scim-sunpinyin/metadata.xml
new file mode 100644
index 000000000000..583f6476f8be
--- /dev/null
+++ b/app-i18n/scim-sunpinyin/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">sunpinyin</remote-id>
+ </upstream>
+</pkgmetadata>
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..0f2475440219
--- /dev/null
+++ b/app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils scons-utils
+
+DESCRIPTION="The SunPinyin IMEngine for Smart Common Input Method (SCIM)"
+HOMEPAGE="https://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
+}