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

28 lines
849 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
vcpkg.exe install openssl --triplet x64-windows --recurse
rem Donwload ffmpeg
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 14:51:46 +02:00
rm ffplay.exe
2020-09-18 12:22:42 +02:00
rem Move ffmpeg into folder
2020-09-18 14:51:46 +02:00
mv ffmpeg.exe Common/ffmpeg
mv ffprobe.exe Common/ffmpeg