aboutsummaryrefslogtreecommitdiff
path: root/audio/audacity/audacity.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-06-03 10:50:36 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-20 11:55:27 +0700
commit9b26285f8e2bd162233f4e01fb6c042f541c649b (patch)
tree1e2724d1506ec8849d29b6ad82febde618026a42 /audio/audacity/audacity.SlackBuild
parentc0395600415ebc17fb557b2e1722a7b8e128e730 (diff)
audio/audacity: Fix building against ffmpeg-2.6.x.
Thanks to John Vogel for pointing at the patch Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/audacity/audacity.SlackBuild')
-rw-r--r--audio/audacity/audacity.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild
index 4a8384744cf53..3ac335fd25aec 100644
--- a/audio/audacity/audacity.SlackBuild
+++ b/audio/audacity/audacity.SlackBuild
@@ -31,7 +31,7 @@
PRGNAM=audacity
VERSION=${VERSION:-2.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -87,6 +87,9 @@ find -L . \
sed -i "s,lib/vamp,lib$LIBDIRSUFFIX/vamp,g" \
lib-src/libvamp/src/vamp-hostsdk/PluginHostAdapter.cpp || true
+# fix building against ffmpeg-2.6.x, patch from archlinux
+patch -p1 < $CWD/audacity-ffmpeg.patch
+
# libsoxr is the new default resampling library
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \