libraries/wxGTK: included libgnomeprint support
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
41953e27dc
commit
e59f85f23a
|
@ -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!
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue