2020-04-30 20:03:14 +02:00
|
|
|
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
|
2020-04-30 20:03:14 +02:00
|
|
|
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
|
|
|
|
2020-09-18 16:34:14 +02:00
|
|
|
cd ..
|
|
|
|
cd ..
|
|
|
|
|
2020-09-18 12:22:42 +02:00
|
|
|
rem Donwload ffmpeg
|
2020-10-04 06:26:25 +02:00
|
|
|
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
|
2020-10-04 06:26:25 +02:00
|
|
|
mkdir ffmpeg_tmp
|
|
|
|
tar -xvf ffmpeg.zip -C ffmpeg_tmp
|
2020-09-18 12:22:42 +02:00
|
|
|
|
2020-10-04 06:26:25 +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
|
|
|
|
2020-10-04 06:26:25 +02:00
|
|
|
rem Remove not used ffplay
|
|
|
|
DEL Common\ffmpeg\ffplay.exe
|
2020-09-18 16:34:14 +02:00
|
|
|
|
2020-10-04 06:26:25 +02:00
|
|
|
rem Deleting FFmpeg temp
|
2020-09-18 16:34:14 +02:00
|
|
|
DEL ffmpeg.zip
|
2020-10-04 06:26:25 +02:00
|
|
|
rmdir ffmpeg_tmp /s /q
|
2020-09-18 16:34:14 +02:00
|
|
|
pause
|