aboutsummaryrefslogtreecommitdiff
path: root/office/zathura-pdf-mupdf
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-11-14 14:58:42 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-19 10:08:13 +0700
commitc4f8b5bbc28073b903906bb2842f7495f4fda53d (patch)
tree7f8c38342424105a46b6627bff86d03ffcc1d56c /office/zathura-pdf-mupdf
parent99fc22f2a661ae3f7005d08e13f012aaedf38e01 (diff)
office/zathura-pdf-mupdf: Updated for version 0.3.8, fix completion.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/zathura-pdf-mupdf')
-rw-r--r--office/zathura-pdf-mupdf/README2
-rw-r--r--office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild12
-rw-r--r--office/zathura-pdf-mupdf/zathura-pdf-mupdf.info8
3 files changed, 14 insertions, 8 deletions
diff --git a/office/zathura-pdf-mupdf/README b/office/zathura-pdf-mupdf/README
index fa5542afee0a5..74639e41885ac 100644
--- a/office/zathura-pdf-mupdf/README
+++ b/office/zathura-pdf-mupdf/README
@@ -5,7 +5,7 @@ mupdf rendering library (replacing the poppler-based PDF support from
the zathura package).
To switch between the mupdf and poppler backends without reinstalling
-packages, adjust the symlink at /usr/lib(64)/zathura/pdf.so. It
+packages, adjust the symlink at /usr/lib(64)/zathura/libpdf.so. It
should point to either pdf/libpdf-mupdf.so or pdf/libpdf-poppler.so.
You can also reinstall zathura to switch to the poppler backend, or
reinstall zathura-pdf-mupdf to switch to the mupdf backend (whichever
diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
index f4ca736d9cb81..ab131db760536 100644
--- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
+++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
@@ -6,10 +6,16 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20221114 bkw:
+# - update for v0.3.8. I know there's a 0.3.9, but it needs a newer
+# mupdf and I need to fix this script *today*.
+# - rename pdf.so symlink to libpdf.so, needed for shell completion
+# in the zathura package.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zathura-pdf-mupdf
-VERSION=${VERSION:-0.3.7}
+VERSION=${VERSION:-0.3.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -75,10 +81,10 @@ cd build
DESTDIR=$PKG $NINJA install
cd ..
-ln -s pdf/libpdf-mupdf.so $PKG/usr/lib$LIBDIRSUFFIX/zathura/pdf.so
+ln -s pdf/libpdf-mupdf.so $PKG/usr/lib$LIBDIRSUFFIX/zathura/libpdf.so
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README AUTHORS LICENSE $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
diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
index 08578e69e281a..7bb47dba6381e 100644
--- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
+++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
@@ -1,10 +1,10 @@
PRGNAM="zathura-pdf-mupdf"
-VERSION="0.3.7"
+VERSION="0.3.8"
HOMEPAGE="https://github.com/pwmt/zathura-pdf-mupdf"
-DOWNLOAD="https://github.com/pwmt/zathura-pdf-mupdf/archive/0.3.7/zathura-pdf-mupdf-0.3.7.tar.gz"
-MD5SUM="c686b3cef6c78d4e0f8318899478dc81"
+DOWNLOAD="https://github.com/pwmt/zathura-pdf-mupdf/archive/0.3.8/zathura-pdf-mupdf-0.3.8.tar.gz"
+MD5SUM="c9ae486f76917aaabf653fdba38e2af9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="mupdf zathura"
+REQUIRES="mupdf zathura gumbo-parser mujs tesseract"
MAINTAINER="B. Watson"
EMAIL="urchlay@slackware.uk"