Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/qupzilla/
Date: Sat, 25 Feb 2017 19:42:53
Message-Id: 1488051746.3d0664d56ca9492bba817398a894fb7dcc80ba56.asturm@gentoo
1 commit: 3d0664d56ca9492bba817398a894fb7dcc80ba56
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 25 12:51:57 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 25 19:42:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d0664d5
7
8 www-client/qupzilla: 2.1.1 version bump
9
10 Changing HOMEPAGE to https.
11 dev-qt/qtconcurrent is not linked against.
12 Adding subslot operator to openssl.
13
14 Reported-by: Arnaud Vallette d'Osia <arnaudv6 <AT> free.fr>
15 Gentoo-bug: 610584
16
17 Package-Manager: Portage-2.3.3, Repoman-2.3.1
18
19 www-client/qupzilla/Manifest | 1 +
20 www-client/qupzilla/qupzilla-2.1.1.ebuild | 108 ++++++++++++++++++++++++++++++
21 2 files changed, 109 insertions(+)
22
23 diff --git a/www-client/qupzilla/Manifest b/www-client/qupzilla/Manifest
24 index ce47edf04d..7661328962 100644
25 --- a/www-client/qupzilla/Manifest
26 +++ b/www-client/qupzilla/Manifest
27 @@ -1,2 +1,3 @@
28 DIST QupZilla-2.0.2.tar.xz 2705700 SHA256 da4f9b3441386cfcc3000b950c40daa8818380d69b5054f156a345fdbac3855a SHA512 52a549a58545fc67a213a6aba50772974e2558887cc32d56a702185170e0a6048ac8c9744e8d4803b7d7ad09bdbb59d8562992b201cd99833dd055ee2506c08a WHIRLPOOL e3ae7d05dcc329e53103d273d9882a44fc6f46568078343c78d98192b6e960c623331e307f6ba414371eff29c505c9881c80414eb2670d6bfeef2490ddeea74e
29 +DIST QupZilla-2.1.1.tar.xz 2769088 SHA256 5c2137875574607c017f3f94288f08f8ec4187d0d0ea4877f923437aeb08def5 SHA512 ae52fb0c3bd9f8445fd27589954b04f467fa00730a99652a19daf81dcc93e30eca76a16f14f3fba144e1d7feccf2685bd5855e896b938356f1a67daad9a340e1 WHIRLPOOL 61cbe3fe7ccce7027edf09e9eb820a6a82460d594d6efdbb741b8b301a5400fc7b2362429775d575e1f793b457425afe8cf7991c210ed97b277ce7a2d1a232b7
30 DIST qupzilla-plugins-2016.05.02.tar.gz 425314 SHA256 276491a89daf1b64d6eab861b54d313e85c815d322bf51d47491f00ad22f55bc SHA512 b294ecb2372b3267603a43bc7412ab75d2cd29a8c4667331f0d2c74e3b0b99d0c2a005b9e4854c6d777894522bba9fb3b1607e85e8da6dcbaa760c9ddc6288f2 WHIRLPOOL 471807dc70dd3ea072f1e429a6e67ea97ecd5eadc02ac19debdcddfca4f5cb8e1767ad754aed1ff8a557f0734460a87b4e2d5e01ea57d07c473f48b006e32ef1
31
32 diff --git a/www-client/qupzilla/qupzilla-2.1.1.ebuild b/www-client/qupzilla/qupzilla-2.1.1.ebuild
33 new file mode 100644
34 index 0000000000..5671cacee2
35 --- /dev/null
36 +++ b/www-client/qupzilla/qupzilla-2.1.1.ebuild
37 @@ -0,0 +1,108 @@
38 +# Copyright 1999-2017 Gentoo Foundation
39 +# Distributed under the terms of the GNU General Public License v2
40 +# $Id$
41 +
42 +EAPI=6
43 +
44 +PLOCALES="ar_SA bg_BG ca_ES cs_CZ da_DK de_DE el_GR es_ES es_MX es_VE eu_ES
45 + fa_IR fi_FI fr_FR gl_ES he_IL hr_HR hu_HU id_ID is it_IT ja_JP ka_GE
46 + lg lt lv_LV nl_NL nqo pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sr
47 + sr@ijekavian sr@ijekavianlatin sr@latin sv_SE tr_TR uk_UA uz@Latn
48 + zh_CN zh_HK zh_TW"
49 +
50 +PLUGINS_HASH='c332d306c0f6cf645c75eaf198d2fc5e12339e9e'
51 +PLUGINS_VERSION='2016.05.02' # if there are no updates, we can use the older archive
52 +
53 +inherit l10n qmake-utils
54 +
55 +if [[ ${PV} == *9999 ]]; then
56 + inherit git-r3
57 + EGIT_REPO_URI="https://github.com/QupZilla/${PN}.git"
58 +else
59 + MY_P=QupZilla-${PV}
60 + SRC_URI="https://github.com/QupZilla/${PN}/releases/download/v${PV}/${MY_P}.tar.xz"
61 + KEYWORDS="~amd64 ~x86"
62 + S=${WORKDIR}/${MY_P}
63 +fi
64 +
65 +DESCRIPTION="A cross-platform web browser using QtWebEngine"
66 +HOMEPAGE="https://www.qupzilla.com/"
67 +SRC_URI+=" https://github.com/QupZilla/${PN}-plugins/archive/${PLUGINS_HASH}.tar.gz -> ${PN}-plugins-${PLUGINS_VERSION}.tar.gz"
68 +
69 +LICENSE="GPL-3"
70 +SLOT="0"
71 +IUSE="dbus debug gnome-keyring kwallet libressl nonblockdialogs"
72 +
73 +RDEPEND="
74 + >=dev-qt/qtcore-5.7.1:5
75 + >=dev-qt/qtdeclarative-5.7.1:5[widgets]
76 + >=dev-qt/qtgui-5.7.1:5
77 + >=dev-qt/qtnetwork-5.7.1:5[ssl]
78 + >=dev-qt/qtprintsupport-5.7.1:5
79 + >=dev-qt/qtsql-5.7.1:5[sqlite]
80 + >=dev-qt/qtwebchannel-5.7.1:5
81 + >=dev-qt/qtwebengine-5.7.1:5[widgets]
82 + >=dev-qt/qtwidgets-5.7.1:5
83 + >=dev-qt/qtx11extras-5.7.1:5
84 + x11-libs/libxcb:=
85 + dbus? ( >=dev-qt/qtdbus-5.7.1:5 )
86 + gnome-keyring? ( gnome-base/gnome-keyring )
87 + kwallet? ( kde-frameworks/kwallet:5 )
88 + libressl? ( dev-libs/libressl:= )
89 + !libressl? ( dev-libs/openssl:0= )
90 +"
91 +DEPEND="${RDEPEND}
92 + >=dev-qt/linguist-tools-5.7.1:5
93 + >=dev-qt/qtconcurrent-5.7.1:5
94 + virtual/pkgconfig
95 +"
96 +
97 +DOCS=( AUTHORS BUILDING.md CHANGELOG FAQ README.md )
98 +
99 +src_unpack() {
100 + if [[ ${PV} == *9999 ]]; then
101 + git-r3_src_unpack
102 + fi
103 + default
104 +}
105 +
106 +src_prepare() {
107 + # get extra plugins into qupzilla build tree
108 + mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_HASH}/plugins/* "${S}"/src/plugins/ || die
109 +
110 + rm_loc() {
111 + # remove localizations the user has not specified
112 + sed -i -e "/${1}.ts/d" translations/translations.pri || die
113 + rm translations/${1}.ts || die
114 + }
115 +
116 + # remove outdated prebuilt localizations
117 + rm -rf bin/locale || die
118 +
119 + # remove empty locale
120 + rm translations/empty.ts || die
121 +
122 + l10n_find_plocales_changes translations '' .ts
123 + l10n_for_each_disabled_locale_do rm_loc
124 +
125 + default
126 +}
127 +
128 +src_configure() {
129 + # see BUILDING document for explanation of options
130 + export \
131 + QUPZILLA_PREFIX="${EPREFIX}/usr" \
132 + USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)" \
133 + DEBUG_BUILD=$(usex debug true '') \
134 + DISABLE_DBUS=$(usex dbus '' true) \
135 + GNOME_INTEGRATION=$(usex gnome-keyring true '') \
136 + KDE_INTEGRATION=$(usex kwallet true '') \
137 + NONBLOCK_JS_DIALOGS=$(usex nonblockdialogs true '')
138 +
139 + eqmake5
140 +}
141 +
142 +src_install() {
143 + emake INSTALL_ROOT="${D}" install
144 + einstalldocs
145 +}