diff options
author | Davide Pesavento <pesa@gentoo.org> | 2014-01-27 01:28:28 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2014-01-27 01:28:28 +0000 |
commit | 348482dfdd05bac7040d5eea5f8751415bf7fdf8 (patch) | |
tree | 3f4fbd9e6daf9fddb3a1b91cefb9793783500d82 /www-client/qupzilla | |
parent | version bump (diff) | |
download | gentoo-2-348482dfdd05bac7040d5eea5f8751415bf7fdf8.tar.gz gentoo-2-348482dfdd05bac7040d5eea5f8751415bf7fdf8.tar.bz2 gentoo-2-348482dfdd05bac7040d5eea5f8751415bf7fdf8.zip |
Fix kwallet integration, add support for gnome-keyring (bug 499182). Ebuild cleanup.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)
Diffstat (limited to 'www-client/qupzilla')
-rw-r--r-- | www-client/qupzilla/ChangeLog | 9 | ||||
-rw-r--r-- | www-client/qupzilla/qupzilla-1.6.0-r1.ebuild | 71 | ||||
-rw-r--r-- | www-client/qupzilla/qupzilla-1.6.0.ebuild | 70 |
3 files changed, 79 insertions, 71 deletions
diff --git a/www-client/qupzilla/ChangeLog b/www-client/qupzilla/ChangeLog index 91f0b6d86e95..f43973f6090f 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.36 2014/01/20 17:24:35 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v 1.37 2014/01/27 01:28:28 pesa Exp $ + +*qupzilla-1.6.0-r1 (27 Jan 2014) + + 27 Jan 2014; Davide Pesavento <pesa@gentoo.org> +qupzilla-1.6.0-r1.ebuild, + -qupzilla-1.6.0.ebuild: + Fix kwallet integration, add support for gnome-keyring (bug 499182). Ebuild + cleanup. 20 Jan 2014; Ben de Groot <yngwin@gentoo.org> -qupzilla-1.4.3.ebuild: remove old version diff --git a/www-client/qupzilla/qupzilla-1.6.0-r1.ebuild b/www-client/qupzilla/qupzilla-1.6.0-r1.ebuild new file mode 100644 index 000000000000..ccab62bb36bd --- /dev/null +++ b/www-client/qupzilla/qupzilla-1.6.0-r1.ebuild @@ -0,0 +1,71 @@ +# 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.0-r1.ebuild,v 1.1 2014/01/27 01:28:28 pesa Exp $ + +EAPI=5 +PLOCALES="ar_SA bg_BG bo_CN ca_ES cs_CZ da_DK de_DE el_GR es_AR 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 my_MM nb_NO 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 zh_CN zh_TW" + +inherit l10n multilib pax-utils 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/ce262a05e0f5cea171650ed6589a12359358a732.tar.gz -> ${PN}-plugins-${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~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) + +src_prepare() { + # remove outdated prebuilt localizations + rm -rf bin/locale || die + + mv "${WORKDIR}"/${PN}-plugins-${PV}/plugins/* "${S}"/src/plugins/ || die + mv "${WORKDIR}"/${PN}-plugins-${PV}/themes/* "${S}"/bin/themes/ || die + + 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 + pax-mark m "${ED}"/usr/bin/qupzilla +} + +rm_loc() { + rm -f "${ED}"/usr/share/${PN}/locale/${1}.qm || die +} diff --git a/www-client/qupzilla/qupzilla-1.6.0.ebuild b/www-client/qupzilla/qupzilla-1.6.0.ebuild deleted file mode 100644 index 7936bcca40f2..000000000000 --- a/www-client/qupzilla/qupzilla-1.6.0.ebuild +++ /dev/null @@ -1,70 +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.0.ebuild,v 1.1 2014/01/20 17:22:32 yngwin Exp $ - -EAPI=5 -PLOCALES="ar_SA bg_BG bo_CN ca_ES cs_CZ da_DK de_DE el_GR es_AR es_ES es_VE -fa_IR fr_FR gl_ES he_IL hu_HU id_ID it_IT ja_JP ka_GE lg my_MM nb_NO 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" -inherit l10n multilib pax-utils 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 - https://github.com/QupZilla/qupzilla-plugins/archive/ce262a05e0f5cea171650ed6589a12359358a732.zip" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dbus debug kde nonblockdialogs" - -RDEPEND="dev-libs/openssl:0 - >=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 ) - kde? ( kde-base/kdelibs:4 - kde-base/kwalletd:4 )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S=${WORKDIR}/${MY_P} - -DOCS="AUTHORS BUILDING CHANGELOG FAQ README.md" - -src_prepare() { - # remove outdated copies of localizations: - rm -rf bin/locale || die - - cp -r "${WORKDIR}/qupzilla-plugins-*/plugins/*" "${S}"/src/plugins/ - cp -r "${WORKDIR}/qupzilla-plugins-*/themes/*" "${S}"/bin/themes/ - - 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_INTEGRATION=$(use kde && echo false || echo true) - 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 - pax-mark m "${ED}"/usr/bin/qupzilla -} - -rm_loc() { - rm "${D}"/usr/share/${PN}/locale/${1}.qm || die -} |