Mercurial > hg > vamp-aubio-plugins
annotate build_mingw32.sh @ 160:cd712d0d5e07
rename INSTALL.foo to build_foo.sh
author | Paul Brossier <piem@piem.org> |
---|---|
date | Sun, 24 Jul 2016 20:32:44 +0200 |
parents | |
children | 5e944736a8ed |
rev | line source |
---|---|
piem@160 | 1 #! /bin/sh |
piem@160 | 2 |
piem@160 | 3 # cross compile vamp-aubio-plugins using mingw32 toolchain |
piem@160 | 4 |
piem@160 | 5 pushd .. |
piem@160 | 6 |
piem@160 | 7 # get Vamp SDK |
piem@160 | 8 curl -O https://code.soundsoftware.ac.uk/attachments/download/690/vamp-plugin-sdk-2.5.tar.gz |
piem@160 | 9 tar xf vamp-plugin-sdk-2.5.tar.gz |
piem@160 | 10 |
piem@160 | 11 # get Vamp windows binaries |
piem@160 | 12 curl -O https://code.soundsoftware.ac.uk/attachments/download/694/vamp-plugin-sdk-2.5-binaries-win32-mingw.zip |
piem@160 | 13 unzip -ox vamp-plugin-sdk-2.5-binaries-win32-mingw.zip |
piem@160 | 14 |
piem@160 | 15 # build aubio |
piem@160 | 16 git clone git://git.aubio.org/git/aubio/ aubio-mingw32 |
piem@160 | 17 pushd aubio-mingw32 |
piem@160 | 18 git co develop |
piem@160 | 19 git pull |
piem@160 | 20 CFLAGS="-Os" CC=i586-mingw32msvc-gcc ./waf distclean configure build install \ |
piem@160 | 21 --destdir=../aubio-dist-mingw32 --testcmd="echo %s" \ |
piem@160 | 22 --with-target-platform=win32 --disable-avcodec --disable-samplerate \ |
piem@160 | 23 --disable-jack --disable-sndfile |
piem@160 | 24 popd |
piem@160 | 25 |
piem@160 | 26 popd |
piem@160 | 27 |
piem@160 | 28 # now build vamp-aubio-plugins |
piem@160 | 29 make -f Makefile.mingw32 clean all |