atril: Support webkit2gtk built with libsoup3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2022-01-23 17:31:47 +07:00
parent 55635bb508
commit c04530ca18
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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" \