1 |
commit: 5fdad3d06f1617fc43fed221b06a8285bd4a1e05 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 31 23:03:15 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 1 01:33:11 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fdad3d0 |
7 |
|
8 |
www-client/qupzilla: 2.2.5 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.21, Repoman-2.3.6 |
11 |
|
12 |
www-client/qupzilla/Manifest | 1 + |
13 |
www-client/qupzilla/qupzilla-2.2.5.ebuild | 120 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 121 insertions(+) |
15 |
|
16 |
diff --git a/www-client/qupzilla/Manifest b/www-client/qupzilla/Manifest |
17 |
index 1bcc8ee7239..6ac3a86b4ca 100644 |
18 |
--- a/www-client/qupzilla/Manifest |
19 |
+++ b/www-client/qupzilla/Manifest |
20 |
@@ -1,4 +1,5 @@ |
21 |
DIST QupZilla-2.1.2.tar.xz 2767560 BLAKE2B 4d012f86618680a112c227d07d71c24d6fc2c517be63fe172abc99eb0c20e8b2756e2cc51049b0dff91e1739357121afe0b1e7328df372370dec969995447eb0 SHA512 d09a394ba70ae0f7f908940a26d6554a3706b6638c197d16b75e1e5855f76015c8e13b7155c40dacee3a38080a0c277d9410eaf07cf912dc4b295eafe1ff6343 |
22 |
DIST QupZilla-2.2.4.tar.xz 2525660 BLAKE2B b94841d12c8f374df2fb4a8773d9d7e6b1b6b35db51ddd20d94f7a2cb70a345226baff64bf15be756e3911fa86714588e9e8c51842562ca558f1abd537ce3ffa SHA512 07a71fb3eb52356589871fb458fa3e931ee01f87e67ecbba614f715181130f9bec53e2f6df2c83f08d0223990f8bbe225ea21171e048574b265ae20576b48053 |
23 |
+DIST QupZilla-2.2.5.tar.xz 2532760 BLAKE2B b9bf3f5415aa5a06397a7b9f98f56a16a7c9238d561bf6a2583214e43b23c53c825c8274b51ff0e34ced8aac6077c12dad60968d88abe810ccb35dbd2a457e0e SHA512 78e02141f18268a5f31a896c49e4f6cbd709e609dfcdb50277fc20123526e5316b79ede612dcac74ff07103334c381e4d657b18b6e187a10983d5a44a649858a |
24 |
DIST qupzilla-plugins-2016.05.02.tar.gz 425314 BLAKE2B c10f9f3fe17f36b91a77b4bdb15b3d0c63160c50b558ba2f180ec83b2d226b15baea51e9125e0c72d3960c2f99f8f3753d90c7eeb4b88eb07381da19bc3ea777 SHA512 b294ecb2372b3267603a43bc7412ab75d2cd29a8c4667331f0d2c74e3b0b99d0c2a005b9e4854c6d777894522bba9fb3b1607e85e8da6dcbaa760c9ddc6288f2 |
25 |
DIST qupzilla-plugins-2017.03.26.tar.gz 430926 BLAKE2B d5db8c854886b1af8db20aaffe9a244600259d4f8cbc40890bf0f1075f790afe1a6e2ac19abe06c585eff0353127a3a7b1b1b79013bfc1b81bf5df750e5d9d20 SHA512 3b04b41208dddd25fd58937986cf12f2b521cf78a64380b915d46735ada3f4776f914056c5511daa781c89867d0309af7cbf833eb71dfa4b14b6b9ba25d80315 |
26 |
|
27 |
diff --git a/www-client/qupzilla/qupzilla-2.2.5.ebuild b/www-client/qupzilla/qupzilla-2.2.5.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..acb97d50c17 |
30 |
--- /dev/null |
31 |
+++ b/www-client/qupzilla/qupzilla-2.2.5.ebuild |
32 |
@@ -0,0 +1,120 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PLOCALES="ar_SA bg_BG ca_ES cs_CZ da_DK de_DE el_GR es_419 es_ES es_MX es_VE |
39 |
+ eu_ES fa_IR fi_FI fr_FR gl_ES he_IL hr_HR hu_HU id_ID is it_IT ja_JP |
40 |
+ ka_GE lg lt lv_LV nb_NO nl_NL nqo pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK |
41 |
+ sl_SI sr sr@ijekavian sr@ijekavianlatin sr@latin sv_SE tr_TR uk_UA |
42 |
+ uz@Latn zh_CN zh_HK zh_TW" |
43 |
+ |
44 |
+PLUGINS_HASH="80fea7df7765fdf9c9c64fdb667052b25f1c0a22" |
45 |
+PLUGINS_VERSION="2017.03.26" # if there are no updates, we can use the older archive |
46 |
+ |
47 |
+inherit gnome2-utils l10n qmake-utils xdg-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 ~arm ~x86" |
56 |
+ S=${WORKDIR}/${MY_P} |
57 |
+fi |
58 |
+ |
59 |
+DESCRIPTION="A cross-platform web browser using QtWebEngine" |
60 |
+HOMEPAGE="https://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 kwallet libressl nonblockdialogs" |
66 |
+ |
67 |
+COMMON_DEPEND=" |
68 |
+ >=dev-qt/qtcore-5.8:5 |
69 |
+ >=dev-qt/qtdeclarative-5.8:5[widgets] |
70 |
+ >=dev-qt/qtgui-5.8:5 |
71 |
+ >=dev-qt/qtnetwork-5.8:5[ssl] |
72 |
+ >=dev-qt/qtprintsupport-5.8:5 |
73 |
+ >=dev-qt/qtsql-5.8:5[sqlite] |
74 |
+ >=dev-qt/qtwebchannel-5.8:5 |
75 |
+ >=dev-qt/qtwebengine-5.8:5[widgets] |
76 |
+ >=dev-qt/qtwidgets-5.8:5 |
77 |
+ >=dev-qt/qtx11extras-5.8:5 |
78 |
+ x11-libs/libxcb:= |
79 |
+ dbus? ( >=dev-qt/qtdbus-5.8:5 ) |
80 |
+ gnome-keyring? ( gnome-base/gnome-keyring ) |
81 |
+ kwallet? ( kde-frameworks/kwallet:5 ) |
82 |
+ libressl? ( dev-libs/libressl:= ) |
83 |
+ !libressl? ( dev-libs/openssl:0= ) |
84 |
+" |
85 |
+DEPEND="${COMMON_DEPEND} |
86 |
+ >=dev-qt/linguist-tools-5.8:5 |
87 |
+ >=dev-qt/qtconcurrent-5.8:5 |
88 |
+ virtual/pkgconfig |
89 |
+" |
90 |
+RDEPEND="${COMMON_DEPEND} |
91 |
+ >=dev-qt/qtsvg-5.8:5 |
92 |
+" |
93 |
+ |
94 |
+DOCS=( AUTHORS BUILDING.md CHANGELOG FAQ README.md ) |
95 |
+ |
96 |
+src_unpack() { |
97 |
+ if [[ ${PV} == *9999 ]]; then |
98 |
+ git-r3_src_unpack |
99 |
+ fi |
100 |
+ default |
101 |
+} |
102 |
+ |
103 |
+src_prepare() { |
104 |
+ # get extra plugins into qupzilla build tree |
105 |
+ mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_HASH}/plugins/* src/plugins/ || die |
106 |
+ |
107 |
+ rm_loc() { |
108 |
+ # remove localizations the user has not specified |
109 |
+ sed -i -e "/${1}.ts/d" translations/translations.pri || die |
110 |
+ rm translations/${1}.ts || die |
111 |
+ } |
112 |
+ |
113 |
+ # remove outdated prebuilt localizations |
114 |
+ rm -rf bin/locale || die |
115 |
+ |
116 |
+ # remove empty locale |
117 |
+ rm translations/empty.ts || die |
118 |
+ |
119 |
+ l10n_find_plocales_changes translations '' .ts |
120 |
+ l10n_for_each_disabled_locale_do rm_loc |
121 |
+ |
122 |
+ default |
123 |
+} |
124 |
+ |
125 |
+src_configure() { |
126 |
+ # see BUILDING document for explanation of options |
127 |
+ export \ |
128 |
+ QUPZILLA_PREFIX="${EPREFIX}/usr" \ |
129 |
+ USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)" \ |
130 |
+ DEBUG_BUILD=$(usex debug true '') \ |
131 |
+ DISABLE_DBUS=$(usex dbus '' true) \ |
132 |
+ GNOME_INTEGRATION=$(usex gnome-keyring true '') \ |
133 |
+ KDE_INTEGRATION=$(usex kwallet true '') \ |
134 |
+ NONBLOCK_JS_DIALOGS=$(usex nonblockdialogs true '') |
135 |
+ |
136 |
+ eqmake5 |
137 |
+} |
138 |
+ |
139 |
+src_install() { |
140 |
+ emake INSTALL_ROOT="${D}" install |
141 |
+ einstalldocs |
142 |
+} |
143 |
+ |
144 |
+pkg_postinst() { |
145 |
+ xdg_desktop_database_update |
146 |
+ gnome2_icon_cache_update |
147 |
+} |
148 |
+ |
149 |
+pkg_postrm() { |
150 |
+ xdg_desktop_database_update |
151 |
+ gnome2_icon_cache_update |
152 |
+} |