You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/qpdfview/qpdfview-0.3_beta3.ebuild

42 lines
878 B

# 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_beta3.ebuild,v 1.1 2012/06/14 09:16:36 yngwin Exp $
EAPI=4
inherit 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-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cups dbus"
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 )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS="README TODO"
S=${WORKDIR}/${P/_}
src_configure() {
local config
if ! use cups ; then
config+=" without_cups"
fi
if ! use dbus ; then
config+=" without_dbus"
fi
eqmake4 CONFIG+="${config}"
}