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.4.ebuild arora-0.3_pre20080720.ebuild arora-0.3_pre20080705.ebuild
Date: Wed, 01 Oct 2008 18:37:32
Message-Id: E1Kl6Zk-0001de-3F@stork.gentoo.org
1 yngwin 08/10/01 18:37:28
2
3 Modified: ChangeLog
4 Added: arora-0.4.ebuild
5 Removed: arora-0.3_pre20080720.ebuild
6 arora-0.3_pre20080705.ebuild
7 Log:
8 Version bump, adding linguas support. Drop old versions.
9 (Portage version: 2.2_rc11/cvs/Linux 2.6.26.5 i686)
10
11 Revision Changes Path
12 1.6 www-client/arora/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/ChangeLog?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/ChangeLog?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/ChangeLog?r1=1.5&r2=1.6
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-client/arora/ChangeLog,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- ChangeLog 5 Aug 2008 05:32:04 -0000 1.5
25 +++ ChangeLog 1 Oct 2008 18:37:27 -0000 1.6
26 @@ -1,6 +1,13 @@
27 # ChangeLog for www-client/arora
28 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-client/arora/ChangeLog,v 1.5 2008/08/05 05:32:04 yngwin Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-client/arora/ChangeLog,v 1.6 2008/10/01 18:37:27 yngwin Exp $
31 +
32 +*arora-0.4 (01 Oct 2008)
33 +
34 + 01 Oct 2008; Ben de Groot <yngwin@g.o>
35 + -arora-0.3_pre20080705.ebuild, -arora-0.3_pre20080720.ebuild,
36 + +arora-0.4.ebuild:
37 + Version bump, adding linguas support. Drop old versions.
38
39 *arora-0.3 (05 Aug 2008)
40
41
42
43
44 1.1 www-client/arora/arora-0.4.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/arora-0.4.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/arora-0.4.ebuild?rev=1.1&content-type=text/plain
48
49 Index: arora-0.4.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/www-client/arora/arora-0.4.ebuild,v 1.1 2008/10/01 18:37:27 yngwin Exp $
54
55 EAPI=2
56 inherit eutils qt4
57
58 DESCRIPTION="A cross-platform Qt4 WebKit browser"
59 HOMEPAGE="http://arora.googlecode.com/"
60 SRC_URI="http://arora.googlecode.com/files/${P}.tar.gz"
61
62 LICENSE="|| ( GPL-3 GPL-2 )"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE=""
66
67 RDEPEND="x11-libs/qt-webkit:4"
68 DEPEND="$RDEPEND"
69
70 ARORA_LANGS="da de en es es_CR et fr_CA gl he hu it nl pl pt_BR ru tr"
71 ARORA_NOLONGLANGS="cs_CZ fr_FR"
72
73 for L in $ARORA_LANGS; do
74 IUSE="$IUSE linguas_$L"
75 done
76 for L in $ARORA_NOLONGLANGS; do
77 IUSE="$IUSE linguas_${L%_*}"
78 done
79
80 src_prepare() {
81 # process linguas
82 local langs=
83 for lingua in $LINGUAS; do
84 if has $lingua $ARORA_LANGS; then
85 langs="$langs ${lingua}.ts"
86 else
87 for a in $ARORA_NOLONGLANGS; do
88 if [[ $lingua == ${a%_*} ]]; then
89 langs="$langs ${a}.ts"
90 fi
91 done
92 fi
93 done
94
95 # remove all translations, then add only the ones we want
96 sed -i '/ts/d' src/locale/locale.pri || die 'sed failed'
97 sed -i "/^TRANSLATIONS/s:\\\:${langs}:" src/locale/locale.pri \
98 || die 'sed failed'
99 }
100
101 src_configure() {
102 eqmake4 arora.pro PREFIX="${D}/usr"
103 }
104
105 src_compile() {
106 emake || die "make failed"
107 }
108
109 src_install() {
110 emake DESTDIR="${D}" install
111 dodoc AUTHORS ChangeLog README
112 }