djview: update to 4.12.

This commit is contained in:
Leah Neukirchen 2020-11-21 13:47:12 +01:00
parent 37d6f3cdeb
commit 26ce0d27b0

View file

@ -1,18 +1,19 @@
# Template file for 'djview' # Template file for 'djview'
pkgname=djview pkgname=djview
version=4.10.6 version=4.12
revision=2 revision=1
wrksrc="djview4-${version}"
build_style=gnu-configure build_style=gnu-configure
build_helper=qmake build_helper=qmake
configure_args="QMAKE=qmake-qt5" configure_args="QMAKE=qmake-qt5"
hostmakedepends="qt5-qmake qt5-host-tools pkg-config" hostmakedepends="automake pkg-config qt5-host-tools qt5-qmake libtool"
makedepends="qt5-devel djvulibre-devel libxkbcommon-devel libSM-devel libXt-devel" makedepends="qt5-devel djvulibre-devel libxkbcommon-devel libSM-devel libXt-devel"
short_desc="Portable DjVu viewer and browser plugin" short_desc="Portable DjVu viewer and browser plugin"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
homepage="http://djvu.sourceforge.net/djview4.html" homepage="http://djvu.sourceforge.net/djview4.html"
distfiles="${SOURCEFORGE_SITE}/djvu/${pkgname}-${version}.tar.gz" distfiles="${SOURCEFORGE_SITE}/djvu/${pkgname}-${version}.tar.gz"
checksum=8446f3cd692238421a342f12baa365528445637bffb96899f319fe762fda7c21 checksum=5673c6a8b7e195b91a1720b24091915b8145de34879db1158bc936b100eaf3e3
if [ "${CROSS_BUILD}" ]; then if [ "${CROSS_BUILD}" ]; then
configure_args+=" ac_cv_path_QMAKE=${XBPS_WRAPPERDIR}/qmake-qt5" configure_args+=" ac_cv_path_QMAKE=${XBPS_WRAPPERDIR}/qmake-qt5"
@ -23,3 +24,7 @@ post_extract() {
-e '/StartupWMClass/s/Djview4/DjView/' \ -e '/StartupWMClass/s/Djview4/DjView/' \
desktopfiles/djvulibre-djview4.desktop desktopfiles/djvulibre-djview4.desktop
} }
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}