summaryrefslogtreecommitdiff
path: root/audio/audacity/audacity.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2011-03-05 06:32:57 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-03-05 06:32:57 -0300
commit915d5559e0cf5fbe29557b9b63a84f77ee2144a5 (patch)
tree092525273f4791605da7ad72aa03ea9774911178 /audio/audacity/audacity.SlackBuild
parentd2ec2b6968a02e2dd16474d7681f459f827af7ba (diff)
downloadslackbuilds-915d5559e0cf5fbe29557b9b63a84f77ee2144a5.tar.gz
audio/audacity: Patched for portaudio + new ffmpeg switch.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/audacity/audacity.SlackBuild')
-rw-r--r--audio/audacity/audacity.SlackBuild15
1 files changed, 14 insertions, 1 deletions
diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild
index 0f8a11378c..c4667546cd 100644
--- a/audio/audacity/audacity.SlackBuild
+++ b/audio/audacity/audacity.SlackBuild
@@ -30,7 +30,7 @@
PRGNAM=audacity
VERSION=1.3.12
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -58,6 +58,12 @@ else
do_twolame="with"
fi
+if [ "${FFMPEG:-no}" = "no" ]; then
+ do_ffmpeg="without"
+else
+ do_ffmpeg="with"
+fi
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -90,6 +96,12 @@ find . \
# Fix ffmpeg support for version 0.6
patch -p1 -i $CWD/audacity-src-1.3.12-beta-avformat-api-change.patch
+# Fix configure in lib-src/portmixer/
+patch -p1 -i $CWD/audacity-src-1.3.12-beta-configure-portmixer.patch
+cd lib-src/portmixer
+autoreconf
+cd -
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -105,6 +117,7 @@ CXXFLAGS="$SLKCFLAGS" \
--with-libsndfile \
--with-libid3tag \
--with-libresample \
+ --$do_ffmpeg-ffmpeg \
--$do_soundtouch-soundtouch \
--$do_twolame-libtwolame