aboutsummaryrefslogtreecommitdiff
path: root/office/zathura-pdf-mupdf
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-01-25 15:19:50 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:38:23 +0700
commit7b0fc39253509996bdf2b781e6a8dfc4c03744f9 (patch)
tree72b71fa21facda68d500af5bedaf965cd09254dd /office/zathura-pdf-mupdf
parent1f26589e789d1b73701eae7b0632e4a79ad48d68 (diff)
office/zathura-pdf-mupdf: Updated for version 0.3.1.
Diffstat (limited to 'office/zathura-pdf-mupdf')
-rw-r--r--office/zathura-pdf-mupdf/upstream.README2
-rw-r--r--office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild7
-rw-r--r--office/zathura-pdf-mupdf/zathura-pdf-mupdf.info6
3 files changed, 6 insertions, 9 deletions
diff --git a/office/zathura-pdf-mupdf/upstream.README b/office/zathura-pdf-mupdf/upstream.README
index 9773daf2acef..34db54affd45 100644
--- a/office/zathura-pdf-mupdf/upstream.README
+++ b/office/zathura-pdf-mupdf/upstream.README
@@ -7,7 +7,7 @@ Requirements
------------
zathura (>= 0.2.0)
girara
-mupdf (>= 1.3)
+mupdf (>= 1.7)
openjpeg (>= 2.0)
Installation
diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
index bbebd6fecad2..5877b7bb1ab8 100644
--- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
+++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=zathura-pdf-mupdf
-VERSION=${VERSION:-0.3.0}
+VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,10 +56,6 @@ find -L . \
# Upstream left the README out of the release tarball for some reason.
cat $CWD/upstream.README > README
-# Patch for mupdf-1.9 API changes, from upstream's git:
-# https://git.pwmt.org/pwmt/zathura-pdf-mupdf/commit/e3e49d206fbe5761c53a85b9499c940a0d718c8a
-patch -p1 < $CWD/mupdf19.diff
-
# mupdf 1.4 and later no longer have libmupdf-js-none (moved to libmupdf).
# Anyway it's better to use pkg-config now that mupdf supports it.
sed -i \
@@ -77,6 +73,7 @@ ln -s pdf-mupdf/pdf.so $PKG/$PLUGDIR/pdf.so
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README AUTHORS LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README_SBo.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
index ec46620c4710..07f715673952 100644
--- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
+++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
@@ -1,8 +1,8 @@
PRGNAM="zathura-pdf-mupdf"
-VERSION="0.3.0"
+VERSION="0.3.1"
HOMEPAGE="https://www.pwmt.org/projects/zathura-pdf-mupdf/"
-DOWNLOAD="http://www.pwmt.org/projects/zathura/plugins/download/zathura-pdf-mupdf-0.3.0.tar.gz"
-MD5SUM="523781d0adb8f4ddd93fc3bb6faf6e43"
+DOWNLOAD="https://www.pwmt.org/projects/zathura/plugins/download/zathura-pdf-mupdf-0.3.1.tar.gz"
+MD5SUM="5a98b367b8f4a5f33d8005f9130d88e9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mupdf zathura"