mupdf: update to 1.9.

This commit is contained in:
Juan RP 2016-04-18 16:52:46 +02:00
parent eae4c6a217
commit 9f7cfd740d
1 changed files with 7 additions and 6 deletions

View File

@ -1,11 +1,12 @@
# Template file for 'mupdf' # Template file for 'mupdf'
pkgname=mupdf pkgname=mupdf
version=1.8 version=1.9
revision=3 revision=1
wrksrc="${pkgname}-${version}-source" wrksrc="${pkgname}-${version}-source"
hostmakedepends="pkg-config zlib-devel libcurl-devel freetype-devel hostmakedepends="pkg-config zlib-devel libcurl-devel freetype-devel
libjpeg-turbo-devel jbig2dec-devel libXext-devel libXcursor-devel libjpeg-turbo-devel jbig2dec-devel libXext-devel libXcursor-devel
libXrandr-devel libXinerama-devel MesaLib-devel libopenjpeg2-devel" libXrandr-devel libXinerama-devel harfbuzz-devel
MesaLib-devel libopenjpeg2-devel"
makedepends="${hostmakedepends}" makedepends="${hostmakedepends}"
depends="desktop-file-utils" depends="desktop-file-utils"
short_desc="Lightweight PDF and XPS viewer" short_desc="Lightweight PDF and XPS viewer"
@ -13,10 +14,10 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3" license="GPL-3"
homepage="http://mupdf.com" homepage="http://mupdf.com"
distfiles="http://mupdf.com/downloads/mupdf-${version}-source.tar.gz" distfiles="http://mupdf.com/downloads/mupdf-${version}-source.tar.gz"
checksum=a2a3c64d8b24920f87cf4ea9339a25abf7388496440f13b37482d1403c33c206 checksum=1776eb4368467c553ce78ec89c731ed84917c6c7ee0396b15d8739356c98e296
pre_configure() { pre_configure() {
rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec,openjpeg} rm -rf thirdparty/{curl,freetype,harfbuzz,jpeg,zlib,jbig2dec,openjpeg}
} }
do_configure() { do_configure() {
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
@ -39,7 +40,7 @@ do_install() {
mv ${DESTDIR}/usr/bin/mupdf-x11-curl ${DESTDIR}/usr/bin/mupdf mv ${DESTDIR}/usr/bin/mupdf-x11-curl ${DESTDIR}/usr/bin/mupdf
rm ${DESTDIR}/usr/bin/mupdf-x11 rm ${DESTDIR}/usr/bin/mupdf-x11
vinstall build/release/libmujs.a 644 usr/lib vinstall build/release/libmupdf.a 644 usr/lib
vinstall ${FILESDIR}/mupdf.xpm 644 usr/share/pixmaps vinstall ${FILESDIR}/mupdf.xpm 644 usr/share/pixmaps
vinstall ${FILESDIR}/mupdf.desktop 644 usr/share/applications vinstall ${FILESDIR}/mupdf.desktop 644 usr/share/applications