From c04530ca181654a9dc83864efa1656a13f2e1aaf Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 23 Jan 2022 17:31:47 +0700 Subject: [PATCH] atril: Support webkit2gtk built with libsoup3. Signed-off-by: Willy Sudiarto Raharjo --- extra/atril/atril.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extra/atril/atril.SlackBuild b/extra/atril/atril.SlackBuild index 6512d69..6ecff49 100644 --- a/extra/atril/atril.SlackBuild +++ b/extra/atril/atril.SlackBuild @@ -64,7 +64,7 @@ else fi # check webkitgtk existence -webkit=`pkg-config --exists webkit2gtk-4.0` +webkit=`pkg-config --exists webkit2gtk-4.1` if [ "$?" -eq 0 ]; then epub="--enable-epub" else @@ -86,6 +86,9 @@ 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 {} \; +sed -i "s|webkit2gtk-4.0|webkit2gtk-4.1|g" configure.ac +autoreconf -fiv + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ LDFLAGS="-L/usr/share/texmf/lib" \