aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-04-19 10:14:22 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-22 08:10:31 +0700
commit38aab4dd63e6eb700d28cefb2e30cc550124f52d (patch)
treeb339d1f3738386f0619984e37309eb451a284263
parent838bd08903ed4df5c1d86fe14319ce1b14f547bc (diff)
audio/audacity: Set lame as a mandatory dependency.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--audio/audacity/audacity.SlackBuild7
-rw-r--r--audio/audacity/audacity.info2
2 files changed, 4 insertions, 5 deletions
diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild
index 9f175f5ba2450..0f30b2ec326ef 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
diff --git a/audio/audacity/audacity.info b/audio/audacity/audacity.info
index adc65efe66deb..0d454dd639c75 100644
--- a/audio/audacity/audacity.info
+++ b/audio/audacity/audacity.info
@@ -7,6 +7,6 @@ MD5SUM="82e7216ae4b9bb597ed6f291bd44f45b \
5e32b26a48f79e82438998c3334fe117"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="wxGTK3"
+REQUIRES="lame wxGTK3"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"