diff options
author | Kyle Guinn <elyk03@gmail.com> | 2011-03-03 00:10:21 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-04 10:12:45 -0600 |
commit | 28091409e585946c0a51f27aea51cfccbcc5f3a2 (patch) | |
tree | 4510b70b3d9c104c4c3a7ab0b09bf7e4df67365a /audio/TiMidity++/TiMidity++.SlackBuild | |
parent | 3ea4389ecf732f917e4069a0142c28f497e4ad0e (diff) | |
download | slackbuilds-28091409e585946c0a51f27aea51cfccbcc5f3a2.tar.gz |
audio/TiMidity++: Misc tweaks including +jack +speex -arts
For clarity's sake, this commit adds jack and speex support,
removes artsd support, and has various other minor cleanups.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/TiMidity++/TiMidity++.SlackBuild')
-rw-r--r-- | audio/TiMidity++/TiMidity++.SlackBuild | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/audio/TiMidity++/TiMidity++.SlackBuild b/audio/TiMidity++/TiMidity++.SlackBuild index a1ba1aa60a..e8a00e4474 100644 --- a/audio/TiMidity++/TiMidity++.SlackBuild +++ b/audio/TiMidity++/TiMidity++.SlackBuild @@ -2,21 +2,18 @@ # Slackware build script for TiMidity++ # Written by Kyle Guinn <elyk03@gmail.com> - # Changes for Slackware 12.1 by Richard Hoyle <hoyle.richard@gmail.com> # Modified by Michiel van Wessem. <michiel.van.wessem@gmail.com> PRGNAM="TiMidity++" VERSION="2.13.2" -BUILD=${BUILD:-4} +BUILD=${BUILD:-5} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -27,6 +24,21 @@ PKG=$TMP/package-$PRGNAM-$VERSION OUTPUT=${OUTPUT:-/tmp} DOCS="AUTHORS COPYING ChangeLog* INSTALL* NEWS README* TODO doc/C/README* doc/C/FAQ doc/C/CHANGES.02i" +ENABLE_AUDIO="alsa,oss,esd,ao,vorbis,flac" +ENABLE_DYNAMIC="gtk,ncurses,motif,tcltk,emacs,vt100" + +# Support JACK. Requires JACK, of course. +# Disabled by default for those who don't want to install/configure it. +JACK=${JACK:-no} +if [ "$JACK" = "yes" ]; then + ENABLE_AUDIO="$ENABLE_AUDIO,jack" +fi + +# Support speex. Also disabled by default. +SPEEX=${SPEEX:-no} +if [ "$SPEEX" = "yes" ]; then + ENABLE_AUDIO="$ENABLE_AUDIO,speex" +fi if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -78,8 +90,8 @@ EXTRACFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --with-module-dir=/usr/lib${LIBDIRSUFFIX}/timidity \ - --enable-audio=alsa,oss,arts,esd,ao,vorbis,flac \ - --enable-dynamic=gtk,ncurses,motif,tcltk,emacs,vt100 \ + --enable-audio=${ENABLE_AUDIO} \ + --enable-dynamic=${ENABLE_DYNAMIC} \ --enable-alsaseq \ --enable-server \ --enable-network \ |