summaryrefslogtreecommitdiff
path: root/libraries/wxGTK/wxGTK.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/wxGTK/wxGTK.SlackBuild')
-rw-r--r--libraries/wxGTK/wxGTK.SlackBuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/libraries/wxGTK/wxGTK.SlackBuild b/libraries/wxGTK/wxGTK.SlackBuild
index 5d066669a3..a9d131c168 100644
--- a/libraries/wxGTK/wxGTK.SlackBuild
+++ b/libraries/wxGTK/wxGTK.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for wxGTK
# Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com>
-# Copyright 2010-2011 Niels Horn, Rio de Janeiro, RJ, Brazil
+# Copyright 2010-2011,2013 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,11 +25,11 @@
# Lots of key help from Eric Hameleers and the SBo admins.
-# revision date: 2011/12/23
+# revision date: 2013/03/29
PRGNAM=wxGTK
VERSION=${VERSION:-2.8.12}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -49,6 +49,13 @@ OUTPUT=${OUTPUT:-/tmp}
# pass UNICODE=NO ./wxGTK.SlackBuild when building
UNICODE=${UNICODE:-YES}
+# Gnomeprint support
+if [ "${GNOMEPRINT:-no}" = "no" ]; then
+ do_gp="without"
+else
+ do_gp="with"
+fi
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -97,6 +104,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-shared \
--enable-mediactrl \
--with-opengl \
+ --$do_gp-gnomeprint \
--${_do_unicode}able-unicode \
--build=$ARCH-slackware-linux