diff options
author | Jimi Huotari <chiitoo@gentoo.org> | 2016-06-18 01:35:54 +0300 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-06-24 04:08:26 +1000 |
commit | 9802eec3d91c6f6f738f315c8ad9d9f8b79ac248 (patch) | |
tree | 038ee73464a8320fca1a23f4609a88a9a72c53d7 /www-client/qupzilla | |
parent | net-news/quiterss: remove old (diff) | |
download | gentoo-9802eec3d91c6f6f738f315c8ad9d9f8b79ac248.tar.gz gentoo-9802eec3d91c6f6f738f315c8ad9d9f8b79ac248.tar.bz2 gentoo-9802eec3d91c6f6f738f315c8ad9d9f8b79ac248.zip |
www-client/qupzilla: Version bump to 2.0.1.
Due to an upstream change, rename BUILDING to BUILDING.md in DOCS to
fix install phase.
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=585626
Package-Manager: portage-2.2.28
Diffstat (limited to 'www-client/qupzilla')
-rw-r--r-- | www-client/qupzilla/Manifest | 2 | ||||
-rw-r--r-- | www-client/qupzilla/qupzilla-2.0.1.ebuild | 107 |
2 files changed, 109 insertions, 0 deletions
diff --git a/www-client/qupzilla/Manifest b/www-client/qupzilla/Manifest index 39feaffee93b..4d473107e771 100644 --- a/www-client/qupzilla/Manifest +++ b/www-client/qupzilla/Manifest @@ -1,4 +1,6 @@ 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-2.0.1.tar.xz 2700184 SHA256 38b89d00ad235687ca1ad327f7f108aee2d85cdc047a78b6811dedff0d07850d SHA512 5da50378f0129269ee322c8b8517797cc29abd272c65b39b96762dfd62c3ec1ac158d8b44deaf8158336d41f111fcda466ffa56511f6b56ab964e1ba36575b45 WHIRLPOOL 341e453733a69a3c298bc7fdb2bb0f67887c8a1fbda7ab64f6c9b8d8008b7577be261f9178c9b91cfbb8abb239f9c0e7cba295d3aad8b304e3aafb3f98dc737c 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 +DIST qupzilla-plugins-2016.05.02.tar.gz 425314 SHA256 276491a89daf1b64d6eab861b54d313e85c815d322bf51d47491f00ad22f55bc SHA512 b294ecb2372b3267603a43bc7412ab75d2cd29a8c4667331f0d2c74e3b0b99d0c2a005b9e4854c6d777894522bba9fb3b1607e85e8da6dcbaa760c9ddc6288f2 WHIRLPOOL 471807dc70dd3ea072f1e429a6e67ea97ecd5eadc02ac19debdcddfca4f5cb8e1767ad754aed1ff8a557f0734460a87b4e2d5e01ea57d07c473f48b006e32ef1 diff --git a/www-client/qupzilla/qupzilla-2.0.1.ebuild b/www-client/qupzilla/qupzilla-2.0.1.ebuild new file mode 100644 index 000000000000..42a3737accb5 --- /dev/null +++ b/www-client/qupzilla/qupzilla-2.0.1.ebuild @@ -0,0 +1,107 @@ +# 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 da_DK 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 + lt 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='c332d306c0f6cf645c75eaf198d2fc5e12339e9e' +PLUGINS_VERSION='2016.05.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.md 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 +} |