/[gentoo-x86]/www-client/arora/arora-0.11.0.ebuild
Gentoo

Contents of /www-client/arora/arora-0.11.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Mar 28 17:03:20 2012 UTC (7 years, 7 months ago) by pesa
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove arora (has open security bug, dead upstream).

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-client/arora/arora-0.11.0.ebuild,v 1.3 2011/11/20 12:21:48 pesa Exp $
4
5 EAPI=3
6
7 inherit eutils qt4-r2
8
9 DESCRIPTION="A cross-platform Qt4 WebKit browser"
10 HOMEPAGE="http://arora.googlecode.com/"
11 SRC_URI="http://arora.googlecode.com/files/${P}.tar.gz"
12
13 LICENSE="|| ( GPL-3 GPL-2 )"
14 SLOT="0"
15 KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
16 IUSE="debug doc"
17
18 RDEPEND="x11-libs/qt-gui:4
19 x11-libs/qt-sql:4
20 x11-libs/qt-webkit:4
21 x11-libs/qt-xmlpatterns:4"
22 DEPEND="${RDEPEND}
23 doc? ( app-doc/doxygen )"
24
25 ARORA_LANGS="ast ca es es_CR et_EE fr_CA gl ms nb_NO nl pt_BR pt_PT sr@latin sr_CS uk
26 zh_CN zh_TW"
27 ARORA_NOLONGLANGS="cs_CZ da_DK de_DE el_GR fi_FI fr_FR he_IL hu_HU it_IT ja_JP
28 pl_PL ru_RU sk_SK tr_TR"
29
30 for L in ${ARORA_LANGS}; do
31 IUSE+=" linguas_${L}"
32 done
33 for L in ${ARORA_NOLONGLANGS}; do
34 IUSE+=" linguas_${L%_*}"
35 done
36
37 DOCS="AUTHORS ChangeLog README"
38
39 src_prepare() {
40 # use Gentoo lingua designations
41 mv src/locale/sr_RS@latin.ts src/locale/sr@latin.ts
42 mv src/locale/sr_RS.ts src/locale/sr_CS.ts
43
44 # process linguas
45 local langs=
46 for lingua in ${LINGUAS}; do
47 if has ${lingua} ${ARORA_LANGS}; then
48 langs+=" ${lingua}.ts"
49 else
50 for a in ${ARORA_NOLONGLANGS}; do
51 if [[ ${lingua} == ${a%_*} ]]; then
52 langs+=" ${a}.ts"
53 fi
54 done
55 fi
56 done
57
58 # remove all translations, then add only the ones we want
59 sed -i '/ts/d' src/locale/locale.pri || die
60 sed -i "/^TRANSLATIONS/s:\\\:${langs}:" src/locale/locale.pri || die
61
62 if ! use doc ; then
63 sed -i 's|QMAKE_EXTRA|#QMAKE_EXTRA|' arora.pro || die
64 fi
65 }
66
67 src_configure() {
68 eqmake4 PREFIX="${EPREFIX}"/usr
69 }
70
71 src_compile() {
72 qt4-r2_src_compile
73
74 # don't pre-strip
75 sed -i "/strip/d" src/Makefile || die
76 }

  ViewVC Help
Powered by ViewVC 1.1.20