Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/qupzilla/
Date: Fri, 28 Oct 2016 14:31:56
Message-Id: 1477665099.247a478d211ffbff532dea41403dc3a2137d7246.kensington@gentoo
1 commit: 247a478d211ffbff532dea41403dc3a2137d7246
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 28 14:30:59 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 28 14:31:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=247a478d
7
8 www-client/qupzilla: version bump
9
10 Package-Manager: portage-2.3.2
11
12 www-client/qupzilla/Manifest | 1 +
13 www-client/qupzilla/qupzilla-2.0.2.ebuild | 93 +++++++++++++++++++++++++++++++
14 2 files changed, 94 insertions(+)
15
16 diff --git a/www-client/qupzilla/Manifest b/www-client/qupzilla/Manifest
17 index 054114a..05b5bc3 100644
18 --- a/www-client/qupzilla/Manifest
19 +++ b/www-client/qupzilla/Manifest
20 @@ -1,2 +1,3 @@
21 DIST QupZilla-2.0.1.tar.xz 2700184 SHA256 38b89d00ad235687ca1ad327f7f108aee2d85cdc047a78b6811dedff0d07850d SHA512 5da50378f0129269ee322c8b8517797cc29abd272c65b39b96762dfd62c3ec1ac158d8b44deaf8158336d41f111fcda466ffa56511f6b56ab964e1ba36575b45 WHIRLPOOL 341e453733a69a3c298bc7fdb2bb0f67887c8a1fbda7ab64f6c9b8d8008b7577be261f9178c9b91cfbb8abb239f9c0e7cba295d3aad8b304e3aafb3f98dc737c
22 +DIST QupZilla-2.0.2.tar.xz 2705700 SHA256 da4f9b3441386cfcc3000b950c40daa8818380d69b5054f156a345fdbac3855a SHA512 52a549a58545fc67a213a6aba50772974e2558887cc32d56a702185170e0a6048ac8c9744e8d4803b7d7ad09bdbb59d8562992b201cd99833dd055ee2506c08a WHIRLPOOL e3ae7d05dcc329e53103d273d9882a44fc6f46568078343c78d98192b6e960c623331e307f6ba414371eff29c505c9881c80414eb2670d6bfeef2490ddeea74e
23 DIST qupzilla-plugins-2016.05.02.tar.gz 425314 SHA256 276491a89daf1b64d6eab861b54d313e85c815d322bf51d47491f00ad22f55bc SHA512 b294ecb2372b3267603a43bc7412ab75d2cd29a8c4667331f0d2c74e3b0b99d0c2a005b9e4854c6d777894522bba9fb3b1607e85e8da6dcbaa760c9ddc6288f2 WHIRLPOOL 471807dc70dd3ea072f1e429a6e67ea97ecd5eadc02ac19debdcddfca4f5cb8e1767ad754aed1ff8a557f0734460a87b4e2d5e01ea57d07c473f48b006e32ef1
24
25 diff --git a/www-client/qupzilla/qupzilla-2.0.2.ebuild b/www-client/qupzilla/qupzilla-2.0.2.ebuild
26 new file mode 100644
27 index 00000000..cacbc21
28 --- /dev/null
29 +++ b/www-client/qupzilla/qupzilla-2.0.2.ebuild
30 @@ -0,0 +1,93 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=6
36 +
37 +PLUGINS_HASH='c332d306c0f6cf645c75eaf198d2fc5e12339e9e'
38 +PLUGINS_VERSION='2016.05.02' # if there are no updates, we can use the older archive
39 +
40 +inherit qmake-utils
41 +
42 +if [[ ${PV} == *9999 ]]; then
43 + inherit git-r3
44 + EGIT_REPO_URI="https://github.com/QupZilla/${PN}.git"
45 +else
46 + MY_P=QupZilla-${PV}
47 + SRC_URI="https://github.com/QupZilla/${PN}/releases/download/v${PV}/${MY_P}.tar.xz"
48 + KEYWORDS="~amd64 ~x86"
49 + S=${WORKDIR}/${MY_P}
50 +fi
51 +
52 +DESCRIPTION="A cross-platform web browser using QtWebEngine"
53 +HOMEPAGE="http://www.qupzilla.com/"
54 +SRC_URI+=" https://github.com/QupZilla/${PN}-plugins/archive/${PLUGINS_HASH}.tar.gz -> ${PN}-plugins-${PLUGINS_VERSION}.tar.gz"
55 +
56 +LICENSE="GPL-3"
57 +SLOT="0"
58 +IUSE="dbus debug gnome-keyring kde libressl nonblockdialogs"
59 +
60 +RDEPEND="
61 + >=dev-qt/qtconcurrent-5.6:5
62 + >=dev-qt/qtcore-5.6:5
63 + >=dev-qt/qtdeclarative-5.6:5[widgets]
64 + >=dev-qt/qtgui-5.6:5
65 + >=dev-qt/qtnetwork-5.6:5[ssl]
66 + >=dev-qt/qtprintsupport-5.6:5
67 + >=dev-qt/qtsql-5.6:5[sqlite]
68 + >=dev-qt/qtwebchannel-5.6:5
69 + >=dev-qt/qtwebengine-5.6:5[widgets]
70 + >=dev-qt/qtwidgets-5.6:5
71 + >=dev-qt/qtx11extras-5.6:5
72 + x11-libs/libxcb:=
73 + dbus? ( >=dev-qt/qtdbus-5.6:5 )
74 + gnome-keyring? ( gnome-base/gnome-keyring )
75 + kde? ( kde-frameworks/kwallet:5 )
76 + libressl? ( dev-libs/libressl:= )
77 + !libressl? ( dev-libs/openssl:0 )
78 +"
79 +DEPEND="${RDEPEND}
80 + >=dev-qt/linguist-tools-5.6:5
81 + virtual/pkgconfig
82 +"
83 +
84 +DOCS=( AUTHORS BUILDING.md CHANGELOG FAQ README.md )
85 +
86 +src_unpack() {
87 + if [[ ${PV} == *9999 ]]; then
88 + git-r3_src_unpack
89 + fi
90 + default
91 +}
92 +
93 +src_prepare() {
94 + # get extra plugins into qupzilla build tree
95 + mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_HASH}/plugins/* "${S}"/src/plugins/ || die
96 +
97 + # remove outdated prebuilt localizations
98 + rm -rf bin/locale || die
99 +
100 + # remove empty locale
101 + rm translations/empty.ts || die
102 +
103 + default
104 +}
105 +
106 +src_configure() {
107 + # see BUILDING document for explanation of options
108 + export \
109 + QUPZILLA_PREFIX="${EPREFIX}/usr" \
110 + USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)" \
111 + DEBUG_BUILD=$(usex debug true '') \
112 + DISABLE_DBUS=$(usex dbus '' true) \
113 + GNOME_INTEGRATION=$(usex gnome-keyring true '') \
114 + KDE_INTEGRATION=$(usex kde true '') \
115 + NONBLOCK_JS_DIALOGS=$(usex nonblockdialogs true '')
116 +
117 + eqmake5
118 +}
119 +
120 +src_install() {
121 + emake INSTALL_ROOT="${D}" install
122 + einstalldocs
123 +}