diff options
Diffstat (limited to 'app-i18n/ibus-sunpinyin')
-rw-r--r-- | app-i18n/ibus-sunpinyin/Manifest | 3 | ||||
-rw-r--r-- | app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.4_pre20130108-r2.ebuild | 49 | ||||
-rw-r--r-- | app-i18n/ibus-sunpinyin/metadata.xml | 11 |
3 files changed, 63 insertions, 0 deletions
diff --git a/app-i18n/ibus-sunpinyin/Manifest b/app-i18n/ibus-sunpinyin/Manifest new file mode 100644 index 000000000000..1599e95fe5d7 --- /dev/null +++ b/app-i18n/ibus-sunpinyin/Manifest @@ -0,0 +1,3 @@ +DIST sunpinyin-2.0.4_pre20130108.tar.xz 964764 BLAKE2B 2c9d2e3fc02009ad10784c9408434c6806d1403026fb27629701650fe0e8a69c5580050846cf5c3b870215b8bfd68fe9c52d8bdaf83c41e523224463af9cf530 SHA512 7c1dd7db8b800e9d436746a560a16de2c6777576868f2e7e28f6dcb767b91ccd62b974f9d4ce6bd6ce80d30e1ee83887c3ee03c227e7e9fa59c01db4867465b2 +EBUILD ibus-sunpinyin-2.0.4_pre20130108-r2.ebuild 1080 BLAKE2B 4403780f922c47cdda854d49666869696e88b6641af9db951c62eef14fba97acf824761bee5485c1e1075ce43ae17bce1174a63d9d13d136bbc11d699a9d0b56 SHA512 e76aefc9199e00ced36d430bf40b82dcdd44de91786a6283f7712efd7fe0c505ba71b5744b427226b38555e989867ec57a918b0069112be83b2ecc7079922577 +MISC metadata.xml 313 BLAKE2B e3d71fcea434a51c92b8194791283c33981d3c4b44bda0df1e70b561517c228daebdc713327171192e1523b7ac2f91116a030bb729eb143606810e6ef5522ce4 SHA512 61d943d4f8b8ab912ced89b69be51ad2792ba67672e969f4e32fba373f7133181c1080ba9a2603e3f7623ebac42e32eb3e0e429d66846ab4c7e13afbc0b05974 diff --git a/app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.4_pre20130108-r2.ebuild b/app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.4_pre20130108-r2.ebuild new file mode 100644 index 000000000000..77a59d469623 --- /dev/null +++ b/app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.4_pre20130108-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit python-single-r1 scons-utils toolchain-funcs + +DESCRIPTION="The SunPinYin IMEngine for IBus Framework" +HOMEPAGE="https://sunpinyin.googlecode.com/" +SRC_URI="https://dev.gentoo.org/~jstein/dist/sunpinyin-${PV}.tar.xz" + +LICENSE="LGPL-2.1 CDDL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+nls" + +RDEPEND="${PYTHON_DEPS} + app-i18n/ibus[python,${PYTHON_USEDEP}] + ~app-i18n/sunpinyin-${PV}:= + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +src_unpack() { + default + mv "${WORKDIR}/sunpinyin-${PV}" "${S}" || die +} + +src_prepare() { + sed -i -e "s/python/${EPYTHON}/" wrapper/ibus/setup/ibus-setup-sunpinyin.in || die +} + +src_configure() { + tc-export CXX + myesconsargs=( + --prefix="${EPREFIX}"/usr + --libexecdir="${EPREFIX}"/usr/libexec + ) +} + +src_compile() { + escons -C wrapper/ibus +} + +src_install() { + escons -C wrapper/ibus --install-sandbox="${ED}" install +} diff --git a/app-i18n/ibus-sunpinyin/metadata.xml b/app-i18n/ibus-sunpinyin/metadata.xml new file mode 100644 index 000000000000..583f6476f8be --- /dev/null +++ b/app-i18n/ibus-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> |