Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/radiotray: ChangeLog radiotray-9999.ebuild
Date: Wed, 23 Jun 2010 17:44:21
Message-Id: 20100623174404.DCFA02CE15@corvid.gentoo.org
1 hwoarang 10/06/23 17:44:04
2
3 Modified: ChangeLog radiotray-9999.ebuild
4 Log:
5 Add LINGUAS support
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.6 media-sound/radiotray/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/radiotray/ChangeLog?rev=1.6&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/radiotray/ChangeLog?rev=1.6&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/radiotray/ChangeLog?r1=1.5&r2=1.6
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-sound/radiotray/ChangeLog,v
18 retrieving revision 1.5
19 retrieving revision 1.6
20 diff -u -r1.5 -r1.6
21 --- ChangeLog 23 Jun 2010 08:32:04 -0000 1.5
22 +++ ChangeLog 23 Jun 2010 17:44:04 -0000 1.6
23 @@ -1,6 +1,9 @@
24 # ChangeLog for media-sound/radiotray
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/media-sound/radiotray/ChangeLog,v 1.5 2010/06/23 08:32:04 hwoarang Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/media-sound/radiotray/ChangeLog,v 1.6 2010/06/23 17:44:04 hwoarang Exp $
28 +
29 + 23 Jun 2010; Markos Chandras <hwoarang@g.o> radiotray-9999.ebuild:
30 + Add LINGUAS support
31
32 23 Jun 2010; Markos Chandras <hwoarang@g.o> radiotray-9999.ebuild:
33 Add missing dependencies wrt bug #324287
34
35
36
37 1.5 media-sound/radiotray/radiotray-9999.ebuild
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/radiotray/radiotray-9999.ebuild?rev=1.5&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/radiotray/radiotray-9999.ebuild?rev=1.5&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/radiotray/radiotray-9999.ebuild?r1=1.4&r2=1.5
42
43 Index: radiotray-9999.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/media-sound/radiotray/radiotray-9999.ebuild,v
46 retrieving revision 1.4
47 retrieving revision 1.5
48 diff -u -r1.4 -r1.5
49 --- radiotray-9999.ebuild 23 Jun 2010 08:32:04 -0000 1.4
50 +++ radiotray-9999.ebuild 23 Jun 2010 17:44:04 -0000 1.5
51 @@ -1,6 +1,6 @@
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/media-sound/radiotray/radiotray-9999.ebuild,v 1.4 2010/06/23 08:32:04 hwoarang Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/media-sound/radiotray/radiotray-9999.ebuild,v 1.5 2010/06/23 17:44:04 hwoarang Exp $
56
57 EAPI=3
58 PYTHON_DEPEND="2"
59 @@ -17,6 +17,13 @@
60 KEYWORDS=""
61 IUSE=""
62
63 +LANGS="ca de el en_GB es fi fr gl gu hu it ko lt pl pt_BR pt ro ru sk sl sv te
64 +tr uk zh_CN"
65 +
66 +for x in ${LANGS}; do
67 + IUSE="${IUSE} linguas_${x}"
68 +done
69 +
70 RDEPEND="dev-python/gst-python
71 dev-python/pygtk
72 dev-python/lxml
73 @@ -42,4 +49,10 @@
74 src_prepare() {
75 python_convert_shebangs -r 2 .
76 distutils_src_prepare
77 + # remove LINUGAS file so we can create our
78 + rm "${S}"/po/LINGUAS
79 + for x in ${LANGS}; do
80 + use "linguas_${x}" && echo "${x}" >> "${S}"/po/LINGUAS
81 + ! use "linguas_${x}" && rm "${S}"/po/${x}.po
82 + done
83 }