summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-12-28 13:56:33 +0000
committerMichael Palimaka <kensington@gentoo.org>2014-12-28 13:56:33 +0000
commit4089187a9ab798c443cbb8f5dee1666e1725ba68 (patch)
tree17a2893b98efea09e966da132077e1c5e0c5a824 /www-client/qupzilla
parentrm old (diff)
downloadgentoo-2-4089187a9ab798c443cbb8f5dee1666e1725ba68.tar.gz
gentoo-2-4089187a9ab798c443cbb8f5dee1666e1725ba68.tar.bz2
gentoo-2-4089187a9ab798c443cbb8f5dee1666e1725ba68.zip
Remove old.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
Diffstat (limited to 'www-client/qupzilla')
-rw-r--r--www-client/qupzilla/ChangeLog9
-rw-r--r--www-client/qupzilla/files/qupzilla-1.6.5-plugins-version-check-fix.patch33
-rw-r--r--www-client/qupzilla/files/qupzilla-1.6.6-plugins-version-check-fix.patch33
-rw-r--r--www-client/qupzilla/qupzilla-1.4.4.ebuild60
-rw-r--r--www-client/qupzilla/qupzilla-1.6.5.ebuild77
-rw-r--r--www-client/qupzilla/qupzilla-1.6.6.ebuild77
-rw-r--r--www-client/qupzilla/qupzilla-1.8.0.ebuild93
-rw-r--r--www-client/qupzilla/qupzilla-1.8.3.ebuild93
8 files changed, 8 insertions, 467 deletions
diff --git a/www-client/qupzilla/ChangeLog b/www-client/qupzilla/ChangeLog
index a7a8986f1394..e40ec9d2dec0 100644
--- a/www-client/qupzilla/ChangeLog
+++ b/www-client/qupzilla/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-client/qupzilla
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v 1.50 2014/12/28 10:19:55 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v 1.51 2014/12/28 13:56:33 kensington Exp $
+
+ 28 Dec 2014; Michael Palimaka <kensington@gentoo.org>
+ -files/qupzilla-1.6.5-plugins-version-check-fix.patch,
+ -files/qupzilla-1.6.6-plugins-version-check-fix.patch, -qupzilla-1.4.4.ebuild,
+ -qupzilla-1.6.5.ebuild, -qupzilla-1.6.6.ebuild, -qupzilla-1.8.0.ebuild,
+ -qupzilla-1.8.3.ebuild:
+ Remove old.
28 Dec 2014; Agostino Sarubbo <ago@gentoo.org> qupzilla-1.8.4.ebuild:
Stable for x86, wrt bug #533508
diff --git a/www-client/qupzilla/files/qupzilla-1.6.5-plugins-version-check-fix.patch b/www-client/qupzilla/files/qupzilla-1.6.5-plugins-version-check-fix.patch
deleted file mode 100644
index ae592ae06e9a..000000000000
--- a/www-client/qupzilla/files/qupzilla-1.6.5-plugins-version-check-fix.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- src/plugins/CopyTitle/copytitle.cpp.orig 2014-01-29 21:43:11.073465642 +0400
-+++ src/plugins/CopyTitle/copytitle.cpp 2014-01-29 21:43:33.079464399 +0400
-@@ -61,7 +61,7 @@
-
- bool CopyTitle::testPlugin()
- {
-- return (QupZilla::VERSION == QLatin1String("1.6.1"));
-+ return (QupZilla::VERSION == QLatin1String("1.6.5"));
- }
-
- QTranslator* CopyTitle::getTranslator(const QString &locale)
---- src/plugins/MailHandle/mailhandle_plugin.cpp.orig 2014-01-29 21:45:27.312457943 +0400
-+++ src/plugins/MailHandle/mailhandle_plugin.cpp 2014-01-29 21:45:37.127457388 +0400
-@@ -66,7 +66,7 @@
- {
- // Let's be sure, require latest version of QupZilla
-
-- return (QupZilla::VERSION == QLatin1String("1.6.1"));
-+ return (QupZilla::VERSION == QLatin1String("1.6.5"));
- }
-
- QTranslator* MailHandle_Plugin::getTranslator(const QString &locale)
---- src/plugins/Videoner/videoner_plugin.cpp.orig 2014-01-29 21:44:59.552459512 +0400
-+++ src/plugins/Videoner/videoner_plugin.cpp 2014-01-29 21:45:07.055459088 +0400
-@@ -62,7 +62,7 @@
- {
- // Let's be sure, require latest version of QupZilla
-
-- return (QupZilla::VERSION == QLatin1String("1.6.1"));
-+ return (QupZilla::VERSION == QLatin1String("1.6.5"));
- }
-
- QTranslator* Videoner_Plugin::getTranslator(const QString &locale)
diff --git a/www-client/qupzilla/files/qupzilla-1.6.6-plugins-version-check-fix.patch b/www-client/qupzilla/files/qupzilla-1.6.6-plugins-version-check-fix.patch
deleted file mode 100644
index cabb483dd356..000000000000
--- a/www-client/qupzilla/files/qupzilla-1.6.6-plugins-version-check-fix.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- src/plugins/CopyTitle/copytitle.cpp.orig 2014-01-29 21:43:11.073465642 +0400
-+++ src/plugins/CopyTitle/copytitle.cpp 2014-01-29 21:43:33.079464399 +0400
-@@ -61,7 +61,7 @@
-
- bool CopyTitle::testPlugin()
- {
-- return (QupZilla::VERSION == QLatin1String("1.6.1"));
-+ return (QupZilla::VERSION == QLatin1String("1.6.6"));
- }
-
- QTranslator* CopyTitle::getTranslator(const QString &locale)
---- src/plugins/MailHandle/mailhandle_plugin.cpp.orig 2014-01-29 21:45:27.312457943 +0400
-+++ src/plugins/MailHandle/mailhandle_plugin.cpp 2014-01-29 21:45:37.127457388 +0400
-@@ -66,7 +66,7 @@
- {
- // Let's be sure, require latest version of QupZilla
-
-- return (QupZilla::VERSION == QLatin1String("1.6.1"));
-+ return (QupZilla::VERSION == QLatin1String("1.6.6"));
- }
-
- QTranslator* MailHandle_Plugin::getTranslator(const QString &locale)
---- src/plugins/Videoner/videoner_plugin.cpp.orig 2014-01-29 21:44:59.552459512 +0400
-+++ src/plugins/Videoner/videoner_plugin.cpp 2014-01-29 21:45:07.055459088 +0400
-@@ -62,7 +62,7 @@
- {
- // Let's be sure, require latest version of QupZilla
-
-- return (QupZilla::VERSION == QLatin1String("1.6.1"));
-+ return (QupZilla::VERSION == QLatin1String("1.6.6"));
- }
-
- QTranslator* Videoner_Plugin::getTranslator(const QString &locale)
diff --git a/www-client/qupzilla/qupzilla-1.4.4.ebuild b/www-client/qupzilla/qupzilla-1.4.4.ebuild
deleted file mode 100644
index cd54756a0c9f..000000000000
--- a/www-client/qupzilla/qupzilla-1.4.4.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/qupzilla-1.4.4.ebuild,v 1.3 2013/12/11 07:27:12 zlogene Exp $
-
-EAPI=5
-PLOCALES="ca_ES cs_CZ de_DE el_GR es_ES es_VE fa_IR fr_FR hu_HU id_ID it_IT
-ja_JP ka_GE nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sr_BA sr_RS sv_SE uk_UA
-zh_CN zh_TW"
-inherit l10n multilib qt4-r2 vcs-snapshot
-
-MY_P="QupZilla-${PV}"
-
-DESCRIPTION="Qt WebKit web browser"
-HOMEPAGE="http://www.qupzilla.com/"
-SRC_URI="http://www.qupzilla.com/uploads/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="dbus debug kde nonblockdialogs"
-
-DEPEND="
- >=dev-qt/qtcore-4.7:4
- >=dev-qt/qtgui-4.7:4
- >=dev-qt/qtscript-4.7:4
- >=dev-qt/qtsql-4.7:4
- >=dev-qt/qtwebkit-4.7:4
- dbus? ( >=dev-qt/qtdbus-4.7:4 )"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-DOCS="AUTHORS BUILDING CHANGELOG FAQ README.md"
-
-src_prepare() {
- # remove outdated copies of localizations:
- rm -rf bin/locale || die
- epatch_user
-}
-
-src_configure() {
- # see BUILDING document for explanation of options
- export QUPZILLA_PREFIX=${EPREFIX}/usr/
- export USE_LIBPATH=${QUPZILLA_PREFIX}$(get_libdir)
- export DISABLE_DBUS=$(use dbus && echo false || echo true)
- export KDE=$(use kde && echo true || echo false) # in future this will enable nepomuk integration
- export NONBLOCK_JS_DIALOGS=$(use nonblockdialogs && echo true || echo false)
- has_version '>=dev-qt/qtwebkit-4.8.0:4' && export USE_QTWEBKIT_2_2=true
-
- eqmake4
-}
-
-src_install() {
- qt4-r2_src_install
- l10n_for_each_disabled_locale_do rm_loc
-}
-
-rm_loc() {
- rm "${D}"/usr/share/${PN}/locale/${1}.qm || die
-}
diff --git a/www-client/qupzilla/qupzilla-1.6.5.ebuild b/www-client/qupzilla/qupzilla-1.6.5.ebuild
deleted file mode 100644
index 4507fdd196b3..000000000000
--- a/www-client/qupzilla/qupzilla-1.6.5.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/qupzilla-1.6.5.ebuild,v 1.1 2014/04/20 09:47:40 yngwin Exp $
-
-EAPI=5
-PLOCALES="ar_SA bg_BG ca_ES cs_CZ de_DE el_GR es_ES es_VE eu_ES fa_IR fr_FR gl_ES he_IL hu_HU id_ID it_IT ja_JP ka_GE lg nl_NL nqo pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sr_BA@latin sr_BA sr_RS@latin sr_RS sv_SE uk_UA zh_CN zh_TW"
-PLUGINS_HASH='b19f6e0b83baca40e96019ccda329b88459e6a7f'
-PLUGINS_VERSION='1.6.3' # if there are no updates, we can use the older archive
-
-inherit l10n multilib qt4-r2 vcs-snapshot
-
-DESCRIPTION="Qt WebKit web browser"
-HOMEPAGE="http://www.qupzilla.com/"
-SRC_URI="https://github.com/QupZilla/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/QupZilla/${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 nonblockdialogs"
-
-RDEPEND="dev-libs/openssl:0
- >=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 )
- gnome-keyring? ( gnome-base/gnome-keyring )
- kde? ( kde-base/kwalletd:4 )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-DOCS=( AUTHORS CHANGELOG FAQ README.md )
-PATCHES=( "${FILESDIR}/${P}-plugins-version-check-fix.patch" )
-
-src_prepare() {
- # remove outdated prebuilt localizations
- rm -rf bin/locale || die
-
- # remove empty locale
- rm translations/empty.ts || die
-
- mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_VERSION}/plugins/* "${S}"/src/plugins/ || die
- mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_VERSION}/themes/* "${S}"/bin/themes/ || die
-
- l10n_find_plocales_changes "translations" "" ".ts"
- qt4-r2_src_prepare
-}
-
-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' '')
-
- eqmake4 $(use gnome-keyring && echo "DEFINES+=GNOME_INTEGRATION")
-}
-
-src_install() {
- qt4-r2_src_install
- l10n_for_each_disabled_locale_do rm_loc
-}
-
-rm_loc() {
- rm -f "${ED}"/usr/share/${PN}/locale/${1}.qm || die
-}
-
-pkg_postinst(){
- if has_version www-plugins/adobe-flash; then
- ewarn "For using adobe flash plugin you most likely need to run \"paxctl-ng -m /usr/bin/qupzilla\""
- fi
-}
diff --git a/www-client/qupzilla/qupzilla-1.6.6.ebuild b/www-client/qupzilla/qupzilla-1.6.6.ebuild
deleted file mode 100644
index c231e3b58f8a..000000000000
--- a/www-client/qupzilla/qupzilla-1.6.6.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/qupzilla-1.6.6.ebuild,v 1.1 2014/05/28 09:45:47 pinkbyte Exp $
-
-EAPI=5
-PLOCALES="ar_SA bg_BG ca_ES cs_CZ de_DE el_GR es_ES es_MX es_VE eu_ES fa_IR fr_FR gl_ES he_IL 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_BA sr_BA@latin sr_RS sr_RS@latin sv_SE uk_UA uz@Latn zh_CN zh_TW"
-PLUGINS_HASH='b19f6e0b83baca40e96019ccda329b88459e6a7f'
-PLUGINS_VERSION='1.6.3' # if there are no updates, we can use the older archive
-
-inherit l10n multilib qt4-r2 vcs-snapshot
-
-DESCRIPTION="Qt WebKit web browser"
-HOMEPAGE="http://www.qupzilla.com/"
-SRC_URI="https://github.com/QupZilla/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/QupZilla/${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 nonblockdialogs"
-
-RDEPEND="dev-libs/openssl:0
- >=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 )
- gnome-keyring? ( gnome-base/gnome-keyring )
- kde? ( kde-base/kwalletd:4 )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-DOCS=( AUTHORS CHANGELOG FAQ README.md )
-PATCHES=( "${FILESDIR}/${P}-plugins-version-check-fix.patch" )
-
-src_prepare() {
- # remove outdated prebuilt localizations
- rm -rf bin/locale || die
-
- # remove empty locale
- rm translations/empty.ts || die
-
- mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_VERSION}/plugins/* "${S}"/src/plugins/ || die
- mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_VERSION}/themes/* "${S}"/bin/themes/ || die
-
- l10n_find_plocales_changes "translations" "" ".ts"
- qt4-r2_src_prepare
-}
-
-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' '')
-
- eqmake4 $(use gnome-keyring && echo "DEFINES+=GNOME_INTEGRATION")
-}
-
-src_install() {
- qt4-r2_src_install
- l10n_for_each_disabled_locale_do rm_loc
-}
-
-rm_loc() {
- rm -f "${ED}"/usr/share/${PN}/locale/${1}.qm || die
-}
-
-pkg_postinst(){
- if has_version www-plugins/adobe-flash; then
- ewarn "For using adobe flash plugin you most likely need to run \"paxctl-ng -m /usr/bin/qupzilla\""
- fi
-}
diff --git a/www-client/qupzilla/qupzilla-1.8.0.ebuild b/www-client/qupzilla/qupzilla-1.8.0.ebuild
deleted file mode 100644
index 04891f819f7c..000000000000
--- a/www-client/qupzilla/qupzilla-1.8.0.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/qupzilla-1.8.0.ebuild,v 1.1 2014/10/02 03:09:27 yngwin Exp $
-
-EAPI=5
-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='bb52c82eeedae50ac33a8d10943998193491230b'
-PLUGINS_VERSION='2014.10.02' # 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/QupZilla/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/QupZilla/${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 nonblockdialogs +qt4 qt5"
-REQUIRED_USE="^^ ( qt4 qt5 )"
-
-RDEPEND="dev-libs/openssl:0
- gnome-keyring? ( gnome-base/gnome-keyring )
- kde? ( kde-base/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/linguist-tools:5
- 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"
-
-DOCS=( AUTHORS CHANGELOG FAQ README.md )
-
-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
- }
-
- # 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 most likely need to run"
- ewarn " \"paxctl-ng -m /usr/bin/qupzilla\""
- fi
-}
diff --git a/www-client/qupzilla/qupzilla-1.8.3.ebuild b/www-client/qupzilla/qupzilla-1.8.3.ebuild
deleted file mode 100644
index bbb44f4398db..000000000000
--- a/www-client/qupzilla/qupzilla-1.8.3.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/qupzilla-1.8.3.ebuild,v 1.1 2014/10/23 13:22:23 yngwin Exp $
-
-EAPI=5
-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='bb52c82eeedae50ac33a8d10943998193491230b'
-PLUGINS_VERSION='2014.10.02' # 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/QupZilla/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/QupZilla/${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 nonblockdialogs +qt4 qt5"
-REQUIRED_USE="^^ ( qt4 qt5 )"
-
-RDEPEND="dev-libs/openssl:0
- gnome-keyring? ( gnome-base/gnome-keyring )
- kde? ( kde-base/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/linguist-tools:5
- 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"
-
-DOCS=( AUTHORS CHANGELOG FAQ README.md )
-
-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
- }
-
- # 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 most likely need to run"
- ewarn " \"paxctl-ng -m /usr/bin/qupzilla\""
- fi
-}