From 7bb2aed693b4852fc03537d85180e901d914e677 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 21 May 2015 00:42:15 +0700 Subject: libraries/wxGTK3: Build using --with-gtk=2. Signed-off-by: Willy Sudiarto Raharjo --- libraries/wxGTK3/wxGTK3.SlackBuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libraries/wxGTK3') diff --git a/libraries/wxGTK3/wxGTK3.SlackBuild b/libraries/wxGTK3/wxGTK3.SlackBuild index 2804938de1..caaa61192c 100644 --- a/libraries/wxGTK3/wxGTK3.SlackBuild +++ b/libraries/wxGTK3/wxGTK3.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for wxGTK3 -# Copyright 2013-2014 Willy Sudiarto Raharjo +# Copyright 2013-2015 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=wxGTK3 VERSION=${VERSION:-3.0.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=wxWidgets @@ -88,8 +88,10 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-mediactrl \ --with-opengl \ --enable-graphics_ctx \ - --with-gtk=3 \ + --with-gtk=2 \ --enable-unicode \ + --enable-plugins \ + --enable-ipv6 \ $stl \ --build=$ARCH-slackware-linux @@ -100,7 +102,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Now let's fix the broken symlink created by the package -ln -fs /usr/lib${LIBDIRSUFFIX}/wx/config/gtk3-unicode-3.0 \ +ln -fs /usr/lib${LIBDIRSUFFIX}/wx/config/gtk2-unicode-3.0 \ $PKG/usr/bin/wx-config mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3-65-gdbad