aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2023-04-30 02:12:54 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-06 08:28:21 +0700
commitc713de836847f14e2c289384512711f78a6a6b82 (patch)
tree5cc0d0cfcf890cd94e7451bb494133a1903be784 /office
parent3a1699ffda5e528869289ad6e651447e96544148 (diff)
downloadslackbuilds-c713de836847f14e2c289384512711f78a6a6b82.tar.xz
office/atril: Updated for version 1.26.1.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/atril/README5
-rw-r--r--office/atril/atril.SlackBuild32
-rw-r--r--office/atril/atril.info6
3 files changed, 18 insertions, 25 deletions
diff --git a/office/atril/README b/office/atril/README
index 719cd4b31952..21498a4a3049 100644
--- a/office/atril/README
+++ b/office/atril/README
@@ -1,4 +1,7 @@
atril is a document viewer capable of displaying multiple and single
page document formats like PDF, XPS, ePUB, DVI, and Postscript.
-
Atril is a fork of Evince.
+
+Optional dependencies, autodetected at buildtime:
+webkit2gtk for epub
+libgxps for xps
diff --git a/office/atril/atril.SlackBuild b/office/atril/atril.SlackBuild
index 01ae31054fe0..954f69ab1882 100644
--- a/office/atril/atril.SlackBuild
+++ b/office/atril/atril.SlackBuild
@@ -2,9 +2,9 @@
# Slackware build script for atril
-# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
-# Copyright 2013-2021 Willy Sudiarto Raharjo <willysr@slackware-id.org>
-# Copyright 2022 Johannes Schoepfer, Germany
+# Copyright 2013 Chess Griffin, Raleigh, NC
+# Copyright 2013-2021 Willy Sudiarto Raharjo
+# Copyright 2022-2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=atril
-VERSION=${VERSION:-1.26.0}
+VERSION=${VERSION:-1.26.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,6 +69,8 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -82,20 +84,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# check webkit2gtk 4.0 API existence
-webkit=$(pkg-config --exists webkit2gtk-4.0)
-if [ "$?" -eq 0 ]; then
- epub="--enable-epub"
-else
- # check webkit2gtk 4.1 API existence
- webkit=`pkg-config --exists webkit2gtk-4.1`
- if [ "$?" -eq 0 ]; then
- epub="--enable-epub"
- sed -i "s|webkit2gtk-4.0|webkit2gtk-4.1|g" configure.ac
- autoreconf -fiv
- fi
-fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -106,16 +94,18 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
+ --enable-shared \
--disable-caja \
--enable-introspection \
--enable-t1lib \
--enable-pixbuf \
--enable-comics \
- $epub \
+ --enable-epub \
+ --enable-xps \
--build=$ARCH-slackware-linux
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+make
+make install DESTDIR=$PKG
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
diff --git a/office/atril/atril.info b/office/atril/atril.info
index 638735cef218..40297906f111 100644
--- a/office/atril/atril.info
+++ b/office/atril/atril.info
@@ -1,8 +1,8 @@
PRGNAM="atril"
-VERSION="1.26.0"
+VERSION="1.26.1"
HOMEPAGE="https://www.mate-desktop.org/"
-DOWNLOAD="https://pub.mate-desktop.org/releases/1.26/atril-1.26.0.tar.xz"
-MD5SUM="c23e5ba3d4470eb00f31f6f51fe7c519"
+DOWNLOAD="https://pub.mate-desktop.org/releases/1.26/atril-1.26.1.tar.xz"
+MD5SUM="8d56fb4699cda95baff90b8d40e2d9ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""