1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00
ScreenPlay/install_dependencies_windows.bat

37 lines
981 B
Batchfile
Raw Normal View History

git submodule update --init
git submodule update --recursive
cd Common
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
git pull
2020-09-10 17:32:24 +02:00
rem master 10.09.2020 - 18ab4b72a26284f0df28295ce7bf9b21c96f20f4
git checkout 18ab4b72a26284f0df28295ce7bf9b21c96f20f4
call bootstrap-vcpkg.bat
2020-09-18 12:22:42 +02:00
rem Install vcpkg dependencies
2020-09-18 17:44:03 +02:00
vcpkg.exe install openssl sentry-native --triplet x64-windows --recurse
2020-09-18 12:22:42 +02:00
cd ..
cd ..
2020-09-18 12:22:42 +02:00
rem Donwload ffmpeg
curl.exe -L https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.zip --ssl-no-revoke --output ffmpeg.zip
2020-09-18 12:22:42 +02:00
rem Extract ffmpeg. Needs Windows 10 build 17063 or higher!
rem We only need the content of the bin folder
mkdir ffmpeg_tmp
tar -xvf ffmpeg.zip -C ffmpeg_tmp
2020-09-18 12:22:42 +02:00
timeout 3 > NUL
rem Copy to Common folder
mkdir Common\ffmpeg
move "ffmpeg_tmp\ffmpeg-*" "ffmpeg_tmp\ffmpeg"
robocopy ffmpeg_tmp\ffmpeg\bin Common\ffmpeg /E
2020-09-18 12:22:42 +02:00
rem Remove not used ffplay
DEL Common\ffmpeg\ffplay.exe
rem Deleting FFmpeg temp
DEL ffmpeg.zip
rmdir ffmpeg_tmp /s /q
pause