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.7.1.ebuild
Date: Sun, 31 May 2009 00:35:26
Message-Id: E1MAZ1I-0003lp-8u@stork.gentoo.org
1 yngwin 09/05/31 00:35:24
2
3 Modified: ChangeLog
4 Added: arora-0.7.1.ebuild
5 Log:
6 Version bump. This release fixes parallel make issues, bug 271240.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.17 www-client/arora/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-client/arora/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 25 May 2009 22:43:03 -0000 1.16
23 +++ ChangeLog 31 May 2009 00:35:24 -0000 1.17
24 @@ -1,6 +1,11 @@
25 # ChangeLog for www-client/arora
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-client/arora/ChangeLog,v 1.16 2009/05/25 22:43:03 yngwin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-client/arora/ChangeLog,v 1.17 2009/05/31 00:35:24 yngwin Exp $
29 +
30 +*arora-0.7.1 (31 May 2009)
31 +
32 + 31 May 2009; Ben de Groot <yngwin@g.o> +arora-0.7.1.ebuild:
33 + Version bump. This release fixes parallel make issues, bug 271240.
34
35 25 May 2009; Ben de Groot <yngwin@g.o> arora-0.7.0.ebuild:
36 Ensure compilation by enforcing make -j1, fixes bug 271240
37
38
39
40 1.1 www-client/arora/arora-0.7.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/arora-0.7.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/arora-0.7.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: arora-0.7.1.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/www-client/arora/arora-0.7.1.ebuild,v 1.1 2009/05/31 00:35:24 yngwin Exp $
50
51 EAPI=2
52 inherit eutils qt4
53
54 DESCRIPTION="A cross-platform Qt4 WebKit browser"
55 HOMEPAGE="http://arora.googlecode.com/"
56 SRC_URI="http://arora.googlecode.com/files/${P}.tar.gz"
57
58 LICENSE="|| ( GPL-3 GPL-2 )"
59 SLOT="0"
60 KEYWORDS="~amd64 ~x86"
61 IUSE="debug"
62
63 RDEPEND="x11-libs/qt-gui
64 x11-libs/qt-sql
65 x11-libs/qt-webkit"
66 DEPEND="$RDEPEND"
67
68 ARORA_LANGS="es es_CR et_EE fr_CA gl ms nb_NO uk zh_CN"
69 ARORA_NOLONGLANGS="cs_CZ da_DK de_DE fr_FR he_IL hu_HU it_IT ja_JP nl_NL pl_PL
70 ru_RU sk_SK tr_TR"
71
72 for L in $ARORA_LANGS; do
73 IUSE="$IUSE linguas_$L"
74 done
75 for L in $ARORA_NOLONGLANGS; do
76 IUSE="$IUSE linguas_${L%_*}"
77 done
78
79 src_prepare() {
80 # process linguas
81 local langs=
82 for lingua in $LINGUAS; do
83 if has $lingua $ARORA_LANGS; then
84 langs="$langs ${lingua}.ts"
85 else
86 for a in $ARORA_NOLONGLANGS; do
87 if [[ $lingua == ${a%_*} ]]; then
88 langs="$langs ${a}.ts"
89 fi
90 done
91 fi
92 done
93
94 # remove all translations, then add only the ones we want
95 sed -i '/ts/d' src/locale/locale.pri || die 'sed failed'
96 sed -i "/^TRANSLATIONS/s:\\\:${langs}:" src/locale/locale.pri \
97 || die 'sed failed'
98 }
99
100 src_configure() {
101 eqmake4 arora.pro PREFIX=/usr
102 }
103
104 src_compile() {
105 emake || die "make failed"
106
107 # don't pre-strip
108 sed -i "/strip/d" src/Makefile || die 'sed failed'
109 }
110
111 src_install() {
112 emake INSTALL_ROOT="${D}" install || die 'make install failed'
113 dodoc AUTHORS ChangeLog README
114 }