2014-09-25 13:25:00 +02:00
|
|
|
# Template file for 'qpdfview'
|
|
|
|
pkgname=qpdfview
|
2014-11-18 11:24:13 +01:00
|
|
|
version=0.4.13
|
2014-09-25 13:25:00 +02:00
|
|
|
revision=1
|
|
|
|
hostmakedepends="pkg-config qt-qmake"
|
|
|
|
makedepends="qt-devel poppler-qt4-devel libspectre-devel djvulibre-devel file-devel cups-devel"
|
|
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
|
|
|
short_desc="A tabbed document viewer using Qt and the poppler library"
|
|
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
|
|
homepage="https://launchpad.net/qpdfview"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="https://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz"
|
2014-11-18 11:24:13 +01:00
|
|
|
checksum=8ff563055fb4df476afed08ead465e6204c16fc419a483ebf3dbe89779f28e41
|
2014-09-25 13:25:00 +02:00
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
lrelease ${pkgname}.pro
|
|
|
|
qmake QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}" QMAKE_STRIP="" ${pkgname}.pro
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make INSTALL_ROOT=${DESTDIR} install
|
|
|
|
}
|