Always use noget in fetch-thirdparty-deps-windows.sh
This commit is contained in:
15
thirdparty/fetch-thirdparty-deps-windows.sh
vendored
15
thirdparty/fetch-thirdparty-deps-windows.sh
vendored
@@ -8,15 +8,6 @@ download_dir="${0%/*}/download/windows"
|
||||
mkdir -p "${download_dir}"
|
||||
cd "${download_dir}"
|
||||
|
||||
function get()
|
||||
{
|
||||
if which nuget >/dev/null; then
|
||||
nuget install $1 -Version $2 -ExcludeVersion
|
||||
else
|
||||
../../noget.sh $1 $2
|
||||
fi
|
||||
}
|
||||
|
||||
if [ ! -f SDL2.dll ]; then
|
||||
echo "Fetching SDL2 from libsdl.org"
|
||||
curl -LOs https://www.libsdl.org/release/SDL2-2.0.5-win32-x86.zip
|
||||
@@ -26,21 +17,21 @@ fi
|
||||
|
||||
if [ ! -f freetype6.dll ]; then
|
||||
echo "Fetching FreeType2 from NuGet"
|
||||
get SharpFont.Dependencies 2.6.0
|
||||
../../noget.sh SharpFont.Dependencies 2.6.0
|
||||
cp ./SharpFont.Dependencies/bin/msvc9/x86/freetype6.dll .
|
||||
rm -rf SharpFont.Dependencies
|
||||
fi
|
||||
|
||||
if [ ! -f lua51.dll ]; then
|
||||
echo "Fetching Lua 5.1 from NuGet"
|
||||
get lua.binaries 5.1.5
|
||||
../../noget.sh lua.binaries 5.1.5
|
||||
cp ./lua.binaries/bin/win32/dll8/lua5.1.dll ./lua51.dll
|
||||
rm -rf lua.binaries
|
||||
fi
|
||||
|
||||
if [ ! -f soft_oal.dll ]; then
|
||||
echo "Fetching OpenAL Soft from NuGet"
|
||||
get OpenAL-Soft 1.16.0
|
||||
../../noget.sh OpenAL-Soft 1.16.0
|
||||
cp ./OpenAL-Soft/bin/Win32/soft_oal.dll ./soft_oal.dll
|
||||
rm -rf OpenAL-Soft
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user