libraries/wxWidgets: Updated for version 3.2.2.1.

Fix the path returned by wx-config

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2023-02-15 20:46:17 +01:00 committed by Willy Sudiarto Raharjo
parent 9da41d2ca6
commit 0e2c12297a
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 5 additions and 8 deletions

View File

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wxWidgets
VERSION=${VERSION:-3.2.2}
VERSION=${VERSION:-3.2.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -91,10 +91,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
#Fix wx-config to return the correct path
if [ "$LIBDIRSUFFIX" != "" ]; then
sed -i "89s/\/lib/\/lib${LIBDIRSUFFIX}/" $TMP/$PRGNAM-$VERSION/build/cmake/config.cmake
fi
sed -i "s|prefix}/lib|prefix}/lib$LIBDIRSUFFIX|" build/cmake/config.cmake
if [ -z "$INTERFACE" ]; then
cmake -B build-gtk3 \

View File

@ -1,8 +1,8 @@
PRGNAM="wxWidgets"
VERSION="3.2.2"
VERSION="3.2.2.1"
HOMEPAGE="http://www.wxwidgets.org"
DOWNLOAD="https://github.com/wxWidgets/wxWidgets/archive/v3.2.2/wxWidgets-3.2.2.tar.gz"
MD5SUM="391fde43e0508ffd73f05f054fdff06b"
DOWNLOAD="https://github.com/wxWidgets/wxWidgets/archive/v3.2.2.1/wxWidgets-3.2.2.1.tar.gz"
MD5SUM="4edff9fb6eeb86d4f4f59f291d28b935"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""