aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-21 00:42:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-22 19:47:34 +0700
commit7bb2aed693b4852fc03537d85180e901d914e677 (patch)
treed084e166d20d1de0cbd14f0e110502e5362300ca
parent2545f67f5e7f40a3074edbfd78d11d1379a92a1f (diff)
libraries/wxGTK3: Build using --with-gtk=2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/wxGTK3/wxGTK3.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/libraries/wxGTK3/wxGTK3.SlackBuild b/libraries/wxGTK3/wxGTK3.SlackBuild
index 2804938de1f3..caaa61192cf4 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 <willysr@slackbuilds.org>
+# Copyright 2013-2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# 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