# Template file for 'qpdfview'
pkgname=qpdfview
version=0.4.16
revision=4
build_style=qmake
configure_args="qpdfview.pro"
hostmakedepends="pkg-config qt5-tools-devel qt5-svg-devel"
makedepends="qt5-tools-devel qt5-svg-devel poppler-qt5-devel libspectre-devel
 djvulibre-devel file-devel cups-devel"
depends="desktop-file-utils hicolor-icon-theme qt5-plugin-sqlite qt5-svg"
short_desc="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=fad416e8fefc3057fa1b8d12d964c7eccd16dffe0307a0d6e9d55a543294da7f

pre_configure() {
	lrelease qpdfview.pro
}
