mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-01 06:32:51 +02:00
libraries/wxGTK: Added option to build media library.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
f0bc8747dd
commit
0dd642ad3e
2 changed files with 13 additions and 14 deletions
|
@ -1,9 +1,12 @@
|
|||
wxGTK is part of wxWidgets, a cross-platform API for writing GUI applications
|
||||
on multiple platforms that still utilize the native platform's controls and
|
||||
utilities.
|
||||
wxGTK is part of wxWidgets, a cross-platform API for writing GUI
|
||||
applications on multiple platforms that still utilize the native platform's
|
||||
controls and utilities.
|
||||
|
||||
This is a unicode shared build. If you do not want the unicode build, use:
|
||||
UNICODE=NO ./wxGTK.SlackBuild
|
||||
|
||||
This package conflicts with wxPython because wxGTK is already included there.
|
||||
Both cannot be installed at the same time!
|
||||
If you want to include the media library, which provides bindings for
|
||||
gstreamer, you will need to install GConf first.
|
||||
|
||||
This package conflicts with wxPython because wxGTK is already included
|
||||
there. Both cannot be installed at the same time!
|
||||
|
|
|
@ -3,6 +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
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -24,12 +25,11 @@
|
|||
|
||||
# Lots of key help from Eric Hameleers and the SBo admins.
|
||||
|
||||
# Versions >= 2.8.10 by Niels Horn <niels.horn@gmail.com>
|
||||
# revision date: 2011/04/01
|
||||
# revision date: 2011/12/23
|
||||
|
||||
PRGNAM=wxGTK
|
||||
VERSION=${VERSION:-2.8.12}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -52,23 +52,18 @@ UNICODE=${UNICODE:-YES}
|
|||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
ARCHQUADLET=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
ARCHQUADLET=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
ARCHQUADLET=""
|
||||
elif [ "$ARCH" = "arm" ]; then
|
||||
SLKCFLAGS="-O2 -march=armv4t"
|
||||
LIBDIRSUFFIX=""
|
||||
ARCHQUADLET="-gnueabi"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
ARCHQUADLET=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -100,9 +95,10 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--enable-shared \
|
||||
--enable-mediactrl \
|
||||
--with-opengl \
|
||||
--${_do_unicode}able-unicode \
|
||||
--build=$ARCH-slackware-linux$ARCHQUADLET
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
|
Loading…
Reference in a new issue