Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/arora: ChangeLog arora-0.10.1-r1.ebuild arora-0.10.2-r1.ebuild arora-0.10.2.ebuild arora-0.10.1.ebuild
Date: Sun, 27 Dec 2009 03:26:52
Message-Id: E1NOjbN-0007Iz-4S@stork.gentoo.org
1 yngwin 09/12/27 03:15:29
2
3 Modified: ChangeLog
4 Added: arora-0.10.1-r1.ebuild arora-0.10.2-r1.ebuild
5 Removed: arora-0.10.2.ebuild arora-0.10.1.ebuild
6 Log:
7 Add dependency on doxygen for USE=doc
8 (Portage version: 2.2_rc61/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.30 www-client/arora/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/arora/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 5 Dec 2009 23:49:23 -0000 1.29
24 +++ ChangeLog 27 Dec 2009 03:15:28 -0000 1.30
25 @@ -1,6 +1,13 @@
26 # ChangeLog for www-client/arora
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-client/arora/ChangeLog,v 1.29 2009/12/05 23:49:23 yngwin Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-client/arora/ChangeLog,v 1.30 2009/12/27 03:15:28 yngwin Exp $
30 +
31 +*arora-0.10.2-r1 (27 Dec 2009)
32 +*arora-0.10.1-r1 (27 Dec 2009)
33 +
34 + 27 Dec 2009; Ben de Groot <yngwin@g.o> -arora-0.10.1.ebuild,
35 + +arora-0.10.1-r1.ebuild, -arora-0.10.2.ebuild, +arora-0.10.2-r1.ebuild:
36 + Add dependency on doxygen for USE=doc
37
38 *arora-0.10.2 (05 Dec 2009)
39
40
41
42
43 1.1 www-client/arora/arora-0.10.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/arora-0.10.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/arora-0.10.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: arora-0.10.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/www-client/arora/arora-0.10.1-r1.ebuild,v 1.1 2009/12/27 03:15:28 yngwin Exp $
53
54 EAPI=2
55 inherit eutils qt4
56
57 DESCRIPTION="A cross-platform Qt4 WebKit browser"
58 HOMEPAGE="http://arora.googlecode.com/"
59 SRC_URI="http://arora.googlecode.com/files/${P}.tar.gz"
60
61 LICENSE="|| ( GPL-3 GPL-2 )"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="debug doc"
65
66 RDEPEND="=x11-libs/qt-gui-4.5*
67 =x11-libs/qt-sql-4.5*
68 =x11-libs/qt-webkit-4.5*
69 =x11-libs/qt-xmlpatterns-4.5*" # incompatible with Qt 4.6, bug 295808
70 DEPEND="${RDEPEND}
71 doc? ( app-doc/doxygen )"
72
73 ARORA_LANGS="ast ca es es_CR et_EE fr_CA gl ms nb_NO pt_BR pt_PT sr@latin sr_CS uk
74 zh_CN zh_TW"
75 ARORA_NOLONGLANGS="cs_CZ da_DK de_DE el_GR fi_FI fr_FR he_IL hu_HU it_IT ja_JP
76 nl_NL pl_PL ru_RU sk_SK tr_TR"
77
78 for L in $ARORA_LANGS; do
79 IUSE="$IUSE linguas_$L"
80 done
81 for L in $ARORA_NOLONGLANGS; do
82 IUSE="$IUSE linguas_${L%_*}"
83 done
84
85 src_prepare() {
86 # use Gentoo lingua designations
87 mv src/locale/sr_RS@×××××.ts src/locale/sr@×××××.ts
88 mv src/locale/sr_RS.ts src/locale/sr_CS.ts
89
90 # process linguas
91 local langs=
92 for lingua in $LINGUAS; do
93 if has $lingua $ARORA_LANGS; then
94 langs="$langs ${lingua}.ts"
95 else
96 for a in $ARORA_NOLONGLANGS; do
97 if [[ $lingua == ${a%_*} ]]; then
98 langs="$langs ${a}.ts"
99 fi
100 done
101 fi
102 done
103
104 # remove all translations, then add only the ones we want
105 sed -i '/ts/d' src/locale/locale.pri || die 'sed failed'
106 sed -i "/^TRANSLATIONS/s:\\\:${langs}:" src/locale/locale.pri \
107 || die 'sed failed'
108
109 if ! use doc ; then
110 sed -i 's|QMAKE_EXTRA|#QMAKE_EXTRA|' arora.pro || die 'sed failed'
111 fi
112 }
113
114 src_configure() {
115 eqmake4 arora.pro PREFIX=/usr
116 }
117
118 src_compile() {
119 emake || die "make failed"
120
121 # don't pre-strip
122 sed -i "/strip/d" src/Makefile || die 'sed failed'
123 }
124
125 src_install() {
126 emake INSTALL_ROOT="${D}" install || die 'make install failed'
127 dodoc AUTHORS ChangeLog README
128 }
129
130
131
132 1.1 www-client/arora/arora-0.10.2-r1.ebuild
133
134 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/arora-0.10.2-r1.ebuild?rev=1.1&view=markup
135 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/arora-0.10.2-r1.ebuild?rev=1.1&content-type=text/plain
136
137 Index: arora-0.10.2-r1.ebuild
138 ===================================================================
139 # Copyright 1999-2009 Gentoo Foundation
140 # Distributed under the terms of the GNU General Public License v2
141 # $Header: /var/cvsroot/gentoo-x86/www-client/arora/arora-0.10.2-r1.ebuild,v 1.1 2009/12/27 03:15:28 yngwin Exp $
142
143 EAPI=2
144 inherit eutils qt4
145
146 DESCRIPTION="A cross-platform Qt4 WebKit browser"
147 HOMEPAGE="http://arora.googlecode.com/"
148 SRC_URI="http://arora.googlecode.com/files/${P}.tar.gz"
149
150 LICENSE="|| ( GPL-3 GPL-2 )"
151 SLOT="0"
152 KEYWORDS="~amd64 ~x86"
153 IUSE="debug doc"
154
155 RDEPEND=">=x11-libs/qt-gui-4.6.0_rc1
156 >=x11-libs/qt-sql-4.6.0_rc1
157 >=x11-libs/qt-webkit-4.6.0_rc1
158 >=x11-libs/qt-xmlpatterns-4.6.0_rc1"
159 DEPEND="${RDEPEND}
160 doc? ( app-doc/doxygen )"
161
162 ARORA_LANGS="ast ca es es_CR et_EE fr_CA gl ms nb_NO pt_BR pt_PT sr@latin sr_CS uk
163 zh_CN zh_TW"
164 ARORA_NOLONGLANGS="cs_CZ da_DK de_DE el_GR fi_FI fr_FR he_IL hu_HU it_IT ja_JP
165 nl_NL pl_PL ru_RU sk_SK tr_TR"
166
167 for L in $ARORA_LANGS; do
168 IUSE="$IUSE linguas_$L"
169 done
170 for L in $ARORA_NOLONGLANGS; do
171 IUSE="$IUSE linguas_${L%_*}"
172 done
173
174 src_prepare() {
175 # use Gentoo lingua designations
176 mv src/locale/sr_RS@×××××.ts src/locale/sr@×××××.ts
177 mv src/locale/sr_RS.ts src/locale/sr_CS.ts
178
179 # process linguas
180 local langs=
181 for lingua in $LINGUAS; do
182 if has $lingua $ARORA_LANGS; then
183 langs="$langs ${lingua}.ts"
184 else
185 for a in $ARORA_NOLONGLANGS; do
186 if [[ $lingua == ${a%_*} ]]; then
187 langs="$langs ${a}.ts"
188 fi
189 done
190 fi
191 done
192
193 # remove all translations, then add only the ones we want
194 sed -i '/ts/d' src/locale/locale.pri || die 'sed failed'
195 sed -i "/^TRANSLATIONS/s:\\\:${langs}:" src/locale/locale.pri \
196 || die 'sed failed'
197
198 if ! use doc ; then
199 sed -i 's|QMAKE_EXTRA|#QMAKE_EXTRA|' arora.pro || die 'sed failed'
200 fi
201 }
202
203 src_configure() {
204 eqmake4 arora.pro PREFIX=/usr
205 }
206
207 src_compile() {
208 emake || die "make failed"
209
210 # don't pre-strip
211 sed -i "/strip/d" src/Makefile || die 'sed failed'
212 }
213
214 src_install() {
215 emake INSTALL_ROOT="${D}" install || die 'make install failed'
216 dodoc AUTHORS ChangeLog README
217 }