Gentoo Archives: gentoo-commits

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