mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-25 21:59:36 +01:00
atril: Support both Webkit2gtk API 4.0 and 4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
4fd6192a35
commit
918886cfda
1 changed files with 9 additions and 3 deletions
|
@ -63,12 +63,18 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
# check webkitgtk existence
|
||||
webkit=`pkg-config --exists webkit2gtk-4.1`
|
||||
# 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"
|
||||
else
|
||||
epub="--disable-epub"
|
||||
fi
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
|
Loading…
Reference in a new issue