diff options
-rw-r--r-- | office/mupdf/mupdf.SlackBuild | 12 | ||||
-rw-r--r-- | office/mupdf/mupdf.info | 6 |
2 files changed, 8 insertions, 10 deletions
diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild index f69a5b8095..9321e92eca 100644 --- a/office/mupdf/mupdf.SlackBuild +++ b/office/mupdf/mupdf.SlackBuild @@ -5,8 +5,8 @@ # Written by Hubert Hesse (slackbuilds@hubertscorner.de) PRGNAM=mupdf -VERSION=${VERSION:-0.8.165} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.1} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -40,9 +40,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION-source tar xvf $CWD/$PRGNAM-$VERSION-source.tar.gz -cd $PRGNAM-$VERSION +cd $PRGNAM-$VERSION-source chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -51,13 +51,11 @@ find . \ -exec chmod 644 {} \; sed -i "s,(prefix)/lib,(prefix)/lib$LIBDIRSUFFIX," Makefile +sed -i "s,openjpeg.h,openjpeg-1.5/openjpeg.h," fitz/image_jpx.c CFLAGS="$SLKCFLAGS" make build=release prefix=/usr make build=release prefix=$PKG/usr install -# don't overwrite poppler's pdfinfo -mv $PKG/usr/bin/pdfinfo $PKG/usr/bin/pdfinfo-mupdf - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/office/mupdf/mupdf.info b/office/mupdf/mupdf.info index 369395c5ba..6f94269f83 100644 --- a/office/mupdf/mupdf.info +++ b/office/mupdf/mupdf.info @@ -1,8 +1,8 @@ PRGNAM="mupdf" -VERSION="0.8.165" +VERSION="1.1" HOMEPAGE="http://www.mupdf.com/" -DOWNLOAD="https://mupdf.googlecode.com/files/mupdf-0.8.165-source.tar.gz" -MD5SUM="a95813737924e60d87a944d52b6a5120" +DOWNLOAD="http://mupdf.googlecode.com/files/mupdf-1.1-source.tar.gz" +MD5SUM="f7b5fd753f40aca207e9afd70d8f8edf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jbig2dec openjpeg" |