skiasharp/scripts/install-requirements.ps1
Matthew Leibowitz 9ad68b65d4
Update to a much later version of skia (m80) (#986)
Several iterations of development to come to this:

* [UWP] Fix the ARM build and add ARM64
* [Win32] GDI is optional - and we don't want it
* Update harfbuzz to v2.6.2
* Use Docker
* Use a later version of the linux tools
* Use VS 2019
* Use Xcode 11
* Go all in with MSVC 14.2
* Disable the Tizen builds for now
* Add support for manually specifying VS (This can be done in a few ways, but the common way would be: --vsinstall='C:\PF\MVS\XXX\YYY')
* Update OpenJDK and Tizen Studio
* Using C++ 17
* Also added a THROW_ON_TEST_FAILURE env var to allow previews to be put out when tests are still failing
* Support basic text alignment
* Implement breakText in native code.
2020-04-28 22:20:20 +02:00

17 lines
779 B
PowerShell

$ErrorActionPreference = 'Stop'
$temp = "$env:TEMP\SkiaSharpRequirements"
New-Item $temp -Type Directory -Force | Out-Null
Write-Host "Installing the nano-api-scan .NET Core tool..."
dotnet tool update -g nano-api-scan
Write-Host "Installing the Windows 10 SDK 10.0.10240..."
& "$PSScriptRoot\download-file.ps1" -Uri 'https://go.microsoft.com/fwlink/p/?LinkId=619296' -OutFile "$temp\sdksetup.exe"
& "$env:TEMP\SkiaSharpRequirements\sdksetup.exe" /norestart /quiet | Out-Null
Write-Host "Installing GTK# 2.12..."
& "$PSScriptRoot\download-file.ps1" -Uri 'https://xamarin.azureedge.net/GTKforWindows/Windows/gtk-sharp-2.12.45.msi' -OutFile "$temp\gtk-sharp.msi"
msiexec /i "$env:TEMP\SkiaSharpRequirements\gtk-sharp.msi" /norestart /quiet
Write-Host "Installation complete."