diff options
Diffstat (limited to 'system/font-manager/font-manager.SlackBuild')
-rw-r--r-- | system/font-manager/font-manager.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/system/font-manager/font-manager.SlackBuild b/system/font-manager/font-manager.SlackBuild index ca3a2932fafb9..f714cd868792e 100644 --- a/system/font-manager/font-manager.SlackBuild +++ b/system/font-manager/font-manager.SlackBuild @@ -25,6 +25,9 @@ # 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0, # by updating to v0.8.8. +# 20220306 bkw: Modified by SlackBuilds.org again: add autodetection +# for webkit2gtk dependency. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=font-manager @@ -79,6 +82,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 {} \+ +WEBKIT=false +pkg-config --exists webkit2gtk-4.0 && WEBKIT=true + mkdir build cd build CFLAGS="$SLKCFLAGS" \ @@ -92,6 +98,7 @@ cd build --prefix=/usr \ --sysconfdir=/etc \ -Dthunar=true \ + -Dwebkit=$WEBKIT \ -Dstrip=true "${NINJA:=ninja}" DESTDIR=$PKG $NINJA install |