From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/qupzilla/
Date: Sat, 21 Nov 2015 07:11:26 +0000 (UTC) [thread overview]
Message-ID: <1448090268.a5659735ab9a0fd292d391725bc40cf63c5a76ce.blueness@gentoo> (raw)
commit: a5659735ab9a0fd292d391725bc40cf63c5a76ce
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 21 07:09:39 2015 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 07:17:48 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5659735
www-client/qupzilla: add libressl support
Package-Manager: portage-2.2.20.1
www-client/qupzilla/qupzilla-1.8.6-r2.ebuild | 108 +++++++++++++++++++++++++++
1 file changed, 108 insertions(+)
diff --git a/www-client/qupzilla/qupzilla-1.8.6-r2.ebuild b/www-client/qupzilla/qupzilla-1.8.6-r2.ebuild
new file mode 100644
index 0000000..4b65925
--- /dev/null
+++ b/www-client/qupzilla/qupzilla-1.8.6-r2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+MY_PN="QupZilla"
+MY_P=${MY_PN}-${PV}
+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='1f8122da27362ae14a6e3c029830b51e9bac03be'
+PLUGINS_VERSION='2015.01.27' # if there are no updates, we can use the older archive
+
+inherit eutils l10n multilib qmake-utils vcs-snapshot
+
+DESCRIPTION="Qt WebKit web browser"
+HOMEPAGE="http://www.qupzilla.com/"
+SRC_URI="https://github.com/${MY_PN}/${PN}/releases/download/v${PV}/${MY_P}.tar.xz
+ https://github.com/${MY_PN}/${PN}-plugins/archive/${PLUGINS_HASH}.tar.gz -> ${PN}-plugins-${PLUGINS_VERSION}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="dbus debug gnome-keyring kde libressl nonblockdialogs +qt4 qt5"
+REQUIRED_USE="^^ ( qt4 qt5 )
+ kde? ( qt4 )"
+
+RDEPEND="
+ !libressl? ( dev-libs/openssl:0 )
+ libressl? ( dev-libs/libressl )
+ x11-libs/libX11
+ gnome-keyring? ( gnome-base/gnome-keyring )
+ kde? ( kde-base/kdelibs:4
+ kde-apps/kwalletd:4 )
+ qt4? ( >=dev-qt/qtcore-4.8:4
+ >=dev-qt/qtgui-4.8:4
+ >=dev-qt/qtscript-4.8:4
+ >=dev-qt/qtsql-4.8:4[sqlite]
+ >=dev-qt/qtwebkit-4.8:4
+ dbus? ( >=dev-qt/qtdbus-4.8:4 ) )
+ qt5? ( dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtscript:5
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtwebkit:5
+ dbus? ( dev-qt/qtdbus:5 ) )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ qt5? ( dev-qt/linguist-tools:5 )"
+
+DOCS=( AUTHORS CHANGELOG FAQ README.md )
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ rm_loc() {
+ # remove localizations the user has not specified
+ sed -i -e "/${1}.ts/d" translations/translations.pri || die
+ rm translations/${1}.ts || die
+ }
+
+ # patch bundled but changed QTSA for Qt-5.5, see bugs 548470 and 489142
+ epatch "${FILESDIR}"/qtsingleapplication-QDataStream.patch
+
+ epatch "${FILESDIR}"/${P}-qt55.patch
+
+ epatch_user
+
+ # remove outdated prebuilt localizations
+ rm -rf bin/locale || die
+
+ # remove empty locale
+ rm translations/empty.ts || die
+
+ # get extra plugins into qupzilla build tree
+ mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_VERSION}/plugins/* "${S}"/src/plugins/ || die
+
+ l10n_find_plocales_changes "translations" "" ".ts"
+ l10n_for_each_disabled_locale_do rm_loc
+}
+
+src_configure() {
+ # see BUILDING document for explanation of options
+ export \
+ QUPZILLA_PREFIX="${EPREFIX}/usr/" \
+ USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)" \
+ USE_QTWEBKIT_2_2=true \
+ DISABLE_DBUS=$(usex dbus '' 'true') \
+ KDE_INTEGRATION=$(usex kde 'true' '') \
+ NONBLOCK_JS_DIALOGS=$(usex nonblockdialogs 'true' '')
+
+ if use qt4 ; then
+ eqmake4 $(use gnome-keyring && echo "DEFINES+=GNOME_INTEGRATION")
+ else
+ eqmake5 $(use gnome-keyring && echo "DEFINES+=GNOME_INTEGRATION")
+ fi
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}
+
+pkg_postinst() {
+ if has_version www-plugins/adobe-flash; then
+ ewarn "For using adobe flash plugin you may need to run"
+ ewarn " \"paxctl-ng -m /usr/bin/qupzilla\""
+ fi
+}
next reply other threads:[~2015-11-21 7:11 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-21 7:11 Anthony G. Basile [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-11-24 14:54 [gentoo-commits] repo/gentoo:master commit in: www-client/qupzilla/ Jeroen Roovers
2015-12-15 17:14 Michael Palimaka
2016-01-22 14:24 Davide Pesavento
2016-01-23 16:59 Agostino Sarubbo
2016-02-14 14:12 Michael Palimaka
2016-04-28 19:59 Davide Pesavento
2016-06-23 18:08 Michael Palimaka
2016-10-06 17:59 Michael Palimaka
2016-10-08 16:37 Michael Palimaka
2016-10-08 16:39 Michael Palimaka
2016-10-28 14:31 Michael Palimaka
2016-10-28 14:31 Michael Palimaka
2017-01-26 14:45 Agostino Sarubbo
2017-01-26 14:53 Agostino Sarubbo
2017-01-26 14:55 Michael Palimaka
2017-02-25 19:42 Andreas Sturmlechner
2017-02-25 19:42 Andreas Sturmlechner
2017-03-17 18:47 Andreas Sturmlechner
2017-08-27 7:14 Michael Palimaka
2017-08-31 15:47 Chí-Thanh Christopher Nguyễn
2017-09-29 3:16 Michael Palimaka
2017-09-29 3:16 Michael Palimaka
2017-10-12 19:00 Andreas Sturmlechner
2017-11-09 19:18 Andreas Sturmlechner
2017-12-05 17:46 Andreas Sturmlechner
2017-12-05 17:46 Andreas Sturmlechner
2017-12-21 9:44 Michael Palimaka
2017-12-21 9:44 Michael Palimaka
2017-12-25 10:26 Andreas Sturmlechner
2017-12-28 10:43 Andreas Sturmlechner
2017-12-28 10:43 Andreas Sturmlechner
2018-01-17 19:08 Andreas Sturmlechner
2018-01-20 22:50 Andreas Sturmlechner
2018-01-20 22:50 Andreas Sturmlechner
2018-02-01 1:34 Andreas Sturmlechner
2018-02-07 2:32 Andreas Sturmlechner
2018-03-24 15:53 Mikle Kolyada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1448090268.a5659735ab9a0fd292d391725bc40cf63c5a76ce.blueness@gentoo \
--to=blueness@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox