mupdf: update to 1.8.
This commit is contained in:
parent
8868443efb
commit
e03aea13d2
1 changed files with 10 additions and 6 deletions
|
@ -1,24 +1,28 @@
|
|||
# Template file for 'mupdf'
|
||||
pkgname=mupdf
|
||||
version=1.7a
|
||||
revision=3
|
||||
version=1.8
|
||||
revision=1
|
||||
build_pie=yes
|
||||
wrksrc="${pkgname}-${version}-source"
|
||||
hostmakedepends="pkg-config zlib-devel libcurl-devel freetype-devel libjpeg-turbo-devel jbig2dec-devel"
|
||||
makedepends="zlib-devel libressl-devel libcurl-devel freetype-devel libjpeg-turbo-devel jbig2dec-devel libXext-devel"
|
||||
hostmakedepends="pkg-config zlib-devel libcurl-devel freetype-devel
|
||||
libjpeg-turbo-devel jbig2dec-devel libXext-devel libXcursor-devel
|
||||
libXrandr-devel libXinerama-devel MesaLib-devel"
|
||||
makedepends="${hostmakedepends}"
|
||||
depends="desktop-file-utils"
|
||||
short_desc="Lightweight PDF and XPS viewer"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-3"
|
||||
homepage="http://mupdf.com"
|
||||
distfiles="http://mupdf.com/downloads/mupdf-${version}-source.tar.gz"
|
||||
checksum=8c035ffa011fc44f8a488f70da3e6e51889508bbf66fe6b90a63e0cfa6c17d1c
|
||||
checksum=a2a3c64d8b24920f87cf4ea9339a25abf7388496440f13b37482d1403c33c206
|
||||
|
||||
pre_configure() {
|
||||
rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec}
|
||||
}
|
||||
do_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
unset CFLAGS
|
||||
export CFLAGS="-fPIC"
|
||||
unset LDFLAGS
|
||||
make CC=cc LD=ld AR=ar build=release generate
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue