summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2016-04-28 21:58:55 +0200
committerDavide Pesavento <pesa@gentoo.org>2016-04-28 21:59:14 +0200
commitf3ba5815e561ee8e50a699bd76fe4ff8432e5a90 (patch)
tree18c6848c6445d6022b6d9d51a685693465b59007 /www-client/qupzilla
parentdev-vcs/subversion: Removed old. (diff)
downloadgentoo-f3ba5815e561ee8e50a699bd76fe4ff8432e5a90.tar.gz
gentoo-f3ba5815e561ee8e50a699bd76fe4ff8432e5a90.tar.bz2
gentoo-f3ba5815e561ee8e50a699bd76fe4ff8432e5a90.zip
www-client/qupzilla: version bump
Gentoo-Bug: 579164 Package-Manager: portage-2.2.28
Diffstat (limited to 'www-client/qupzilla')
-rw-r--r--www-client/qupzilla/Manifest2
-rw-r--r--www-client/qupzilla/qupzilla-2.0.0.ebuild106
2 files changed, 108 insertions, 0 deletions
diff --git a/www-client/qupzilla/Manifest b/www-client/qupzilla/Manifest
index 8d6f076a8061..39feaffee93b 100644
--- a/www-client/qupzilla/Manifest
+++ b/www-client/qupzilla/Manifest
@@ -1,2 +1,4 @@
DIST QupZilla-1.8.9.tar.xz 3004644 SHA256 620ffb10a3f6b3f596c2c38a84d9c320cb66dd2d5e6701e8e31945e26308fcac SHA512 64ee064aa55f4aa1c56ca3a925dbec66612d522eec570a96448d940d52239cb74dfb08b89610008b3ee669cfb4b287393020b8070162697e991aa8c04c57c448 WHIRLPOOL 4f5864c35d008b64292afbfb615cbb33a9e327446d637cbcd1bf41d0e4ffa7a3cf6a529d1eda14cba6bf28664aa40ee743f812b165698ba997a90cb2285cbc0d
+DIST QupZilla-2.0.0.tar.xz 2787692 SHA256 b357e2d3de91ec833a34f958c6eb649d86113235ee27a519722d8cae58bc8c78 SHA512 d7075017d0feabf6632540343ddef77e75fd693e859a34863f9d515545ac70a87b340fc50fef32569b67bbc93c3c3e360c3c124503279367c6f70316795107f5 WHIRLPOOL d0647f779577c7f4c8e2c9971b962e02fd8f6e475070a4fbd272b8f732838c4b941e50695a6264cf9ce6b38e4245ce17c3f5903ffe57f90d1d75d248562fee43
DIST qupzilla-plugins-2015.06.05.tar.gz 335627 SHA256 afc9589e54c3ed49f58c727c3ff7bd59d4467dfaf2ff78f57cd98afc4dfc1f7b SHA512 5f2a4b1796431c62580e569b57445b2a309b2314f59ceb0c99da2a1703a2ee23bd2d1cac8a1532be5f2161976b4dd5f439c08abe5c1826115e9adf636fc12522 WHIRLPOOL 10b53426888dc8868de783403463d0bbf83ee59fdf74f2409b78a725b4f90d08aa9698e622d3acfdedbca469397b2e3d4ed8f06d3112bd9cff6e76527b1611eb
+DIST qupzilla-plugins-2015.10.02.tar.gz 335649 SHA256 9e167a6f1234b0b51c26cbd4acc5bcdc83c760ef5c2ff8573f90aa64c3a40553 SHA512 de2208fec40a1412a1feb4bd995ae25ff04a1f3577449f7c90bc5d2f46b01c8cf33757db5a0fa69ddb5a1a27764a0230664a5b2adc89ebc2b43df5df5e2b4f31 WHIRLPOOL 8fc24f0891fbb7e8378aae900c25bc29604f13febd9b30594e2e25d55a02707d047835e2fef82482c632ef35b93046a7e2990a82d285c159de6cf603525d01d5
diff --git a/www-client/qupzilla/qupzilla-2.0.0.ebuild b/www-client/qupzilla/qupzilla-2.0.0.ebuild
new file mode 100644
index 000000000000..f02ae4bde787
--- /dev/null
+++ b/www-client/qupzilla/qupzilla-2.0.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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"
+PLUGINS_HASH='7b037cc326921cefbfc6b5e54e2091eb4191e73f'
+PLUGINS_VERSION='2015.10.02' # if there are no updates, we can use the older archive
+
+inherit l10n qmake-utils
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/QupZilla/${PN}.git"
+else
+ MY_P=QupZilla-${PV}
+ SRC_URI="https://github.com/QupZilla/${PN}/releases/download/v${PV}/${MY_P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+ S=${WORKDIR}/${MY_P}
+fi
+
+DESCRIPTION="A cross-platform web browser using QtWebEngine"
+HOMEPAGE="http://www.qupzilla.com/"
+SRC_URI+=" https://github.com/QupZilla/${PN}-plugins/archive/${PLUGINS_HASH}.tar.gz -> ${PN}-plugins-${PLUGINS_VERSION}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="dbus debug gnome-keyring kde libressl nonblockdialogs"
+
+RDEPEND="
+ >=dev-qt/qtconcurrent-5.6:5
+ >=dev-qt/qtcore-5.6:5
+ >=dev-qt/qtdeclarative-5.6:5[widgets]
+ >=dev-qt/qtgui-5.6:5
+ >=dev-qt/qtnetwork-5.6:5[ssl]
+ >=dev-qt/qtprintsupport-5.6:5
+ >=dev-qt/qtsql-5.6:5[sqlite]
+ >=dev-qt/qtwebchannel-5.6:5
+ >=dev-qt/qtwebengine-5.6:5[widgets]
+ >=dev-qt/qtwidgets-5.6:5
+ >=dev-qt/qtx11extras-5.6:5
+ x11-libs/libxcb:=
+ dbus? ( >=dev-qt/qtdbus-5.6:5 )
+ gnome-keyring? ( gnome-base/gnome-keyring )
+ kde? ( kde-frameworks/kwallet:5 )
+ libressl? ( dev-libs/libressl:= )
+ !libressl? ( dev-libs/openssl:0 )
+"
+DEPEND="${RDEPEND}
+ >=dev-qt/linguist-tools-5.6:5
+ virtual/pkgconfig
+"
+
+DOCS=( AUTHORS BUILDING CHANGELOG FAQ README.md )
+
+src_unpack() {
+ if [[ ${PV} == *9999 ]]; then
+ git-r3_src_unpack
+ fi
+ default
+}
+
+src_prepare() {
+ # get extra plugins into qupzilla build tree
+ mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_HASH}/plugins/* "${S}"/src/plugins/ || die
+
+ rm_loc() {
+ # remove localizations the user has not specified
+ sed -i -e "/${1}.ts/d" translations/translations.pri || die
+ rm translations/${1}.ts || die
+ }
+
+ # remove outdated prebuilt localizations
+ rm -rf bin/locale || die
+
+ # remove empty locale
+ rm translations/empty.ts || die
+
+ l10n_find_plocales_changes translations '' .ts
+ l10n_for_each_disabled_locale_do rm_loc
+
+ default
+}
+
+src_configure() {
+ # see BUILDING document for explanation of options
+ export \
+ QUPZILLA_PREFIX="${EPREFIX}/usr" \
+ USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)" \
+ DEBUG_BUILD=$(usex debug true '') \
+ DISABLE_DBUS=$(usex dbus '' true) \
+ GNOME_INTEGRATION=$(usex gnome-keyring true '') \
+ KDE_INTEGRATION=$(usex kde true '') \
+ NONBLOCK_JS_DIALOGS=$(usex nonblockdialogs true '')
+
+ eqmake5
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}