summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-12-05 11:28:15 +0000
committerMichael Palimaka <kensington@gentoo.org>2012-12-05 11:28:15 +0000
commitce90348a93a35f78ddc7bffa5525eaf1c2d2b635 (patch)
treea8a4dc70b1a1cf407ddef08383de063a9c2f515c /app-text
parentMarked ~x86-linux, bug #444950 (diff)
downloadgentoo-2-ce90348a93a35f78ddc7bffa5525eaf1c2d2b635.tar.gz
gentoo-2-ce90348a93a35f78ddc7bffa5525eaf1c2d2b635.tar.bz2
gentoo-2-ce90348a93a35f78ddc7bffa5525eaf1c2d2b635.zip
Version bump.
(Portage version: 2.1.11.33/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/qpdfview/ChangeLog7
-rw-r--r--app-text/qpdfview/qpdfview-0.3.6.ebuild52
2 files changed, 58 insertions, 1 deletions
diff --git a/app-text/qpdfview/ChangeLog b/app-text/qpdfview/ChangeLog
index 772ed84e6be0..df09c6814f40 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.27 2012/10/27 03:48:34 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v 1.28 2012/12/05 11:28:15 kensington Exp $
+
+*qpdfview-0.3.6 (05 Dec 2012)
+
+ 05 Dec 2012; Michael Palimaka <kensington@gentoo.org> +qpdfview-0.3.6.ebuild:
+ Version bump.
27 Oct 2012; Ben de Groot <yngwin@gentoo.org> -qpdfview-0.3.2.ebuild,
-qpdfview-0.3.3.ebuild, -qpdfview-0.3.5_beta1.ebuild:
diff --git a/app-text/qpdfview/qpdfview-0.3.6.ebuild b/app-text/qpdfview/qpdfview-0.3.6.ebuild
new file mode 100644
index 000000000000..a2865167a15f
--- /dev/null
+++ b/app-text/qpdfview/qpdfview-0.3.6.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.6.ebuild,v 1.1 2012/12/05 11:28:15 kensington Exp $
+
+EAPI=5
+PLOCALES="ast ca cs da de el en_GB es fi fr he hr it my pt_BR ro ru sk tr ug uk zh_CN"
+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 ~arm ~x86"
+IUSE="cups dbus svg synctex"
+
+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=( CHANGES 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 synctex; 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"
+}