diff options
Diffstat (limited to 'libraries/webkit2gtk/webkit2gtk.SlackBuild')
-rw-r--r-- | libraries/webkit2gtk/webkit2gtk.SlackBuild | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/libraries/webkit2gtk/webkit2gtk.SlackBuild b/libraries/webkit2gtk/webkit2gtk.SlackBuild index 0ded8160f5..fe4f736d00 100644 --- a/libraries/webkit2gtk/webkit2gtk.SlackBuild +++ b/libraries/webkit2gtk/webkit2gtk.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for webkit2gtk # -# Copyright 2016-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2016-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=webkit2gtk 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 @@ -93,6 +94,14 @@ cd build -DENABLE_MINIBROWSER=ON \ -DUSE_SOUP2=ON \ -DENABLE_JOURNALD_LOG=OFF \ + -DENABLE_DOCUMENTATION=OFF \ + -DENABLE_BUBBLEWRAP_SANDBOX=off \ + -DUSE_SYSTEM_MALLOC=on \ + -DUSE_GSTREAMER_TRANSCODER=OFF \ + -DUSE_AVIF=OFF \ + -DUSE_GTK4=OFF \ + -DUSE_LIBBACKTRACE=OFF \ + -DUSE_JPEGXL=OFF \ -Wno-dev \ -G Ninja \ .. @@ -103,10 +112,8 @@ cd build DESTDIR=$PKG $NINJA -j1 install mkdir -p $PKG/usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 -install -m 0644 ../Documentation/webkit2gtk-4.0/html/* \ +cp -rf ../Documentation/* \ $PKG/usr/share/gtk-doc/html/webkit2gtk-4.0 -install -m 0644 ../Documentation/webkitdomgtk-4.0/html/* \ - $PKG/usr/share/gtk-doc/html/webkitdomgtk-4.0 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ../NEWS $PKG/usr/doc/$PRGNAM-$VERSION |