Gentoo Archives: gentoo-commits

From: "Mu Qiao (qiaomuf)" <qiaomuf@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/sunpinyin: ChangeLog sunpinyin-2.0.2.ebuild
Date: Thu, 02 Dec 2010 07:04:02
Message-Id: 20101202070351.8CF5C20054@flycatcher.gentoo.org
1 qiaomuf 10/12/02 07:03:51
2
3 Modified: ChangeLog
4 Added: sunpinyin-2.0.2.ebuild
5 Log:
6 Version bumped.
7
8 (Portage version: 2.1.9.25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 app-i18n/sunpinyin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/sunpinyin/ChangeLog?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/sunpinyin/ChangeLog?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/sunpinyin/ChangeLog?r1=1.2&r2=1.3
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/ChangeLog,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- ChangeLog 4 May 2010 16:06:33 -0000 1.2
24 +++ ChangeLog 2 Dec 2010 07:03:49 -0000 1.3
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-i18n/sunpinyin
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/ChangeLog,v 1.2 2010/05/04 16:06:33 matsuu Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/ChangeLog,v 1.3 2010/12/02 07:03:49 qiaomuf Exp $
30 +
31 +*sunpinyin-2.0.2 (02 Dec 2010)
32 +
33 + 02 Dec 2010; <gentoo@g.o> +sunpinyin-2.0.2.ebuild:
34 + Version bumped.
35
36 04 May 2010; MATSUU Takuto <matsuu@g.o> sunpinyin-2.0.1.ebuild:
37 Fixed checking wrong use flag, bug #318373.
38
39
40
41 1.1 app-i18n/sunpinyin/sunpinyin-2.0.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/sunpinyin/sunpinyin-2.0.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/sunpinyin/sunpinyin-2.0.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: sunpinyin-2.0.2.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/sunpinyin-2.0.2.ebuild,v 1.1 2010/12/02 07:03:49 qiaomuf Exp $
51
52 EAPI="1"
53 PYTHON_DEPEND="ibus? 2:2.5"
54 inherit python scons-utils
55
56 DESCRIPTION="SunPinyin is a SLM (Statistical Language Model) based IME"
57 HOMEPAGE="http://sunpinyin.googlecode.com"
58 SRC_URI="${HOMEPAGE}/files/${P}.tar.gz"
59
60 LICENSE="LGPL-2.1 CDDL"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="ibus +xim"
64
65 RDEPEND="dev-db/sqlite:3
66 ibus? (
67 >=app-i18n/ibus-1.1
68 !app-i18n/ibus-sunpinyin
69 sys-devel/gettext
70 )
71 xim? (
72 >=x11-libs/gtk+-2.10:2
73 x11-libs/libX11
74 )"
75 DEPEND="${RDEPEND}
76 dev-util/pkgconfig
77 xim? ( x11-proto/xproto )"
78 S="${WORKDIR}/${PN}"
79
80 src_compile() {
81 escons --prefix="/usr"
82 }
83
84 src_install() {
85 escons --prefix="/usr" --install-sandbox="${D}" install
86 if use ibus; then
87 cd "${S}/wrapper/ibus"
88 escons --prefix="/usr" --install-sandbox="${D}" install
89 elif use xim; then
90 cd "${S}/wrapper/xim"
91 escons --prefix="/usr" --install-sandbox="${D}" install
92 fi
93 }