office/zathura: Updated for version 0.5.4.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-03-19 01:24:07 -04:00 committed by Willy Sudiarto Raharjo
parent ef88a31120
commit 599117833d
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 20 additions and 7 deletions

View file

@ -27,3 +27,7 @@ Documentation on zathura's synctex support is poor; for some hints on
using synctex with zathura, see:
http://www.math.cmu.edu/~gautam/sj/blog/20140310-zathura-fsearch.html
Note: This is not the latest version of zathura; it is the latest
version that will build on Slackware 15.0. Don't expect this to be
upgraded until after the next Slackware release.

View file

@ -23,6 +23,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20240319 bkw: update for v0.5.4 and zathura-pdf-poppler 0.3.2.
# These are the last versions that will build on Slackware 15.0
# due to newer versions needing a newer pango.
# 20230105 bkw: update for v0.5.1 and zathura-pdf-poppler 0.3.1.
# 20221114 bkw:
@ -42,7 +46,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zathura
VERSION=${VERSION:-0.5.2}
VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -51,7 +55,7 @@ PKGTYPE=${PKGTYPE:-tgz}
# plugins. This build includes the default PDF plugin, without which zathura
# is completely useless.
PLUGIN=$PRGNAM-pdf-poppler
PLUGINVER=${PLUGINVER:-0.3.1}
PLUGINVER=${PLUGINVER:-0.3.2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -100,6 +104,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
fixperms
# 20240319 bkw: upstream decided we needed a newer meson, but this
# builds just fine with our older one.
sed -i '/meson_version/s,>=0\.61,>=0.59,' meson.build
# 20221114 bkw: Maik Wagner and Alexander Verbovetsky reported that
# fish and bash completion weren't working, due to the symlink I use
# to switch between the PDF plugins. This patch should fix it.
@ -148,6 +156,7 @@ if [ "${POPPLER:-yes}" != "no" ]; then
tar xvf $CWD/$PLUGIN-$PLUGINVER.tar.gz
cd $PLUGIN-$PLUGINVER
fixperms
sed -i '/meson_version/s,>=0\.61,>=0.59,' meson.build
export PKG_CONFIG_PATH=$PKG/usr/lib$LIBDIRSUFFIX/pkgconfig:$PKG_CONFIG_PATH

View file

@ -1,10 +1,10 @@
PRGNAM="zathura"
VERSION="0.5.2"
VERSION="0.5.4"
HOMEPAGE="https://github.com/pwmt/zathura"
DOWNLOAD="https://github.com/pwmt/zathura/archive/0.5.2/zathura-0.5.2.tar.gz \
https://github.com/pwmt/zathura-pdf-poppler/archive/0.3.1/zathura-pdf-poppler-0.3.1.tar.gz"
MD5SUM="4e1fc9cf4c7a66665b66e276f1b19cf9 \
ecbd0c17fb3802185839387e68776aa8"
DOWNLOAD="https://github.com/pwmt/zathura/archive/0.5.4/zathura-0.5.4.tar.gz \
https://github.com/pwmt/zathura-pdf-poppler/archive/0.3.2/zathura-pdf-poppler-0.3.2.tar.gz"
MD5SUM="a929f3366a46bb05d623c299276f414b \
23422e7606b815e025f3654dc05c0a13"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="girara"