summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2013-03-12 12:34:34 +0000
committerBen de Groot <yngwin@gentoo.org>2013-03-12 12:34:34 +0000
commit11faa86ab6b43396cb79f3857f7bf0377d382a5c (patch)
tree7a360aac296fbd09c07afa1d09de631985079246 /www-client
parentVersion bump alpha and removed older (diff)
downloadgentoo-2-11faa86ab6b43396cb79f3857f7bf0377d382a5c.tar.gz
gentoo-2-11faa86ab6b43396cb79f3857f7bf0377d382a5c.tar.bz2
gentoo-2-11faa86ab6b43396cb79f3857f7bf0377d382a5c.zip
Version bump. Drop patches, which have been applied upstream. Add Catalan localization.
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 0x2B2474AD43CE296E!)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/qupzilla/ChangeLog8
-rw-r--r--www-client/qupzilla/qupzilla-1.4.0.ebuild60
2 files changed, 67 insertions, 1 deletions
diff --git a/www-client/qupzilla/ChangeLog b/www-client/qupzilla/ChangeLog
index 52bb1aa9996f..224571fbe614 100644
--- a/www-client/qupzilla/ChangeLog
+++ b/www-client/qupzilla/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-client/qupzilla
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v 1.23 2013/03/02 23:41:08 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v 1.24 2013/03/12 12:34:34 yngwin Exp $
+
+*qupzilla-1.4.0 (12 Mar 2013)
+
+ 12 Mar 2013; Ben de Groot <yngwin@gentoo.org> +qupzilla-1.4.0.ebuild:
+ Version bump. Drop patches, which have been applied upstream. Add Catalan
+ localization.
02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> qupzilla-1.3.5-r1.ebuild:
Move Qt dependencies to the new category
diff --git a/www-client/qupzilla/qupzilla-1.4.0.ebuild b/www-client/qupzilla/qupzilla-1.4.0.ebuild
new file mode 100644
index 000000000000..ab36c345ea1e
--- /dev/null
+++ b/www-client/qupzilla/qupzilla-1.4.0.ebuild
@@ -0,0 +1,60 @@
+# 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.0.ebuild,v 1.1 2013/03/12 12:34:34 yngwin 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
+}