summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2021-06-14 08:22:11 +0200
committer Willy Sudiarto Raharjo2021-06-14 08:22:11 +0200
commite08533bcd813f774b9305ad87dc8b11da54d6faa (patch)
tree6fb91f51969be14b32192a1282213955bd6d5089 /libraries
parent7910a1afd0e5724ae9101fa6f15d16ec77c80d35 (diff)
downloadslackbuilds-e08533bcd813f774b9305ad87dc8b11da54d6faa.tar.gz
libraries/wxGTK3: Switch to use GTK+3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-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 60664362d1..3fbec5eddc 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 e89eb53447..0c2b629552 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