mupdf: update to 1.23.4.

This commit is contained in:
Mohammed Anas 2023-10-23 17:33:42 +01:00 committed by classabbyamp
parent 616b233968
commit 0b6f857ec9

View File

@ -1,7 +1,8 @@
# Template file for 'mupdf'
# Static library, revbump all dependants on mupdf updates
pkgname=mupdf
version=1.20.3
revision=3
version=1.23.4
revision=1
hostmakedepends="pkg-config zlib-devel libcurl-devel freetype-devel
libjpeg-turbo-devel jbig2dec-devel libXext-devel libXcursor-devel
libXrandr-devel libXinerama-devel harfbuzz-devel readline-devel
@ -14,12 +15,9 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="AGPL-3.0-only"
homepage="https://mupdf.com"
distfiles="https://mupdf.com/downloads/archive/${pkgname}-${version}-source.tar.lz"
checksum=6f73f63ef8aa81991dfd023d4426a548827d1d74e0bfcf2a013acad63b651868
checksum=ecf6da72393eb32b16037f9376cf90a576c87426b6b7f1e63d38619a1bd7c800
pre_build() {
# libmupdf-{threads,pkcs7}.a are required by fbpdf
sed 's/INSTALL_LIBS :=/& $(THREAD_LIB) $(PKCS7_LIB)/' -i Makefile
if [ "$CROSS_BUILD" ]; then
make ${makejobs} CC=cc LD=ld AR=ar CFLAGS="-fPIC" LDFLAGS='' build=release generate
fi