diff --git a/.gitignore b/.gitignore index c00716c1f0..09958f83d4 100644 --- a/.gitignore +++ b/.gitignore @@ -41,6 +41,7 @@ thirdparty/Mono.Nat.dll thirdparty/nuget.exe thirdparty/windows/lua51.dll thirdparty/windows/zlib1.dll +thirdparty/windows/soft_oal.dll # backup files by various editors *~ diff --git a/thirdparty/fetch-thirdparty-deps-windows.sh b/thirdparty/fetch-thirdparty-deps-windows.sh index a379b9973a..3a6ba42692 100755 --- a/thirdparty/fetch-thirdparty-deps-windows.sh +++ b/thirdparty/fetch-thirdparty-deps-windows.sh @@ -3,6 +3,10 @@ # Die on any error for Travis CI to automatically retry: set -e +if [ ! -d windows ]; then + mkdir windows +fi + if [ ! -f windows/SDL2.dll ]; then echo "Fetching SDL2 from nuget" nuget install sdl2 -Version 2.0.3 @@ -31,3 +35,9 @@ if [ ! -f windows/zlib1.dll ]; then rm -rf zlib.redist.1.2.8.7 fi +if [ ! -f windows/soft_oal.dll ]; then + echo "Fetching OpenAL Soft from nuget" + nuget install OpenAL-Soft -Version 1.16.0 + cp ./OpenAL-Soft.1.16.0/bin/Win32/soft_oal.dll windows/soft_oal.dll + rm -rf OpenAL-Soft.1.16.0 +fi diff --git a/thirdparty/fetch-thirdparty-deps.ps1 b/thirdparty/fetch-thirdparty-deps.ps1 index e7ea44a09e..0c6f610734 100644 --- a/thirdparty/fetch-thirdparty-deps.ps1 +++ b/thirdparty/fetch-thirdparty-deps.ps1 @@ -97,3 +97,11 @@ if (!(Test-Path "windows/zlib1.dll")) cp zlib.redist.1.2.8.7/build/native/bin/v120/Win32/Release/dynamic/stdcall/zlib.dll windows/zlib1.dll rmdir zlib.redist.1.2.8.7 -Recurse } + +if (!(Test-Path "windows/soft_oal.dll")) +{ + echo "Fetching OpenAL Soft from NuGet." + ./nuget.exe install OpenAL-Soft -Version 1.16.0 + cp OpenAL-Soft.1.16.0/bin/Win32/soft_oal.dll windows/soft_oal.dll + rmdir OpenAL-Soft.1.16.0 -Recurse +} diff --git a/thirdparty/windows/soft_oal.dll b/thirdparty/windows/soft_oal.dll deleted file mode 100644 index 1f245a82a9..0000000000 Binary files a/thirdparty/windows/soft_oal.dll and /dev/null differ