Files
UltraGrid/.github/scripts/Windows/install_spout.sh
Martin Pulec cf9f6a468c Spout: compat - upstream is no longer compatible
Use 2.006 for now.
2021-01-25 11:51:37 +01:00

16 lines
411 B
Bash
Executable File

#!/bin/sh -eux
# Install SPOUT
git clone -b 2.006 --depth 1 https://github.com/leadedge/Spout2.git
mkdir Spout2/SpoutSDK/Source/build
cd Spout2/SpoutSDK/Source/build
cmake -DBUILD_SHARED_LIBS=ON -G 'MSYS Makefiles' ..
cmake --build .
cp libSpout.dll /usr/local/bin
cp libSpout.dll.a /usr/local/lib
cd -
mkdir /usr/local/include/SpoutSDK
cp Spout2/SpoutSDK/Source/*.h /usr/local/include/SpoutSDK
rm -rf Spout2