office/zathura-pdf-mupdf: Updated for version 0.4.4.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7954145400
commit
f6183fcd59
|
@ -10,3 +10,7 @@ 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
|
You can also reinstall zathura to switch to the poppler backend, or
|
||||||
reinstall zathura-pdf-mupdf to switch to the mupdf backend (whichever
|
reinstall zathura-pdf-mupdf to switch to the mupdf backend (whichever
|
||||||
was installed last "wins").
|
was installed last "wins").
|
||||||
|
|
||||||
|
Note: although tesseract is an optional dependency for mupdf, it's
|
||||||
|
required for zathura-pdf-mupdf. It's best to build the dependencies in
|
||||||
|
the order listed in zathura-pdf-mupdf.info.
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
|
|
||||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||||
|
|
||||||
|
# 20240813 bkw: update for v0.4.4. needs newer meson, so add
|
||||||
|
# python3-meson-opt to REQUIRES.
|
||||||
# 20230117 bkw: update for v0.4.0. users will have to update mupdf to 1.21.1.
|
# 20230117 bkw: update for v0.4.0. users will have to update mupdf to 1.21.1.
|
||||||
# 20221114 bkw:
|
# 20221114 bkw:
|
||||||
# - update for v0.3.8. I know there's a 0.3.9, but it needs a newer
|
# - update for v0.3.8. I know there's a 0.3.9, but it needs a newer
|
||||||
|
@ -16,7 +18,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=zathura-pdf-mupdf
|
PRGNAM=zathura-pdf-mupdf
|
||||||
VERSION=${VERSION:-0.4.0}
|
VERSION=${VERSION:-0.4.4}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -64,11 +66,14 @@ chown -R root:root .
|
||||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
||||||
|
|
||||||
|
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
|
||||||
|
export PYTHONPATH=/opt/python$PYVER/site-packages/
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
meson .. \
|
meson setup .. \
|
||||||
--buildtype=release \
|
--buildtype=release \
|
||||||
--infodir=/usr/info \
|
--infodir=/usr/info \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="zathura-pdf-mupdf"
|
PRGNAM="zathura-pdf-mupdf"
|
||||||
VERSION="0.4.0"
|
VERSION="0.4.4"
|
||||||
HOMEPAGE="https://github.com/pwmt/zathura-pdf-mupdf"
|
HOMEPAGE="https://github.com/pwmt/zathura-pdf-mupdf"
|
||||||
DOWNLOAD="https://github.com/pwmt/zathura-pdf-mupdf/archive/0.4.0/zathura-pdf-mupdf-0.4.0.tar.gz"
|
DOWNLOAD="https://github.com/pwmt/zathura-pdf-mupdf/archive/0.4.4/zathura-pdf-mupdf-0.4.4.tar.gz"
|
||||||
MD5SUM="0de569ba18eeb82e5f276c332faf7a09"
|
MD5SUM="c2f28473ecb24a86c9752c0b7f0d124c"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="mupdf zathura mujs tesseract"
|
REQUIRES="zathura mujs tesseract mupdf python3-meson-opt"
|
||||||
MAINTAINER="B. Watson"
|
MAINTAINER="B. Watson"
|
||||||
EMAIL="urchlay@slackware.uk"
|
EMAIL="urchlay@slackware.uk"
|
||||||
|
|
Loading…
Reference in New Issue