office/atril: Updated for version 1.26.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2024-01-30 08:21:25 +07:00 committed by Willy Sudiarto Raharjo
parent 4b5691c453
commit f873b9cf0c
4 changed files with 16 additions and 14 deletions

View file

@ -3,5 +3,6 @@ page document formats like PDF, XPS, ePUB, DVI, and Postscript.
Atril is a fork of Evince.
Optional dependencies, autodetected at buildtime:
webkit2gtk for epub
webkit2gtk or webkit2gtk4.1 for epub
libgxps for xps
caja for caja-extension

View file

@ -2,9 +2,9 @@
# Slackware build script for atril
# Copyright 2013 Chess Griffin, Raleigh, NC
# Copyright 2013-2021 Willy Sudiarto Raharjo
# Copyright 2022-2023 Johannes Schoepfer, Germany
# Copyright 2013 Chess Griffin, Raleigh, NC
# Copyright 2013-2021 Willy Sudiarto Raharjo
# Copyright 2022-2024 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.1}
VERSION=${VERSION:-1.26.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -80,10 +80,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
-o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
pkg-config libcaja-extension && CAJA="enable" || CAJA="disable"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -95,7 +96,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--enable-shared \
--disable-caja \
--${CAJA}-caja \
--enable-introspection \
--enable-t1lib \
--enable-pixbuf \
@ -112,7 +113,7 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
find $PKG/usr/man -type f -exec gzip -9 {} +
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="atril"
VERSION="1.26.1"
HOMEPAGE="https://www.mate-desktop.org/"
DOWNLOAD="https://pub.mate-desktop.org/releases/1.26/atril-1.26.1.tar.xz"
MD5SUM="8d56fb4699cda95baff90b8d40e2d9ed"
VERSION="1.26.2"
HOMEPAGE="https://wiki.mate-desktop.org/mate-desktop/applications/atril/"
DOWNLOAD="https://pub.mate-desktop.org/releases/1.26/atril-1.26.2.tar.xz"
MD5SUM="bb59ff5a8bddc31e5aa77f72d3d34503"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -15,5 +15,5 @@ atril: Atril is a fork of Evince.
atril:
atril:
atril:
atril: https://www.mate-desktop.org
atril: https://wiki.mate-desktop.org/mate-desktop/applications/atril/
atril: