diff options
author | Ben de Groot <yngwin@gentoo.org> | 2013-03-19 13:17:43 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2013-03-19 13:17:43 +0000 |
commit | 28bf7e4716ca50a384cd3db1ccb5c3aba4c467ad (patch) | |
tree | 99a7d678e3606c51e3975c049ebc6754b7a0e70a /www-client/qupzilla/qupzilla-1.4.1.ebuild | |
parent | Add patches for llvm-3.3 compatibility and depend on llvm with r600 shader co... (diff) | |
download | gentoo-2-28bf7e4716ca50a384cd3db1ccb5c3aba4c467ad.tar.gz gentoo-2-28bf7e4716ca50a384cd3db1ccb5c3aba4c467ad.tar.bz2 gentoo-2-28bf7e4716ca50a384cd3db1ccb5c3aba4c467ad.zip |
Version bump (bugfix release). Remove previous version.
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 0x2B2474AD43CE296E!)
Diffstat (limited to 'www-client/qupzilla/qupzilla-1.4.1.ebuild')
-rw-r--r-- | www-client/qupzilla/qupzilla-1.4.1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/www-client/qupzilla/qupzilla-1.4.1.ebuild b/www-client/qupzilla/qupzilla-1.4.1.ebuild new file mode 100644 index 000000000000..98e71c78eb56 --- /dev/null +++ b/www-client/qupzilla/qupzilla-1.4.1.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.1.ebuild,v 1.1 2013/03/19 13:17:43 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 +} |