libraries/wxGTK3: Build using --with-gtk=2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2545f67f5e
commit
7bb2aed693
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue