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/qupzilla: qupzilla-1.8.6.ebuild ChangeLog
Date: Sat, 31 Jan 2015 16:07:23
Message-Id: 20150131160720.58DC010C4E@oystercatcher.gentoo.org
1 yngwin 15/01/31 16:07:20
2
3 Modified: ChangeLog
4 Added: qupzilla-1.8.6.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x4FDF9CFD2FAC514E!)
9
10 Revision Changes Path
11 1.52 www-client/qupzilla/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/ChangeLog?rev=1.52&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/ChangeLog?rev=1.52&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/ChangeLog?r1=1.51&r2=1.52
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v
20 retrieving revision 1.51
21 retrieving revision 1.52
22 diff -u -r1.51 -r1.52
23 --- ChangeLog 28 Dec 2014 13:56:33 -0000 1.51
24 +++ ChangeLog 31 Jan 2015 16:07:20 -0000 1.52
25 @@ -1,6 +1,11 @@
26 # ChangeLog for www-client/qupzilla
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v 1.51 2014/12/28 13:56:33 kensington Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v 1.52 2015/01/31 16:07:20 yngwin Exp $
31 +
32 +*qupzilla-1.8.6 (31 Jan 2015)
33 +
34 + 31 Jan 2015; Ben de Groot <yngwin@g.o> +qupzilla-1.8.6.ebuild:
35 + version bump
36
37 28 Dec 2014; Michael Palimaka <kensington@g.o>
38 -files/qupzilla-1.6.5-plugins-version-check-fix.patch,
39
40
41
42 1.1 www-client/qupzilla/qupzilla-1.8.6.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/qupzilla-1.8.6.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/qupzilla-1.8.6.ebuild?rev=1.1&content-type=text/plain
46
47 Index: qupzilla-1.8.6.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/qupzilla-1.8.6.ebuild,v 1.1 2015/01/31 16:07:20 yngwin Exp $
52
53 EAPI=5
54 MY_PN="QupZilla"
55 MY_P=${MY_PN}-${PV}
56 PLOCALES="ar_SA bg_BG ca_ES cs_CZ de_DE el_GR es_ES es_MX es_VE eu_ES fa_IR fi_FI fr_FR gl_ES he_IL hr_HR hu_HU id_ID it_IT ja_JP ka_GE lg lv_LV nl_NL nqo pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sr sr@ijekavian sr@ijekavianlatin sr@latin sv_SE tr_TR uk_UA uz@Latn zh_CN zh_TW"
57 PLUGINS_HASH='1f8122da27362ae14a6e3c029830b51e9bac03be'
58 PLUGINS_VERSION='2015.01.27' # if there are no updates, we can use the older archive
59
60 inherit eutils l10n multilib qmake-utils vcs-snapshot
61
62 DESCRIPTION="Qt WebKit web browser"
63 HOMEPAGE="http://www.qupzilla.com/"
64 SRC_URI="https://github.com/${MY_PN}/${PN}/releases/download/v${PV}/${MY_P}.tar.xz
65 https://github.com/${MY_PN}/${PN}-plugins/archive/${PLUGINS_HASH}.tar.gz -> ${PN}-plugins-${PLUGINS_VERSION}.tar.gz"
66
67 LICENSE="GPL-3"
68 SLOT="0"
69 KEYWORDS="~amd64 ~arm ~x86"
70 IUSE="dbus debug gnome-keyring kde nonblockdialogs +qt4 qt5"
71 REQUIRED_USE="^^ ( qt4 qt5 )"
72
73 RDEPEND="dev-libs/openssl:0
74 gnome-keyring? ( gnome-base/gnome-keyring )
75 kde? ( kde-base/kwalletd:4 )
76 qt4? ( >=dev-qt/qtcore-4.8:4
77 >=dev-qt/qtgui-4.8:4
78 >=dev-qt/qtscript-4.8:4
79 >=dev-qt/qtsql-4.8:4[sqlite]
80 >=dev-qt/qtwebkit-4.8:4
81 dbus? ( >=dev-qt/qtdbus-4.8:4 ) )
82 qt5? ( dev-qt/linguist-tools:5
83 dev-qt/qtcore:5
84 dev-qt/qtgui:5
85 dev-qt/qtconcurrent:5
86 dev-qt/qtprintsupport:5
87 dev-qt/qtscript:5
88 dev-qt/qtsql:5[sqlite]
89 dev-qt/qtwebkit:5
90 dbus? ( dev-qt/qtdbus:5 ) )"
91 DEPEND="${RDEPEND}
92 virtual/pkgconfig"
93
94 DOCS=( AUTHORS CHANGELOG FAQ README.md )
95 S=${WORKDIR}/${MY_P}
96
97 src_prepare() {
98 rm_loc() {
99 # remove localizations the user has not specified
100 sed -i -e "/${1}.ts/d" translations/translations.pri || die
101 rm translations/${1}.ts || die
102 }
103
104 # remove outdated prebuilt localizations
105 rm -rf bin/locale || die
106
107 # remove empty locale
108 rm translations/empty.ts || die
109
110 # get extra plugins into qupzilla build tree
111 mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_VERSION}/plugins/* "${S}"/src/plugins/ || die
112
113 l10n_find_plocales_changes "translations" "" ".ts"
114 l10n_for_each_disabled_locale_do rm_loc
115 }
116
117 src_configure() {
118 # see BUILDING document for explanation of options
119 export \
120 QUPZILLA_PREFIX="${EPREFIX}/usr/" \
121 USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)" \
122 USE_QTWEBKIT_2_2=true \
123 DISABLE_DBUS=$(usex dbus '' 'true') \
124 KDE_INTEGRATION=$(usex kde 'true' '') \
125 NONBLOCK_JS_DIALOGS=$(usex nonblockdialogs 'true' '')
126
127 if use qt4 ; then
128 eqmake4 $(use gnome-keyring && echo "DEFINES+=GNOME_INTEGRATION")
129 else
130 eqmake5 $(use gnome-keyring && echo "DEFINES+=GNOME_INTEGRATION")
131 fi
132 }
133
134 src_install() {
135 emake INSTALL_ROOT="${D}" install
136 einstalldocs
137 }
138
139 pkg_postinst() {
140 if has_version www-plugins/adobe-flash; then
141 ewarn "For using adobe flash plugin you may need to run"
142 ewarn " \"paxctl-ng -m /usr/bin/qupzilla\""
143 fi
144 }