mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/yelp: add webkit2gtk4.1 support
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3e54546fdc
commit
24729b4b1b
2 changed files with 11 additions and 5 deletions
|
@ -2,6 +2,7 @@ yelp allows you to view documentation regarding GNOME and other
|
|||
components through a variety of formats
|
||||
|
||||
Conflict warning: webkit2gtk and webkit2gtk4.1 conflict with each
|
||||
other. Since this depends on webkit2gtk (with 4.0 API), yelp cannot
|
||||
be used with (or even installed on the same system as) software that
|
||||
requires webkit2gtk4.1.
|
||||
other. If this is build with webkit2gtk4.1 instead of webkit2gtk,
|
||||
any software that uses it and it's deps must also be built with
|
||||
webkit2gtk4.1/soup3 instead of webkit2gtk/soup2
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=yelp
|
||||
VERSION=${VERSION:-42.2}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -76,6 +76,11 @@ 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 {} \;
|
||||
|
||||
WKIT2="4-0" #handle either webkit2gtk or webkit2gtk4.1
|
||||
if $(pkg-config --exists webkit2gtk-4.1); then
|
||||
WKIT2="4-1"
|
||||
fi
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -87,7 +92,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--enable-static=no \
|
||||
--disable-schemas-compile \
|
||||
--with-webkit2gtk-4-0 \
|
||||
--with-webkit2gtk-$WKIT2 \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
|
|
Loading…
Reference in a new issue