summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 9773daf2ac..34db54affd 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 bbebd6feca..5877b7bb1a 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 ec46620c47..07f7156739 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"