audio/ardour: Miscellaneous cleanups.

This commit is contained in:
Robby Workman 2010-05-19 21:37:34 -05:00
parent 1bdc6dfca2
commit 7bd4a9827f
2 changed files with 17 additions and 3 deletions

View File

@ -2,8 +2,8 @@ Ardour is an application to fit the needs of musicians under Linux.
It is designed to be a fully functional professional audio application,
that uses the professional sound server jack for sound i/o.
Ardour requires liblo, liblrdf, scons, fftw, libsamplerate, libgnomecanvas,
jack-audio-connection-kit, and aubio.
Ardour requires liblo, liblrdf, scons, libsamplerate, libgnomecanvas, aubio,
and jack-audio-connection-kit.
If you want ardour with lv2 support pass LV2=yes to the script. This will
additionally need slv2.

View File

@ -24,10 +24,19 @@
PRGNAM=ardour
VERSION=2.8.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -64,6 +73,11 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
TARGET="x86_64"
vstopt="VST=0"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
TARGET="$ARCH"
vstopt="VST=0"
fi
set -e