From e03aea13d2b12d188e464f7fa168601cfc5b5293 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 12 Nov 2015 09:36:20 +0100 Subject: [PATCH] mupdf: update to 1.8. --- srcpkgs/mupdf/template | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/srcpkgs/mupdf/template b/srcpkgs/mupdf/template index 7c2d178147..af8ff18614 100644 --- a/srcpkgs/mupdf/template +++ b/srcpkgs/mupdf/template @@ -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 " 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 }