comparison scripts/get_aubio.sh @ 194:c22402c78df4

scripts/get_aubio.sh: disable external dependencies, use curl
author Paul Brossier <piem@piem.org>
date Tue, 14 Feb 2017 00:47:17 +0100
parents 9a07ca45658d
children 84fbc387ebd4
comparison
equal deleted inserted replaced
193:b741b17079ea 194:c22402c78df4
2 2
3 set -e 3 set -e
4 set -x 4 set -x
5 5
6 source $PWD/VERSION 6 source $PWD/VERSION
7
8 # external dependencies are not required for vamp
9 WAFOPTS="--disable-samplerate --disable-avcodec --disable-sndfile --disable-jack"
7 10
8 mkdir -p contrib 11 mkdir -p contrib
9 pushd contrib 12 pushd contrib
10 if [ -n "$VAMP_AUBIO_VERSION_STATUS" ] 13 if [ -n "$VAMP_AUBIO_VERSION_STATUS" ]
11 then 14 then
12 git clone https://github.com/aubio/aubio aubio || ( pushd aubio; git pull; popd ) 15 git clone https://github.com/aubio/aubio aubio || ( pushd aubio; git pull; popd )
13 pushd aubio 16 pushd aubio
14 else 17 else
15 echo "using release 0.4.4" 18 echo "using release 0.4.4"
16 tarball=aubio-$AUBIO_VERSION.tar.bz2 19 tarball=aubio-$AUBIO_VERSION.tar.bz2
17 [ -f $tarball ] || wget https://aubio.org/pub/$tarball 20 [ -f $tarball ] || curl -O https://aubio.org/pub/$tarball
18 [ -f $tarball.asc ] || wget https://aubio.org/pub/$tarball.asc 21 [ -f $tarball.asc ] || curl -O https://aubio.org/pub/$tarball.asc
19 gpg --verify $tarball.asc $tarball 22 gpg --verify $tarball.asc $tarball
20 rm -rf ${tarball%%.tar.bz2} && tar xf $tarball 23 rm -rf ${tarball%%.tar.bz2} && tar xf $tarball
21 pushd ${tarball%%.tar.bz2} 24 pushd ${tarball%%.tar.bz2}
22 fi 25 fi
23 26