Mercurial > hg > vamp-aubio-plugins
changeset 175:18f453a30ac7
scripts/get_aubio.sh: compile against lasts release when VAMP_AUBIO_VERSION_STATUS is empty
author | Paul Brossier <piem@piem.org> |
---|---|
date | Mon, 13 Feb 2017 17:35:29 +0100 |
parents | 6c64409575d8 |
children | 6a060e46542d |
files | scripts/get_aubio.sh |
diffstat | 1 files changed, 16 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/get_aubio.sh Mon Feb 13 17:33:36 2017 +0100 +++ b/scripts/get_aubio.sh Mon Feb 13 17:35:29 2017 +0100 @@ -3,12 +3,26 @@ set -e set -x +source VERSION + mkdir -p contrib pushd contrib -git clone https://github.com/aubio/aubio aubio || ( pushd aubio; git pull; popd ) +if [ -n "$VAMP_AUBIO_VERSION_STATUS" ] +then + git clone https://github.com/aubio/aubio aubio || ( pushd aubio; git pull; popd ) + pushd aubio +else + AUBIO_VERSION=0.4.4 + echo "using release 0.4.4" + tarball=aubio-$AUBIO_VERSION.tar.bz2 + [ -f $tarball ] || wget https://aubio.org/pub/$tarball + [ -f $tarball.asc ] || wget https://aubio.org/pub/$tarball.asc + gpg --verify $tarball.asc $tarball + rm -rf ${tarball%%.tar.bz2} && tar xf $tarball + pushd ${tarball%%.tar.bz2} +fi #rm -rf aubio -pushd aubio ./scripts/get_waf.sh #./waf distclean ./waf configure --prefix=$PWD/../aubio-dist $WAFOPTS