summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-01-14 17:18:29 +0800
committerMu Qiao <qiaomuf@gentoo.org>2011-01-14 17:18:29 +0800
commitf9da58766e4821179c9dbb42f5f21f71ca7ecc00 (patch)
tree1461bfbd1dfb6d381ab1c3f410cefd3fe28c8507 /app-i18n
parentRemove unnecessary files (diff)
downloadqiaomuf-f9da58766e4821179c9dbb42f5f21f71ca7ecc00.tar.gz
qiaomuf-f9da58766e4821179c9dbb42f5f21f71ca7ecc00.tar.bz2
qiaomuf-f9da58766e4821179c9dbb42f5f21f71ca7ecc00.zip
Split sunpinyin packages
(Portage version: 2.1.9.31/git/Linux x86_64, signed Manifest commit with key 17B157E9)
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/ibus-sunpinyin/Manifest17
-rw-r--r--app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.3_rc2.ebuild33
-rw-r--r--app-i18n/ibus-sunpinyin/metadata.xml5
-rw-r--r--app-i18n/scim-sunpinyin/Manifest17
-rw-r--r--app-i18n/scim-sunpinyin/metadata.xml5
-rw-r--r--app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3_rc2.ebuild32
-rw-r--r--app-i18n/sunpinyin/Manifest20
-rw-r--r--app-i18n/sunpinyin/metadata.xml6
-rw-r--r--app-i18n/sunpinyin/sunpinyin-2.0.3_rc2.ebuild49
-rw-r--r--app-i18n/xsunpinyin/Manifest17
-rw-r--r--app-i18n/xsunpinyin/metadata.xml5
-rw-r--r--app-i18n/xsunpinyin/xsunpinyin-2.0.3_rc2.ebuild32
12 files changed, 189 insertions, 49 deletions
diff --git a/app-i18n/ibus-sunpinyin/Manifest b/app-i18n/ibus-sunpinyin/Manifest
new file mode 100644
index 0000000..e79fc0a
--- /dev/null
+++ b/app-i18n/ibus-sunpinyin/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST ibus-sunpinyin-2.0.3-rc2.tar.gz 203937 RMD160 93225efcb975864ca855706f19e0492ebddd9790 SHA1 5cc3e5c32f42c5fe1f563813bf0467e10e2d67d9 SHA256 c22728fc86b97397709d651fdd2ac76f7a392078974ec4a2d89a91cac421f2b1
+EBUILD ibus-sunpinyin-2.0.3_rc2.ebuild 735 RMD160 9708f1d011f20775f572fd199c1cfbd9adbfd02b SHA1 e207b642bab2ed877d255e263219b95cbc5c7451 SHA256 6545df9006db62a19ee4b3732d552495336e5a56ffab556ba21a007fee2350c9
+MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iQEcBAEBAgAGBQJNMBTlAAoJEDCzDeQXsVfph8YH/1shf5t5egzOX3GkZ/EMZJ64
+8YTt2mltdz92tMq8d42V/sS/0OyCBgfI3+HwnXGOqSjUJJtu5N12V3qSyNoD5N4r
+ZjioqNJEOvCZzAYfB02JmQA+GVbKStfdmRuRkjjsD+4s5VU/1IFUfjQofoZzu35k
+YJ7W3FGr04lEZTMzb4t+Fh/QLEuVFA+jHf7WeOrDUHCX1KZBAtvuJYx2zVkcv6Rn
+x759rgWzrq9F8pJFVFQavq71BkTHIJIThjAMhR/NqhIpo8sczDO7uvL2lwyJ/YWj
+MpxKoI7vXBYioPWCSEaZBMAbN58oH4EWKjH/0kikE+KqMNldKJn6i5bPT9x2U0Q=
+=44U8
+-----END PGP SIGNATURE-----
diff --git a/app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.3_rc2.ebuild b/app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.3_rc2.ebuild
new file mode 100644
index 0000000..c33d9d0
--- /dev/null
+++ b/app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.3_rc2.ebuild
@@ -0,0 +1,33 @@
+# 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.2.ebuild,v 1.1 2010/12/02 07:03:49 qiaomuf Exp $
+
+EAPI="1"
+PYTHON_DEPEND="2:2.5"
+inherit python scons-utils
+
+MY_P=${P/_/-}
+
+DESCRIPTION="The SunPinYin IMEngine for IBus Framework"
+HOMEPAGE="http://sunpinyin.googlecode.com"
+SRC_URI="${HOMEPAGE}/files/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1 CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-i18n/ibus
+ app-i18n/sunpinyin"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ escons --prefix="/usr"
+}
+
+src_install() {
+ escons --prefix="/usr" --install-sandbox="${D}" install
+}
diff --git a/app-i18n/ibus-sunpinyin/metadata.xml b/app-i18n/ibus-sunpinyin/metadata.xml
new file mode 100644
index 0000000..2d5852c
--- /dev/null
+++ b/app-i18n/ibus-sunpinyin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+</pkgmetadata>
diff --git a/app-i18n/scim-sunpinyin/Manifest b/app-i18n/scim-sunpinyin/Manifest
new file mode 100644
index 0000000..bccab60
--- /dev/null
+++ b/app-i18n/scim-sunpinyin/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST scim-sunpinyin-2.0.3-rc2.tar.gz 18026 RMD160 726e490ef6677f018262c5f47a4853aa579cf34b SHA1 1516cfc0ab7529a86685e8aaf327dab439526962 SHA256 55e719603341d36d8eb93157dc632a4dec566d577c4580d9e6f216139eadcb2a
+EBUILD scim-sunpinyin-2.0.3_rc2.ebuild 722 RMD160 63e03ffac7901b5d78fec88c518dc72a9592ea2e SHA1 52f9bb398a964c292a209ec81cee3189af751903 SHA256 0cfe081daca3ac4db19127ba478dc7946f0610dd1671d977c3b522705fc15418
+MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iQEcBAEBAgAGBQJNMBTkAAoJEDCzDeQXsVfpunMH/3BJcSliEfnYy38eEAfmsOAy
+1WrMpGfrtY5Q1hBxiyynyjhc2niUVZHTgPXS5PVlO10fyMticzOGiVcx/BUcrGe2
+/FctmclF3R04udy54yC1kuFXpVbXlJpstzL5f0e/YmbzEPCsME/7lONOzsVITe05
+eWdqheo3dDNGkz6nxtOhQ0LZFGl9ngENUUVdENeoewcDqPTU2YQTlAmLYtANqxjE
+3DxGVL38oTzpoPPjgNcgX1f3blUGcLgftAcf8wON+iLvEf76cPxSeieC+SrfDQ5s
+pWFTwsRgZzDGGr7iK1/bOPy1HErHF97G0WSPZvuIAVm21/szlyny8gpoTpmxRSo=
+=Jfz8
+-----END PGP SIGNATURE-----
diff --git a/app-i18n/scim-sunpinyin/metadata.xml b/app-i18n/scim-sunpinyin/metadata.xml
new file mode 100644
index 0000000..2d5852c
--- /dev/null
+++ b/app-i18n/scim-sunpinyin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+</pkgmetadata>
diff --git a/app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3_rc2.ebuild b/app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3_rc2.ebuild
new file mode 100644
index 0000000..ed24e26
--- /dev/null
+++ b/app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3_rc2.ebuild
@@ -0,0 +1,32 @@
+# 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.2.ebuild,v 1.1 2010/12/02 07:03:49 qiaomuf Exp $
+
+EAPI="1"
+inherit scons-utils
+
+MY_P=${P/_/-}
+
+DESCRIPTION="The SunPinyin IMEngine for Smart Common Input Method (SCIM)"
+HOMEPAGE="http://sunpinyin.googlecode.com"
+SRC_URI="${HOMEPAGE}/files/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1 CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-i18n/scim
+ app-i18n/sunpinyin
+ x11-libs/gtk+:2 "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ escons --prefix="/usr"
+}
+
+src_install() {
+ escons --prefix="/usr" --install-sandbox="${D}" install
+}
diff --git a/app-i18n/sunpinyin/Manifest b/app-i18n/sunpinyin/Manifest
index 8e10f37..afdeb73 100644
--- a/app-i18n/sunpinyin/Manifest
+++ b/app-i18n/sunpinyin/Manifest
@@ -3,18 +3,18 @@ Hash: SHA1
DIST dict.utf8.tar.bz2 1598995 RMD160 748e7e4e4f6e0f557b46dc8a7f1eb747210f3aea SHA1 44bfe155044326d2343aa2cf589db41a81cdaf13 SHA256 d8261f6b0bfcdd40a9c4f366228f86b017e06c9d7d64d6ddec1c2c3511eea805
DIST lm_sc.t3g.arpa.tar.bz2 25098718 RMD160 f7ba622aa909ea624049f3572ec1363953dee974 SHA1 be340be53007637e58feba211715df59f9c86025 SHA256 c80093a8b43561e64158de4139967eef39b851432a2660e8050429d7560907cd
-DIST sunpinyin-all-in-one-2.0.3-rc2.tar.gz 502409 RMD160 3a0ecb33074202923c1fd519aa8dacf10092ffea SHA1 a04d8d837693d1ee7afd101054f3f0b254f33642 SHA256 228d1256198ee5a3dfd2c86a0e78ec851ee45a65c8bca04e899c6215fdc7abcb
-EBUILD sunpinyin-2.0.3_rc2.ebuild 1627 RMD160 7beb570f3af91e4c97206f58e87ca7a755a8fd7d SHA1 36319e286ce7b5fb57f11461b001eb750f69fc67 SHA256 2e72278099a20c0b81dfd88f121094c7488213f5a6f981944a95c13fcc0146c6
+DIST sunpinyin-2.0.3-rc2.tar.gz 168707 RMD160 ceeed6640ef92e3c669a1c30373ea773df96599f SHA1 b37787628e3ee2fe60631e09458cecdb2a7c7235 SHA256 754542d8d527349f593edc27c290b6f0518b12309b8e467cf76e62f384868c0c
+EBUILD sunpinyin-2.0.3_rc2.ebuild 1266 RMD160 1af6fdb03bd1922465130aa7a210da396a81f8e9 SHA1 fa2a837061aa8cac45a1aaf748d2ef5134d03d16 SHA256 55131cf27d0e2293eccff1c1ecba0af4a3e3ca118765c4b19118c7fbefe1e01d
MISC ChangeLog 1335 RMD160 cbc90a470eebdea018781967b3774e8e648bba56 SHA1 cb34a0b6d7143318f07405e5d6d0efaf4883b54e SHA256 e9c3ce4f5daa6553dc2b9ed0da8fc74e3798824eda686eb39834cb6a5a45aa9a
-MISC metadata.xml 391 RMD160 fa545044e99c7fae6b12d20023180d3e850ba4bb SHA1 484471ed3d03c51cfc31e9bb6175eff8840e5d40 SHA256 006bf199298cb96e9cf411c18d755f1cb2f810d0ed4a88501b7f786e22fad8ba
+MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iQEcBAEBAgAGBQJNL7uzAAoJEDCzDeQXsVfpylgH/1uwNf/QkpaSRyck8O2VrRoa
-fSdu/d2xNT6JiqKvWJNQYPFCXVwsQ6PAm/dxWvXmq+JsLSd/kmhhhW7JUeesLMMR
-ZFCbsdfAZOyVeGfH2kcAitm6vSRZ8w+Wm28yEY3AdVeYzwY5QjdANIwvawEDgFlX
-uBuSnw3dOIVxMqeahQ8n+r3DD64iSvCxSDB5dah2JIar2WC/aRecXwNbv/X4klYn
-bS9adOHNG6Ixt9AmfwbyJuWKne3JK9rBGKfzOdV/wUHT/r+v5ZehFwLnWejv3E3Z
-YSSzCzLgDCM7p8p19owFNnrb3WVhvtBcOsewXYEg3nLVzSrxS5qNSx/l1/xLXW8=
-=+4cm
+iQEcBAEBAgAGBQJNMBTkAAoJEDCzDeQXsVfph1AH/AnaMG+36JE2xT0sDc2IuRRB
+cd6RVhi1LZgdcOwYUhCHczySAVPdf+KtXtXEQsj1ZoBq8BQs5yfICdinM92/6grZ
+XYbmIe8fusGRliBycYC6dzIksAmagFfyPrDDAWiEkdQ8mNyM4WGMN1JMH0dsfemb
+FZiXmohvOSEhIkSb43nZ85vMRTZyCRqMICRG2fKXcT5oX0y/R3fpd5nwEUWNnI/o
+ffP8BraoHdgForNmCjk4zz02KaHl1ACLDJUMWtC/CdvQUzdIDmM/Z4MXzQLXZLZq
+ntIrhSx/j1HNMq2/a1S+zyvFm2wgTfebOxxcGwYyxw3l2IWmhzV/2sWV+oba+Ew=
+=6a5p
-----END PGP SIGNATURE-----
diff --git a/app-i18n/sunpinyin/metadata.xml b/app-i18n/sunpinyin/metadata.xml
index ecfb862..2d5852c 100644
--- a/app-i18n/sunpinyin/metadata.xml
+++ b/app-i18n/sunpinyin/metadata.xml
@@ -2,10 +2,4 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>cjk</herd>
-<use>
- <flag name='ibus'>Enable support for <pkg>app-i18n/ibus</pkg> input method
- </flag>
- <flag name='scim'>Enable support for <pkg>app-i18n/scim</pkg> input method</flag>
- <flag name='xim'>Enable support for XIM</flag>
-</use>
</pkgmetadata>
diff --git a/app-i18n/sunpinyin/sunpinyin-2.0.3_rc2.ebuild b/app-i18n/sunpinyin/sunpinyin-2.0.3_rc2.ebuild
index 9c6187f..0f4e52e 100644
--- a/app-i18n/sunpinyin/sunpinyin-2.0.3_rc2.ebuild
+++ b/app-i18n/sunpinyin/sunpinyin-2.0.3_rc2.ebuild
@@ -3,45 +3,28 @@
# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/sunpinyin-2.0.2.ebuild,v 1.1 2010/12/02 07:03:49 qiaomuf Exp $
EAPI="1"
-PYTHON_DEPEND="ibus? 2:2.5"
-inherit python scons-utils
+inherit scons-utils
MY_P=${P/_/-}
-MY_PV=${PV/_/-}
-ARCHIVE="${PN}-all-in-one-${MY_PV}.tar.gz"
DESCRIPTION="SunPinyin is a SLM (Statistical Language Model) based IME"
HOMEPAGE="http://sunpinyin.googlecode.com"
-SRC_URI="${HOMEPAGE}/files/${ARCHIVE}
+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"
-RESTRICT="mirror"
LICENSE="LGPL-2.1 CDDL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="ibus scim +xim"
+IUSE=""
-RDEPEND="dev-db/sqlite:3
- ibus? (
- >=app-i18n/ibus-1.1
- sys-devel/gettext
- )
- xim? (
- x11-libs/gtk+:2
- x11-libs/libX11
- )
- scim? (
- app-i18n/scim
- x11-libs/gtk+:2
- )"
+RDEPEND="dev-db/sqlite:3"
DEPEND="${RDEPEND}
- dev-util/pkgconfig
- xim? ( x11-proto/xproto )"
+ dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}"
src_unpack() {
- unpack "${ARCHIVE}"
+ 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"
}
@@ -52,14 +35,14 @@ src_compile() {
src_install() {
escons --prefix="/usr" --install-sandbox="${D}" install
- if use ibus; then
- cd "${S}/wrapper/ibus"
- escons --prefix="/usr" --install-sandbox="${D}" install
- elif use xim; then
- cd "${S}/wrapper/xim"
- escons --prefix="/usr" --install-sandbox="${D}" install
- elif use scim; then
- cd "${S}/wrapper/scim"
- escons --prefix="/usr" --install-sandbox="${D}" install
- fi
+}
+
+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 ""
}
diff --git a/app-i18n/xsunpinyin/Manifest b/app-i18n/xsunpinyin/Manifest
new file mode 100644
index 0000000..306fffb
--- /dev/null
+++ b/app-i18n/xsunpinyin/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST xsunpinyin-2.0.3-rc2.tar.gz 113509 RMD160 dd0980638878d2601cf61a0f57b53703e12c4008 SHA1 b0d9fa3e91fc3ba355dec721eb625f9855735943 SHA256 bb8dfc11008c8e8d757fb861e50c8832fcb8b1cd60909f8f3ac532138147bc73
+EBUILD xsunpinyin-2.0.3_rc2.ebuild 712 RMD160 aca3f17fd9f706a12df5edac33e62973ef784a27 SHA1 74f2f050c65139634ccd575463b67aa056db11de SHA256 5d7e4745c10aa0ff62b34e5a3c6709b4b20d49c79b7badd49a0a2dc1bc50644c
+MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iQEcBAEBAgAGBQJNMBTkAAoJEDCzDeQXsVfpGqgIAJSN1eyRqJu5GvuBfVwY/0N5
+IOlzFjDKtdlegRAxQbzUZ1DMITWdqn7XiLU3Hc/tXUTKJ0L3uG+4fq1/ISWGPxA+
+GVs/RfHbwpnKb5U0VtEIbcpkS6cD5g/7Gi7+pg8pQFPOlA1jidyPXW1ZtcrdRqqz
++9Wf7PYb6qVN4kGAguT6w7/SD6BgWrsU0OJ8M1VkPx/wVklRH+FJ1eEyw5nIbzZR
+PCT3ApVnzJ/gJnjGVow4tSLx/WukgDbXdTuFyY1Dg6rD0OTmtkklHolTisKvTXM6
+cm8ljdBpJgJXfJsUzpUDjm41oJSWcwmTsKua+2IwSKfHYoXnIBamBg9EnJtzEK4=
+=NZzA
+-----END PGP SIGNATURE-----
diff --git a/app-i18n/xsunpinyin/metadata.xml b/app-i18n/xsunpinyin/metadata.xml
new file mode 100644
index 0000000..2d5852c
--- /dev/null
+++ b/app-i18n/xsunpinyin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+</pkgmetadata>
diff --git a/app-i18n/xsunpinyin/xsunpinyin-2.0.3_rc2.ebuild b/app-i18n/xsunpinyin/xsunpinyin-2.0.3_rc2.ebuild
new file mode 100644
index 0000000..4609172
--- /dev/null
+++ b/app-i18n/xsunpinyin/xsunpinyin-2.0.3_rc2.ebuild
@@ -0,0 +1,32 @@
+# 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.2.ebuild,v 1.1 2010/12/02 07:03:49 qiaomuf Exp $
+
+EAPI="1"
+inherit scons-utils
+
+MY_P=${P/_/-}
+
+DESCRIPTION="The SunPinyin IMEngine Wrapper for XIM Framework"
+HOMEPAGE="http://sunpinyin.googlecode.com"
+SRC_URI="${HOMEPAGE}/files/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1 CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-i18n/sunpinyin
+ x11-libs/gtk+:2
+ x11-libs/libX11"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ escons --prefix="/usr"
+}
+
+src_install() {
+ escons --prefix="/usr" --install-sandbox="${D}" install
+}