qpdfview: update to 0.4.14; switch to qt5

This commit is contained in:
Alessio Sergi 2015-03-04 01:41:04 +01:00
parent 427d9ed95a
commit 138db06a25

View file

@ -1,20 +1,22 @@
# Template file for 'qpdfview'
pkgname=qpdfview
version=0.4.13
revision=2
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 qt-plugin-sqlite"
short_desc="A tabbed document viewer using Qt and the poppler library"
version=0.4.14
revision=1
hostmakedepends="pkg-config"
makedepends="qt5-tools qt5-svg-devel poppler-qt5-devel libspectre-devel
djvulibre-devel file-devel cups-devel"
depends="desktop-file-utils hicolor-icon-theme qt5-plugin-sqlite"
short_desc="A tabbed document viewer"
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"
checksum=8ff563055fb4df476afed08ead465e6204c16fc419a483ebf3dbe89779f28e41
checksum=69c685be50792256547ce85c672448bd655f8ca4a1a15fbf4e97e58d7f47a895
do_configure() {
lrelease ${pkgname}.pro
qmake QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}" QMAKE_STRIP="" ${pkgname}.pro
qmake QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXXFLAGS="${CXXFLAGS}" \
QMAKE_LFLAGS="${LDFLAGS}" QMAKE_STRIP="" ${pkgname}.pro
}
do_build() {
make ${makejobs}