# Template file for 'qpdfview'
pkgname=qpdfview
version=0.4.17beta1
revision=1
build_style=qmake
configure_args="qpdfview.pro"
hostmakedepends="pkg-config qt5-svg-devel"
makedepends="cups-devel djvulibre-devel file-devel libspectre-devel
 poppler-qt5-devel qt5-svg-devel"
depends="desktop-file-utils hicolor-icon-theme qt5-plugin-sqlite qt5-svg"
short_desc="Tabbed document viewer"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://launchpad.net/qpdfview"
distfiles="https://launchpad.net/qpdfview/trunk/${version}/+download/qpdfview-${version}.tar.gz"
checksum=60206c5f76410a35098e3c965552cec08cd85941776ea6f6b207d7ea63ce940f

pre_configure() {
	lrelease qpdfview.pro
}
