Makefile.osx: update
[vamp-aubio-plugins.git] / INSTALL.mingw32
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