From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD8D2138AE9 for ; Thu, 28 Dec 2017 10:43:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB128E0CAB; Thu, 28 Dec 2017 10:43:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B71C3E0CAB for ; Thu, 28 Dec 2017 10:43:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 234A433BF05 for ; Thu, 28 Dec 2017 10:43:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B4233AEC8 for ; Thu, 28 Dec 2017 10:43:45 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1514457773.ff8e5f4bd9b96d5d34e58d0afc904b3c06108779.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/qupzilla/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/qupzilla/qupzilla-2.2.3-r1.ebuild X-VCS-Directories: www-client/qupzilla/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: ff8e5f4bd9b96d5d34e58d0afc904b3c06108779 X-VCS-Branch: master Date: Thu, 28 Dec 2017 10:43:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 51053398-70bf-4efa-8b5e-b0499818ae73 X-Archives-Hash: f6c24c545f670211c69e38983377e3d9 commit: ff8e5f4bd9b96d5d34e58d0afc904b3c06108779 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Dec 28 10:42:53 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Dec 28 10:42:53 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff8e5f4b www-client/qupzilla: Add missing RDEPEND on dev-qt/qtsvg:5 Package is loading svg icons at runtime. Package-Manager: Portage-2.3.19, Repoman-2.3.6 www-client/qupzilla/qupzilla-2.2.3-r1.ebuild | 118 +++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/www-client/qupzilla/qupzilla-2.2.3-r1.ebuild b/www-client/qupzilla/qupzilla-2.2.3-r1.ebuild new file mode 100644 index 00000000000..9ff2ee14844 --- /dev/null +++ b/www-client/qupzilla/qupzilla-2.2.3-r1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="ar_SA bg_BG ca_ES cs_CZ da_DK de_DE el_GR es_419 es_ES es_MX es_VE + eu_ES fa_IR fi_FI fr_FR gl_ES he_IL hr_HR hu_HU id_ID is it_IT ja_JP + ka_GE lg lt lv_LV nb_NO nl_NL nqo pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK + sl_SI sr sr@ijekavian sr@ijekavianlatin sr@latin sv_SE tr_TR uk_UA + uz@Latn zh_CN zh_HK zh_TW" + +PLUGINS_HASH="80fea7df7765fdf9c9c64fdb667052b25f1c0a22" +PLUGINS_VERSION="2017.03.26" # if there are no updates, we can use the older archive + +inherit l10n qmake-utils xdg-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 ~arm ~x86" + S=${WORKDIR}/${MY_P} +fi + +DESCRIPTION="A cross-platform web browser using QtWebEngine" +HOMEPAGE="https://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 kwallet libressl nonblockdialogs" + +COMMON_DEPEND=" + >=dev-qt/qtcore-5.8:5 + >=dev-qt/qtdeclarative-5.8:5[widgets] + >=dev-qt/qtgui-5.8:5 + >=dev-qt/qtnetwork-5.8:5[ssl] + >=dev-qt/qtprintsupport-5.8:5 + >=dev-qt/qtsql-5.8:5[sqlite] + >=dev-qt/qtwebchannel-5.8:5 + >=dev-qt/qtwebengine-5.8:5[widgets] + >=dev-qt/qtwidgets-5.8:5 + >=dev-qt/qtx11extras-5.8:5 + x11-libs/libxcb:= + dbus? ( >=dev-qt/qtdbus-5.8:5 ) + gnome-keyring? ( gnome-base/gnome-keyring ) + kwallet? ( kde-frameworks/kwallet:5 ) + libressl? ( dev-libs/libressl:= ) + !libressl? ( dev-libs/openssl:0= ) +" +DEPEND="${COMMON_DEPEND} + >=dev-qt/linguist-tools-5.8:5 + >=dev-qt/qtconcurrent-5.8:5 + virtual/pkgconfig +" +RDEPEND="${COMMON_DEPEND} + >=dev-qt/qtsvg-5.8:5 +" + +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/* 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 kwallet true '') \ + NONBLOCK_JS_DIALOGS=$(usex nonblockdialogs true '') + + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}