mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-27 09:58:14 +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=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check webkitgtk existence
|
# check webkit2gtk 4.0 API existence
|
||||||
webkit=`pkg-config --exists webkit2gtk-4.1`
|
webkit=`pkg-config --exists webkit2gtk-4.0`
|
||||||
if [ "$?" -eq 0 ]; then
|
if [ "$?" -eq 0 ]; then
|
||||||
epub="--enable-epub"
|
epub="--enable-epub"
|
||||||
else
|
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"
|
epub="--disable-epub"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
Loading…
Reference in a new issue