diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-09-06 04:20:14 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-09-06 04:20:14 +0000 |
commit | c7de71f3d5531f3846b1d8f57734af8f6b352884 (patch) | |
tree | 574d515c04b200a763595dfc7b2d0669e2192c54 /app-text | |
parent | added ~x86-linux (diff) | |
download | gentoo-2-c7de71f3d5531f3846b1d8f57734af8f6b352884.tar.gz gentoo-2-c7de71f3d5531f3846b1d8f57734af8f6b352884.tar.bz2 gentoo-2-c7de71f3d5531f3846b1d8f57734af8f6b352884.zip |
Version bump, thanks to euscan
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/qpdfview/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/qpdfview/qpdfview-0.3.3.ebuild | 52 |
2 files changed, 58 insertions, 1 deletions
diff --git a/app-text/qpdfview/ChangeLog b/app-text/qpdfview/ChangeLog index 3394693df5f7..b3e8969406e8 100644 --- a/app-text/qpdfview/ChangeLog +++ b/app-text/qpdfview/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/qpdfview # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v 1.18 2012/08/24 13:08:42 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v 1.19 2012/09/06 04:20:14 ssuominen Exp $ + +*qpdfview-0.3.3 (06 Sep 2012) + + 06 Sep 2012; Samuli Suominen <ssuominen@gentoo.org> +qpdfview-0.3.3.ebuild: + Version bump. 24 Aug 2012; Johannes Huber <johu@gentoo.org> -qpdfview-0.3.1.ebuild: Remove old. diff --git a/app-text/qpdfview/qpdfview-0.3.3.ebuild b/app-text/qpdfview/qpdfview-0.3.3.ebuild new file mode 100644 index 000000000000..ee1d3364370a --- /dev/null +++ b/app-text/qpdfview/qpdfview-0.3.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.3.3.ebuild,v 1.1 2012/09/06 04:20:14 ssuominen Exp $ + +EAPI=4 +PLOCALES="cs de el ru sk uk" +inherit l10n qt4-r2 + +DESCRIPTION="A tabbed PDF viewer using the poppler library" +HOMEPAGE="http://launchpad.net/qpdfview" +SRC_URI="https://launchpad.net/${PN}/trunk/${PV/_}/+download/${P/_}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cups dbus svg" + +RDEPEND="app-text/poppler[qt4] + x11-libs/qt-core:4[iconv] + x11-libs/qt-gui:4 + cups? ( net-print/cups ) + dbus? ( x11-libs/qt-dbus:4 ) + svg? ( x11-libs/qt-svg:4 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="CONTRIBUTORS README TODO" + +S=${WORKDIR}/${P/_} + +src_prepare() { + l10n_for_each_disabled_locale_do rm_loc +} + +src_configure() { + local config i + + for i in cups dbus svg ; do + if ! use ${i} ; then + config+=" without_${i}" + fi + done + + eqmake4 CONFIG+="${config}" +} + +rm_loc() { + einfo "Removing ${1} localization..." + sed -e "s;translations/${PN}_${1}.ts;;" \ + -i ${PN}.pro || die "sed translations failed" + rm translations/${PN}_${1}.{qm,ts} || die "rm translations failed" +} |