diff options
Diffstat (limited to 'libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild')
-rw-r--r-- | libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild b/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild index 0c306e4eee..59f324de96 100644 --- a/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild +++ b/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for webkit2gtk4.1 # -# Copyright 2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2022-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=webkit2gtk4.1 SRCNAM=webkitgtk -VERSION=${VERSION:-2.36.3} +VERSION=${VERSION:-2.44.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,6 +78,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; patch -p1 < $CWD/unhide-deprecated-api.patch +patch -p1 < $CWD/3d5373575695b293b8559155431d0079a6153aff.patch mkdir -p build cd build @@ -92,6 +93,14 @@ cd build -DENABLE_GAMEPAD=OFF \ -DENABLE_MINIBROWSER=ON \ -DENABLE_JOURNALD_LOG=OFF \ + -DENABLE_DOCUMENTATION=OFF \ + -DENABLE_BUBBLEWRAP_SANDBOX=off \ + -DUSE_SYSTEM_MALLOC=on \ + -DUSE_AVIF=OFF \ + -DUSE_GTK4=OFF \ + -DUSE_LIBBACKTRACE=OFF \ + -DUSE_JPEGXL=OFF \ + -DUSE_GSTREAMER_TRANSCODER=OFF \ -Wno-dev \ -G Ninja \ .. @@ -102,10 +111,8 @@ cd build DESTDIR=$PKG $NINJA -j1 install mkdir -p $PKG/usr/share/gtk-doc/html/webkit{2,dom}gtk-4.1 -install -m 0644 ../Documentation/webkit2gtk-4.0/html/* \ - $PKG/usr/share/gtk-doc/html/webkit2gtk-4.1 -install -m 0644 ../Documentation/webkitdomgtk-4.0/html/* \ - $PKG/usr/share/gtk-doc/html/webkitdomgtk-4.1 +cp -rf ../Documentation/* \ + $PKG/usr/share/gtk-doc/html/webkit2gtk-4.1/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ../NEWS $PKG/usr/doc/$PRGNAM-$VERSION |