aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2013-04-15 19:04:08 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-28 12:23:04 -0300
commite59f85f23abe3b6fee1c831df34e58b8b82e0bb0 (patch)
treebb0c05971f4a440f5446435cded11aa92dc312d9 /libraries
parent41953e27dc2d49c28e5939395507d201c60ff398 (diff)
libraries/wxGTK: included libgnomeprint support
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/wxGTK/README4
-rw-r--r--libraries/wxGTK/wxGTK.SlackBuild14
2 files changed, 15 insertions, 3 deletions
diff --git a/libraries/wxGTK/README b/libraries/wxGTK/README
index d6ff59c439b11..25b994df96cc7 100644
--- a/libraries/wxGTK/README
+++ b/libraries/wxGTK/README
@@ -5,5 +5,9 @@ controls and utilities.
This is a unicode shared build. If you do not want the unicode build, use:
UNICODE=NO ./wxGTK.SlackBuild
+If you want support for gnomeprint pass GNOMEPRINT=yes to the script. This
+will require libgnomeprint and libgnomeprintui, both available from
+SlackBuilds.org.
+
This package conflicts with wxPython because wxGTK is already included
there. Both cannot be installed at the same time!
diff --git a/libraries/wxGTK/wxGTK.SlackBuild b/libraries/wxGTK/wxGTK.SlackBuild
index 5d066669a3268..a9d131c1686dd 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