libraries/wxGTK3: Build using --with-gtk=2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-05-21 00:42:15 +07:00
parent 2545f67f5e
commit 7bb2aed693
1 changed files with 6 additions and 4 deletions

View File

@ -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