mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
docker/windows: Download and install MSYS for Cerbero
This commit is contained in:
parent
d8e87dc89a
commit
21df205069
1 changed files with 11 additions and 0 deletions
|
@ -6,6 +6,7 @@ $git_url = 'https://github.com/git-for-windows/git/releases/download/v2.24.1.win
|
||||||
$zip_url = 'https://www.7-zip.org/a/7z1900-x64.exe'
|
$zip_url = 'https://www.7-zip.org/a/7z1900-x64.exe'
|
||||||
$cmake_url = 'https://github.com/Kitware/CMake/releases/download/v3.16.1/cmake-3.16.1-win64-x64.msi'
|
$cmake_url = 'https://github.com/Kitware/CMake/releases/download/v3.16.1/cmake-3.16.1-win64-x64.msi'
|
||||||
$msys2_url = 'https://download.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20190524.tar.xz'
|
$msys2_url = 'https://download.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20190524.tar.xz'
|
||||||
|
$msys_mingw_get_url = 'https://osdn.net/projects/mingw/downloads/68260/mingw-get-0.6.3-mingw32-pre-20170905-1-bin.tar.xz'
|
||||||
|
|
||||||
Write-Host "Installing VisualStudio"
|
Write-Host "Installing VisualStudio"
|
||||||
Invoke-WebRequest -Uri $msvc_2017_url -OutFile C:\vs_buildtools.exe
|
Invoke-WebRequest -Uri $msvc_2017_url -OutFile C:\vs_buildtools.exe
|
||||||
|
@ -34,6 +35,16 @@ Invoke-WebRequest -Uri $zip_url -OutFile C:\7z-x64.exe
|
||||||
Start-Process C:\7z-x64.exe -ArgumentList '/S /D=C:\7zip\' -Wait
|
Start-Process C:\7z-x64.exe -ArgumentList '/S /D=C:\7zip\' -Wait
|
||||||
Remove-Item C:\7z-x64.exe -Force
|
Remove-Item C:\7z-x64.exe -Force
|
||||||
|
|
||||||
|
Write-Host "Downloading and extracting mingw-get for MSYS"
|
||||||
|
Invoke-WebRequest -Uri $msys_mingw_get_url -OutFile C:\mingw-get.tar.xz
|
||||||
|
C:\7zip\7z e C:\mingw-get.tar.xz -o"C:\\"
|
||||||
|
C:\7zip\7z x C:\mingw-get.tar -o"C:\\MinGW"
|
||||||
|
Remove-Item C:\mingw-get.tar.xz -Force
|
||||||
|
Remove-Item C:\mingw-get.tar -Force
|
||||||
|
|
||||||
|
Write-Host "Installing MSYS for Cerbero into C:/MinGW using mingw-get"
|
||||||
|
Start-Process C:\MinGW\bin\mingw-get.exe -ArgumentList 'install msys-base mingw32-base mingw-developer-toolkit' -Wait
|
||||||
|
|
||||||
Write-Host "Installing MSYS2 into C:/msys64"
|
Write-Host "Installing MSYS2 into C:/msys64"
|
||||||
Invoke-WebRequest -Uri $msys2_url -OutFile C:\msys2-x86_64.tar.xz
|
Invoke-WebRequest -Uri $msys2_url -OutFile C:\msys2-x86_64.tar.xz
|
||||||
C:\7zip\7z e C:\msys2-x86_64.tar.xz -o"C:\\"
|
C:\7zip\7z e C:\msys2-x86_64.tar.xz -o"C:\\"
|
||||||
|
|
Loading…
Reference in a new issue