mupdf: update to 1.7.

This commit is contained in:
Juan RP 2015-04-17 06:50:20 +02:00
parent 99011ca282
commit 1529e4cb0e
1 changed files with 3 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'mupdf'
pkgname=mupdf
version=1.6
revision=3
version=1.7
revision=1
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"
@ -11,19 +11,17 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://mupdf.com"
distfiles="http://mupdf.com/downloads/mupdf-${version}-source.tar.gz"
checksum=9813ee330950a641364181649ebd369c947adbcea9d41ed953ec5365640ea563
checksum=d0bd5c656c464411cb5788c73d5a7c9a5b89f1e9e84e3c8c7c982ed8b90f5642
pre_configure() {
rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec}
}
do_configure() {
if [ "$CROSS_BUILD" ]; then
unset CFLAGS
make CC=cc LD=ld AR=ar build=release generate
fi
}
do_build() {
CFLAGS+=" -fPIC"
if [ "$CROSS_BUILD" ]; then
@ -32,7 +30,6 @@ do_build() {
make CURL_LIBS='-lcurl -lpthread' build=release
fi
}
do_install() {
make build=release prefix=${DESTDIR}/usr install