Merge pull request #7479 from Mailaender/nuget-openal-soft

Replaced OpenAL Soft Windows DLL with a fetch script from Nuget
This commit is contained in:
Oliver Brakmann
2015-02-21 15:42:24 +01:00
4 changed files with 19 additions and 0 deletions

1
.gitignore vendored
View File

@@ -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
*~

View File

@@ -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

View File

@@ -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
}

Binary file not shown.