Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/arora: ChangeLog arora-0.9.0.ebuild
Date: Tue, 01 Sep 2009 11:38:07
Message-Id: E1MiWVQ-0004g2-JN@stork.gentoo.org
1 wired 09/09/01 16:46:52
2
3 Modified: ChangeLog
4 Added: arora-0.9.0.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.23 www-client/arora/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/ChangeLog?rev=1.23&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/ChangeLog?rev=1.23&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/ChangeLog?r1=1.22&r2=1.23
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-client/arora/ChangeLog,v
19 retrieving revision 1.22
20 retrieving revision 1.23
21 diff -u -r1.22 -r1.23
22 --- ChangeLog 22 Jul 2009 22:26:48 -0000 1.22
23 +++ ChangeLog 1 Sep 2009 16:46:52 -0000 1.23
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.22 2009/07/22 22:26:48 yngwin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-client/arora/ChangeLog,v 1.23 2009/09/01 16:46:52 wired Exp $
29 +
30 +*arora-0.9.0 (01 Sep 2009)
31 +
32 + 01 Sep 2009; Alex Alexander <wired@g.o> +arora-0.9.0.ebuild:
33 + version bump
34
35 *arora-0.8.0 (22 Jul 2009)
36
37
38
39
40 1.1 www-client/arora/arora-0.9.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/arora-0.9.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/arora/arora-0.9.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: arora-0.9.0.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.9.0.ebuild,v 1.1 2009/09/01 16:46:52 wired 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 doc"
62
63 RDEPEND="x11-libs/qt-gui
64 x11-libs/qt-sql
65 x11-libs/qt-webkit"
66 DEPEND="$RDEPEND"
67
68 ARORA_LANGS="ast ca es es_CR et_EE fr_CA gl ms nb_NO pt_BR sr@latin sr_CS uk
69 zh_CN zh_TW"
70 ARORA_NOLONGLANGS="cs_CZ da_DK de_DE el_GR fi_FI fr_FR he_IL hu_HU it_IT ja_JP
71 nl_NL pl_PL ru_RU sk_SK tr_TR"
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 # use Gentoo lingua designations
82 mv src/locale/sr_RS@×××××.ts src/locale/sr@×××××.ts
83 mv src/locale/sr_RS.ts src/locale/sr_CS.ts
84
85 # process linguas
86 local langs=
87 for lingua in $LINGUAS; do
88 if has $lingua $ARORA_LANGS; then
89 langs="$langs ${lingua}.ts"
90 else
91 for a in $ARORA_NOLONGLANGS; do
92 if [[ $lingua == ${a%_*} ]]; then
93 langs="$langs ${a}.ts"
94 fi
95 done
96 fi
97 done
98
99 # remove all translations, then add only the ones we want
100 sed -i '/ts/d' src/locale/locale.pri || die 'sed failed'
101 sed -i "/^TRANSLATIONS/s:\\\:${langs}:" src/locale/locale.pri \
102 || die 'sed failed'
103
104 if ! use doc ; then
105 sed -i 's|QMAKE_EXTRA|#QMAKE_EXTRA|' arora.pro || die 'sed failed'
106 fi
107 }
108
109 src_configure() {
110 eqmake4 arora.pro PREFIX=/usr
111 }
112
113 src_compile() {
114 emake || die "make failed"
115
116 # don't pre-strip
117 sed -i "/strip/d" src/Makefile || die 'sed failed'
118 }
119
120 src_install() {
121 emake INSTALL_ROOT="${D}" install || die 'make install failed'
122 dodoc AUTHORS ChangeLog README
123 }