diff options
author | Ben de Groot <yngwin@gentoo.org> | 2013-01-30 15:04:29 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2013-01-30 15:04:29 +0000 |
commit | 20f1eefa740c27979a2999a6ec39e962246cbcfe (patch) | |
tree | b76e5d8ca388e7b5e0143cc47fe6644ba3e68810 /app-i18n | |
parent | Stable for HPPA (bug #454178). (diff) | |
download | gentoo-2-20f1eefa740c27979a2999a6ec39e962246cbcfe.tar.gz gentoo-2-20f1eefa740c27979a2999a6ec39e962246cbcfe.tar.bz2 gentoo-2-20f1eefa740c27979a2999a6ec39e962246cbcfe.zip |
Version bump to newest sunpinyin snapshot.
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/ibus-sunpinyin/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.4_pre20130108.ebuild | 56 |
2 files changed, 63 insertions, 1 deletions
diff --git a/app-i18n/ibus-sunpinyin/ChangeLog b/app-i18n/ibus-sunpinyin/ChangeLog index 9698c8cd37d9..3be36c898cfa 100644 --- a/app-i18n/ibus-sunpinyin/ChangeLog +++ b/app-i18n/ibus-sunpinyin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-i18n/ibus-sunpinyin # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-sunpinyin/ChangeLog,v 1.8 2013/01/30 13:48:47 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-sunpinyin/ChangeLog,v 1.9 2013/01/30 15:04:29 yngwin Exp $ + +*ibus-sunpinyin-2.0.4_pre20130108 (30 Jan 2013) + + 30 Jan 2013; Ben de Groot <yngwin@gentoo.org> + +ibus-sunpinyin-2.0.4_pre20130108.ebuild: + Version bump to newest sunpinyin snapshot. *ibus-sunpinyin-2.0.3-r2 (30 Jan 2013) diff --git a/app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.4_pre20130108.ebuild b/app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.4_pre20130108.ebuild new file mode 100644 index 000000000000..26d56e11151e --- /dev/null +++ b/app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.4_pre20130108.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.4_pre20130108.ebuild,v 1.1 2013/01/30 15:04:29 yngwin Exp $ + +EAPI=5 +PYTHON_DEPEND="2:2.5" +inherit multilib python scons-utils toolchain-funcs + +DESCRIPTION="The SunPinYin IMEngine for IBus 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="+nls" + +RDEPEND="app-i18n/ibus + ~app-i18n/sunpinyin-${PV}:= + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_unpack() { + default + mv "${WORKDIR}/sunpinyin-${PV}" "${S}" || die +} + +src_configure() { + tc-export CXX + myesconsargs=( + --prefix="${EPREFIX}"/usr + --libdir="${EPREFIX}"/usr/$(get_libdir) + ) +} + +src_compile() { + pushd "${S}"/wrapper/ibus + escons + popd +} + +src_install() { + pushd "${S}"/wrapper/ibus + escons --install-sandbox="${ED}" install + popd +} + +pkg_postinst() { + python_mod_optimize /usr/share/ibus-sunpinyin/setup +} + +pkg_postrm() { + python_mod_cleanup /usr/share/ibus-sunpinyin/setup +} |