void-packages/srcpkgs/djview/template

19 lines
669 B
Bash

# Template file for 'djview'
pkgname=djview
version=4.10.6
revision=1
build_style=gnu-configure
build_helper=qmake
hostmakedepends="qt5-qmake qt5-host-tools pkg-config"
makedepends="qt5-devel djvulibre-devel libxkbcommon-devel libSM-devel libXt-devel"
short_desc="Portable DjVu viewer and browser plugin"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://djvu.sourceforge.net/djview4.html"
distfiles="${SOURCEFORGE_SITE}/djvu/${pkgname}-${version}.tar.gz"
checksum=8446f3cd692238421a342f12baa365528445637bffb96899f319fe762fda7c21
if [ "${CROSS_BUILD}" ]; then
configure_args+=" ac_cv_path_QMAKE=${XBPS_WRAPPERDIR}/qmake-qt5"
fi