Mercurial > hg > vamp-aubio-plugins
comparison 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 |
comparison
equal
deleted
inserted
replaced
159:07e8ee33c810 | 160:cd712d0d5e07 |
---|---|
1 #! /bin/sh | |
2 | |
3 # cross compile vamp-aubio-plugins using mingw32 toolchain | |
4 | |
5 pushd .. | |
6 | |
7 # get Vamp SDK | |
8 curl -O https://code.soundsoftware.ac.uk/attachments/download/690/vamp-plugin-sdk-2.5.tar.gz | |
9 tar xf vamp-plugin-sdk-2.5.tar.gz | |
10 | |
11 # get Vamp windows binaries | |
12 curl -O https://code.soundsoftware.ac.uk/attachments/download/694/vamp-plugin-sdk-2.5-binaries-win32-mingw.zip | |
13 unzip -ox vamp-plugin-sdk-2.5-binaries-win32-mingw.zip | |
14 | |
15 # build aubio | |
16 git clone git://git.aubio.org/git/aubio/ aubio-mingw32 | |
17 pushd aubio-mingw32 | |
18 git co develop | |
19 git pull | |
20 CFLAGS="-Os" CC=i586-mingw32msvc-gcc ./waf distclean configure build install \ | |
21 --destdir=../aubio-dist-mingw32 --testcmd="echo %s" \ | |
22 --with-target-platform=win32 --disable-avcodec --disable-samplerate \ | |
23 --disable-jack --disable-sndfile | |
24 popd | |
25 | |
26 popd | |
27 | |
28 # now build vamp-aubio-plugins | |
29 make -f Makefile.mingw32 clean all |