/[gentoo-x86]/app-text/qpdfview/qpdfview-0.3.1-r1.ebuild
Gentoo

Contents of /app-text/qpdfview/qpdfview-0.3.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jul 17 05:50:27 2012 UTC (10 months ago) by yngwin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Remove ebuilds replaced by new version.

(Portage version: 2.2.0_alpha118/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.3.1-r1.ebuild,v 1.1 2012/07/12 13:54:27 yngwin Exp $
4
5 EAPI=4
6 inherit qt4-r2
7
8 DESCRIPTION="A tabbed PDF viewer using the poppler library"
9 HOMEPAGE="http://launchpad.net/qpdfview"
10 SRC_URI="https://launchpad.net/${PN}/trunk/${PV/_}/+download/${P/_}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="cups dbus svg"
16
17 RDEPEND="app-text/poppler[qt4]
18 x11-libs/qt-core:4[iconv]
19 x11-libs/qt-gui:4
20 cups? ( net-print/cups )
21 dbus? ( x11-libs/qt-dbus:4 )
22 svg? ( x11-libs/qt-svg:4 )"
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig"
25
26 DOCS="CONTRIBUTORS README TODO"
27
28 S=${WORKDIR}/${P/_}
29
30 src_prepare() {
31 # bug 426314, upstream accepted patch for next release
32 sed -ie 's/Exec=qpdfview/Exec=qpdfview --unique/' miscellaneous/qpdfview.desktop || die
33 }
34
35 src_configure() {
36 local config i
37
38 for i in cups dbus svg ; do
39 if ! use ${i} ; then
40 config+=" without_${i}"
41 fi
42 done
43
44 eqmake4 CONFIG+="${config}"
45 }

  ViewVC Help
Powered by ViewVC 1.1.13