/[gentoo-x86]/app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.4_pre20130108-r2.ebuild
Gentoo

Contents of /app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.4_pre20130108-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Dec 27 11:09:05 2014 UTC (5 years, 1 month ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Convert to python-single-r1.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-sunpinyin/ibus-sunpinyin-2.0.4_pre20130108-r1.ebuild,v 1.1 2013/01/31 10:23:45 yngwin Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7 inherit python-single-r1 scons-utils toolchain-funcs
8
9 DESCRIPTION="The SunPinYin IMEngine for IBus Framework"
10 HOMEPAGE="https://sunpinyin.googlecode.com/"
11 SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/sunpinyin-${PV}.tar.xz"
12
13 LICENSE="LGPL-2.1 CDDL"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="+nls"
17
18 RDEPEND="${PYTHON_DEPS}
19 app-i18n/ibus[python,${PYTHON_USEDEP}]
20 ~app-i18n/sunpinyin-${PV}:=
21 nls? ( virtual/libintl )"
22 DEPEND="${RDEPEND}
23 virtual/pkgconfig
24 nls? ( sys-devel/gettext )"
25 REQUIRED_USE=${PYTHON_REQUIRED_USE}
26
27 src_unpack() {
28 default
29 mv "${WORKDIR}/sunpinyin-${PV}" "${S}" || die
30 }
31
32 src_prepare() {
33 sed -i -e "s/python/${EPYTHON}/" wrapper/ibus/setup/ibus-setup-sunpinyin.in || die
34 }
35
36 src_configure() {
37 tc-export CXX
38 myesconsargs=(
39 --prefix="${EPREFIX}"/usr
40 --libexecdir="${EPREFIX}"/usr/libexec
41 )
42 }
43
44 src_compile() {
45 escons -C wrapper/ibus
46 }
47
48 src_install() {
49 escons -C wrapper/ibus --install-sandbox="${ED}" install
50 }

  ViewVC Help
Powered by ViewVC 1.1.20