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-09-18 13:44:27 +02:00
|
|
|
curl.exe -L https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-4.3.1-full_build.zip --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
|
|
|
|
rem --strip-components 2 removes folder
|
|
|
|
tar -xvf ffmpeg.zip --strip-components 2 ffmpeg-4.3.1-full_build/bin
|
|
|
|
|
|
|
|
rem Remove not used ffplay
|
2020-09-18 16:34:14 +02:00
|
|
|
DEL ffplay.exe
|
2020-09-18 12:22:42 +02:00
|
|
|
|
|
|
|
rem Move ffmpeg into folder
|
2020-09-18 16:34:14 +02:00
|
|
|
move /Y ffmpeg.exe Common/ffmpeg
|
|
|
|
move /Y ffprobe.exe Common/ffmpeg
|
|
|
|
|
|
|
|
DEL ffmpeg.zip
|
|
|
|
|
|
|
|
pause
|