From 31391c769d05187dc8b7c6d69df9cecde399ac5e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 1 Mar 2012 21:21:00 +0000 Subject: [PATCH] add aubio and LRDF, fix build of samplerate git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11579 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/build-ardour-stack | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/tools/build-ardour-stack b/tools/build-ardour-stack index ce7b970182..9d56add511 100755 --- a/tools/build-ardour-stack +++ b/tools/build-ardour-stack @@ -98,6 +98,10 @@ if [ $download ] ; then echo libsndfile curl -LO http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz fi + if [ ! -f aubio-0.3.2.tar.gz ] ; then + echo aubio + curl -LO http://aubio.org/pub/aubio-0.3.2.tar.gz + fi if [ ! -f lv2core-6.0.tar.bz2 ] ; then echo lv2core curl -LO http://lv2plug.in/spec/lv2core-6.0.tar.bz2 @@ -154,6 +158,7 @@ export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig set -e + tar xf boost_1_49_0.tar.bz2 && \ (set -e && cd boost_1_49_0 && ./bootstrap.sh --prefix=$PREFIX --with-libraries=exception && ./b2 && ./b2 install) @@ -204,10 +209,17 @@ tar xf libvorbis-1.3.2.tar.bz2 && \ # sndfile-play incorrectly includes which no longer works on Lion tar xf libsndfile-1.0.25.tar.gz && \ - (set -e && cd libsndfile-1.0.25 && CXXFLAGS="$GLOBAL_CFLAGS" CFLAGS="$GLOBAL_CFLAGS -I/System/Library/Frameworks/Carbon.framework/Headers" LDFLAGS="$GLOBAL_LDFLAGS" ./configure --prefix=$PREFIX --disable-silent-rules && make && make install) + (set -e && cd libsndfile-1.0.25 && CFLAGS="$GLOBAL_CFLAGS -I/System/Library/Frameworks/Carbon.framework/Headers" LDFLAGS="$GLOBAL_LDFLAGS" ./configure --prefix=$PREFIX --disable-silent-rules && make && make install) +# samplerate incorrectly includes which no longer works on Lion tar xf libsamplerate-0.1.8.tar.gz && \ - (set -e && cd libsamplerate-0.1.8 && CXXFLAGS="$GLOBAL_CFLAGS" CFLAGS="$GLOBAL_CFLAGS" LDFLAGS="$GLOBAL_LDFLAGS" ./configure --prefix=$PREFIX && make && make install) + (set -e && cd libsamplerate-0.1.8 && CFLAGS="$GLOBAL_CFLAGS -I/System/Library/Frameworks/Carbon.framework/Headers" LDFLAGS="$GLOBAL_LDFLAGS" ./configure --prefix=$PREFIX && make && make install) + +tar xf aubio-0.3.2.tar.gz && \ + (set -e && cd aubio-0.3.2 && sed '/no-long-double/d' < ./configure > ./configure.XXX && mv ./configure.XXX ./configure && chmod +x ./configure && CFLAGS="$GLOBAL_CFLAGS" LDFLAGS="$GLOBAL_LDFLAGS" ./configure --prefix=$PREFIX && make && make install) + +# LRDF from git +(set -e && git clone https://github.com/swh/LRDF.git && cd LRDF && CFLAGS="$GLOBAL_CFLAGS" LDFLAGS="$GLOBAL_LDFLAGS" sh ./autogen.sh --prefix=$PREFIX && make && make install) tar xf lv2core-6.0.tar.bz2 && \ (set -e && cd lv2core-6.0 && ./waf configure --prefix=$PREFIX && ./waf && sudo ./waf install)