From e08533bcd813f774b9305ad87dc8b11da54d6faa Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 14 Jun 2021 13:22:11 +0700 Subject: libraries/wxGTK3: Switch to use GTK+3. Signed-off-by: Willy Sudiarto Raharjo --- libraries/wxGTK3/README | 2 +- libraries/wxGTK3/wxGTK3.SlackBuild | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libraries') 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 +# Copyright 2013-2021 Willy Sudiarto Raharjo # 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 -- cgit v1.2.3