aboutsummaryrefslogtreecommitdiff
path: root/audio/audacity/audacity.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audacity/audacity.SlackBuild')
-rw-r--r--audio/audacity/audacity.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild
index 9f175f5ba245..0f30b2ec326e 100644
--- a/audio/audacity/audacity.SlackBuild
+++ b/audio/audacity/audacity.SlackBuild
@@ -32,7 +32,7 @@
PRGNAM=audacity
SRCNAM=Audacity
VERSION=${VERSION:-2.1.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -63,7 +63,6 @@ else
fi
if [ -x /usr/bin/listplugins ]; then do_ladspa="--with-ladspa"; else do_ladspa="--without-ladspa"; fi
-if [ $(which lame) ]; then do_lame="-lame=system"; else do_lame="out-lame"; fi
if pkg-config --exists libavcodec; then do_ffmpeg="-ffmpeg=system"; else do_ffmpeg="out-ffmpeg"; fi
if pkg-config --exists soundtouch; then do_soundtouch="-soundtouch=system"; else do_soundtouch="out-soundtouch"; fi
if pkg-config --exists twolame; then do_twolame="-libtwolame=system"; else do_twolame="out-libtwolame"; fi
@@ -104,6 +103,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-unicode \
--enable-nyquist \
--with-expat=system \
+ --with-lame=system \
--with-libvorbis=system \
--with-libmad=system \
--with-libflac=system \
@@ -112,7 +112,6 @@ CXXFLAGS="$SLKCFLAGS" \
--with-libsoxr \
--with-portaudio \
$do_ladspa \
- --with$do_lame \
--with$do_ffmpeg \
--with$do_lv2 \
--with$do_soundtouch \
@@ -123,7 +122,7 @@ CXXFLAGS="$SLKCFLAGS" \
# ensure we use the system headers for these: note that we do this after the
# configure as this last wants to run sub-configures in these dirs
-for i in ffmpeg expat libid3tag libflac libmad libresample libsndfile libvamp lv2 soundtouch twolame; do
+for i in ffmpeg expat lame libid3tag libflac libmad libresample libsndfile libvamp lv2 soundtouch twolame; do
rm -rf lib-src/$i
done