aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-14 13:22:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-14 13:22:11 +0700
commite08533bcd813f774b9305ad87dc8b11da54d6faa (patch)
tree6fb91f51969be14b32192a1282213955bd6d5089
parent7910a1afd0e5724ae9101fa6f15d16ec77c80d35 (diff)
libraries/wxGTK3: Switch to use GTK+3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/wxGTK3/README2
-rw-r--r--libraries/wxGTK3/wxGTK3.SlackBuild10
2 files changed, 6 insertions, 6 deletions
diff --git a/libraries/wxGTK3/README b/libraries/wxGTK3/README
index 60664362d114..3fbec5eddc0e 100644
--- a/libraries/wxGTK3/README
+++ b/libraries/wxGTK3/README
@@ -2,7 +2,7 @@ wxGTK3 is part of wxWidgets, a cross-platform API for writing GUI
applications on multiple platforms that still utilize the native
platform's controls and utilities.
-webkitgtk and webkitgtk3 are optional dependencies of this package.
+webkit2gtk are optional dependencies of this package.
This will provide webview support.
NOTE:
diff --git a/libraries/wxGTK3/wxGTK3.SlackBuild b/libraries/wxGTK3/wxGTK3.SlackBuild
index e89eb53447ec..0c2b6295529c 100644
--- a/libraries/wxGTK3/wxGTK3.SlackBuild
+++ b/libraries/wxGTK3/wxGTK3.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for wxGTK3
-# Copyright 2013-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2013-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -64,7 +64,7 @@ else
fi
# Check for WebKit
-webkit=`pkg-config --exists webkit-1.0`
+webkit=`pkg-config --exists webkit2gtk-4.0`
if [ "$?" -eq 0 ]; then
wk="--enable-webkit"
else
@@ -102,7 +102,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-mediactrl \
--with-opengl \
--enable-graphics_ctx \
- --with-gtk=2 \
+ --with-gtk=3 \
--enable-unicode \
--enable-plugins \
--enable-ipv6 \
@@ -120,10 +120,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# Now let's fix the broken symlink created by the package
if [ "${STATIC:-no}" = "yes" ]; then
-ln -fs /usr/lib${LIBDIRSUFFIX}/wx/config/gtk2-unicode-static-3.0 \
+ln -fs /usr/lib${LIBDIRSUFFIX}/wx/config/gtk3-unicode-static-3.0 \
$PKG/usr/bin/wx-config
else
- ln -fs /usr/lib${LIBDIRSUFFIX}/wx/config/gtk2-unicode-3.0 \
+ ln -fs /usr/lib${LIBDIRSUFFIX}/wx/config/gtk3-unicode-3.0 \
$PKG/usr/bin/wx-config
fi