/[gentoo-x86]/www-client/qupzilla/qupzilla-1.3.5.ebuild
Gentoo

Contents of /www-client/qupzilla/qupzilla-1.3.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Nov 1 09:37:43 2012 UTC (20 months, 3 weeks ago) by ago
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable for x86, wrt bug #440378

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/qupzilla-1.3.5.ebuild,v 1.4 2012/10/31 15:48:18 ago Exp $
4
5 EAPI=4
6 PLOCALES="cs_CZ de_DE el_GR es_ES es_VE fa_IR fr_FR hu_HU id_ID it_IT ja_JP
7 ka_GE nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sr_BA sr_RS sv_SE uk_UA
8 zh_CN zh_TW"
9 inherit l10n multilib qt4-r2 vcs-snapshot
10
11 MY_P="QupZilla-${PV}"
12
13 DESCRIPTION="Qt WebKit web browser"
14 HOMEPAGE="http://www.qupzilla.com/"
15 SRC_URI="mirror://github/QupZilla/${PN}/${MY_P}.tar.gz"
16
17 LICENSE="GPL-3"
18 SLOT="0"
19 KEYWORDS="amd64 x86"
20 IUSE="dbus debug kde nonblockdialogs"
21
22 DEPEND="
23 >=x11-libs/qt-core-4.7:4
24 >=x11-libs/qt-gui-4.7:4
25 >=x11-libs/qt-script-4.7:4
26 >=x11-libs/qt-sql-4.7:4
27 >=x11-libs/qt-webkit-4.7:4
28 dbus? ( >=x11-libs/qt-dbus-4.7:4 )"
29 RDEPEND="${DEPEND}"
30
31 S=${WORKDIR}/${MY_P}
32
33 DOCS="AUTHORS BUILDING CHANGELOG FAQ README.md TODO"
34
35 src_prepare() {
36 # remove outdated copies of localizations:
37 rm -rf bin/locale || die
38 epatch "${FILESDIR}"/${P}-libX11-underlinking.patch
39 epatch_user
40 }
41
42 src_configure() {
43 # see BUILDING document for explanation of options
44 export QUPZILLA_PREFIX=${EPREFIX}/usr/
45 export USE_LIBPATH=${QUPZILLA_PREFIX}$(get_libdir)
46 export DISABLE_DBUS=$(use dbus && echo false || echo true)
47 export KDE=$(use kde && echo true || echo false) # in future this will enable nepomuk integration
48 export NONBLOCK_JS_DIALOGS=$(use nonblockdialogs && echo true || echo false)
49 has_version '>=x11-libs/qt-webkit-4.8.0:4' && export USE_QTWEBKIT_2_2=true
50
51 eqmake4
52 }
53
54 src_install() {
55 qt4-r2_src_install
56 l10n_for_each_disabled_locale_do rm_loc
57 }
58
59 rm_loc() {
60 rm "${D}"/usr/share/${PN}/locale/${1}.qm || die
61 }

  ViewVC Help
Powered by ViewVC 1.1.20