Upgrade static graphics to SkiaSharp 4.150.1
This commit is contained in:
1 parent
9e47ca801d
commit
afff9f9833
11 files changed
+14
-14
No files matched your search
@@ -6,7 +6,7 @@ on:
|
|||||||
source_version:
|
source_version:
|
||||||
description: Existing package version containing the static libraries
|
description: Existing package version containing the static libraries
|
||||||
required: true
|
required: true
|
||||||
default: 3.119.4-7922.1
|
default: 4.150.1-7922.1
|
||||||
type: string
|
type: string
|
||||||
publish_to_nuget:
|
publish_to_nuget:
|
||||||
description: Publish package to nuget.org
|
description: Publish package to nuget.org
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ on:
|
|||||||
inputs:
|
inputs:
|
||||||
skiasharp_version:
|
skiasharp_version:
|
||||||
required: true
|
required: true
|
||||||
default: "3.119.4"
|
default: "4.150.1"
|
||||||
type: string
|
type: string
|
||||||
angle_branch:
|
angle_branch:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ on:
|
|||||||
inputs:
|
inputs:
|
||||||
skiasharp_version:
|
skiasharp_version:
|
||||||
required: true
|
required: true
|
||||||
default: "3.119.4"
|
default: "4.150.1"
|
||||||
type: string
|
type: string
|
||||||
angle_branch:
|
angle_branch:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ on:
|
|||||||
inputs:
|
inputs:
|
||||||
skiasharp_version:
|
skiasharp_version:
|
||||||
required: true
|
required: true
|
||||||
default: "3.119.4"
|
default: "4.150.1"
|
||||||
type: string
|
type: string
|
||||||
angle_branch:
|
angle_branch:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ on:
|
|||||||
inputs:
|
inputs:
|
||||||
skiasharp_version:
|
skiasharp_version:
|
||||||
required: true
|
required: true
|
||||||
default: "3.119.4"
|
default: "4.150.1"
|
||||||
type: string
|
type: string
|
||||||
angle_branch:
|
angle_branch:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ dotnet add package StaticLink.Avalonia
|
|||||||
Or add it manually:
|
Or add it manually:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<PackageReference Include="StaticLink.Avalonia" Version="3.119.4-7922.1" />
|
<PackageReference Include="StaticLink.Avalonia" Version="4.150.1-7922.1" />
|
||||||
```
|
```
|
||||||
|
|
||||||
For macOS, also reference `StaticLink.Avalonia.Native`. This package is macOS-only and must match your Avalonia version because it contains `libAvaloniaNative.a`.
|
For macOS, also reference `StaticLink.Avalonia.Native`. This package is macOS-only and must match your Avalonia version because it contains `libAvaloniaNative.a`.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<IncludeBuildOutput>false</IncludeBuildOutput>
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||||
<SuppressDependenciesWhenPacking>false</SuppressDependenciesWhenPacking>
|
<SuppressDependenciesWhenPacking>false</SuppressDependenciesWhenPacking>
|
||||||
<PackageId>StaticLink.Avalonia</PackageId>
|
<PackageId>StaticLink.Avalonia</PackageId>
|
||||||
<Version>3.119.4-7922.1</Version>
|
<Version>4.150.1-7922.1</Version>
|
||||||
<Authors>greepar</Authors>
|
<Authors>greepar</Authors>
|
||||||
<Company>greepar</Company>
|
<Company>greepar</Company>
|
||||||
<Description>Static SkiaSharp, HarfBuzzSharp, and ANGLE libraries for Avalonia NativeAOT single-file publishing.</Description>
|
<Description>Static SkiaSharp, HarfBuzzSharp, and ANGLE libraries for Avalonia NativeAOT single-file publishing.</Description>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="SkiaSharp" Version="3.119.4" />
|
<PackageReference Include="SkiaSharp" Version="4.150.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -11,10 +11,10 @@ dotnet add package StaticLink.Avalonia
|
|||||||
Or add it manually:
|
Or add it manually:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<PackageReference Include="StaticLink.Avalonia" Version="3.119.4-7922.1" />
|
<PackageReference Include="StaticLink.Avalonia" Version="4.150.1-7922.1" />
|
||||||
```
|
```
|
||||||
|
|
||||||
`3.119.4-7922.1` supports Avalonia 11. If you need the SkiaSharp 2 line for an Avalonia 11 project, use this optional package variant:
|
`4.150.1-7922.1` uses the latest stable SkiaSharp 4 release. If you need the SkiaSharp 2 line for an Avalonia 11 project, use this optional package variant:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<PackageReference Include="StaticLink.Avalonia" Version="2.88.9-7151.10" />
|
<PackageReference Include="StaticLink.Avalonia" Version="2.88.9-7151.10" />
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ WORK_DIR="${WORK_DIR:-$ROOT_DIR/External/NativeStatic/.work}"
|
|||||||
TARGET_CPU="${TARGET_CPU:-x64}"
|
TARGET_CPU="${TARGET_CPU:-x64}"
|
||||||
RID="${RID:-linux-$TARGET_CPU}"
|
RID="${RID:-linux-$TARGET_CPU}"
|
||||||
OUTPUT_DIR="${OUTPUT_DIR:-$ROOT_DIR/External/NativeStatic/$RID}"
|
OUTPUT_DIR="${OUTPUT_DIR:-$ROOT_DIR/External/NativeStatic/$RID}"
|
||||||
SKIASHARP_VERSION="${SKIASHARP_VERSION:-3.119.4}"
|
SKIASHARP_VERSION="${SKIASHARP_VERSION:-4.150.1}"
|
||||||
ANGLE_BRANCH="${ANGLE_BRANCH:-7922}"
|
ANGLE_BRANCH="${ANGLE_BRANCH:-7922}"
|
||||||
BUILD_JOBS="${BUILD_JOBS:-$(nproc)}"
|
BUILD_JOBS="${BUILD_JOBS:-$(nproc)}"
|
||||||
ANGLE_PATCH_DIR="${ANGLE_PATCH_DIR:-$ROOT_DIR/External/NativeStatic/patches}"
|
ANGLE_PATCH_DIR="${ANGLE_PATCH_DIR:-$ROOT_DIR/External/NativeStatic/patches}"
|
||||||
@@ -20,7 +20,7 @@ Usage: scripts/build-linux-static-graphics.sh [skia|angle|all]
|
|||||||
Environment:
|
Environment:
|
||||||
WORK_DIR Source/build cache directory. Default: External/NativeStatic/.work
|
WORK_DIR Source/build cache directory. Default: External/NativeStatic/.work
|
||||||
OUTPUT_DIR Final static library directory. Default: External/NativeStatic/linux-$TARGET_CPU
|
OUTPUT_DIR Final static library directory. Default: External/NativeStatic/linux-$TARGET_CPU
|
||||||
SKIASHARP_VERSION SkiaSharp release branch version. Default: 3.119.4
|
SKIASHARP_VERSION SkiaSharp release branch version. Default: 4.150.1
|
||||||
ANGLE_BRANCH ANGLE chromium branch. Default: 7922
|
ANGLE_BRANCH ANGLE chromium branch. Default: 7922
|
||||||
TARGET_CPU GN target_cpu. Default: x64. Supported: x64, arm64
|
TARGET_CPU GN target_cpu. Default: x64. Supported: x64, arm64
|
||||||
RID Output RID. Default: linux-$TARGET_CPU
|
RID Output RID. Default: linux-$TARGET_CPU
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ WORK_DIR="${WORK_DIR:-$ROOT_DIR/External/NativeStatic/.work}"
|
|||||||
TARGET_CPU="${TARGET_CPU:-arm64}"
|
TARGET_CPU="${TARGET_CPU:-arm64}"
|
||||||
RID="${RID:-osx-$TARGET_CPU}"
|
RID="${RID:-osx-$TARGET_CPU}"
|
||||||
OUTPUT_DIR="${OUTPUT_DIR:-$ROOT_DIR/External/NativeStatic/$RID}"
|
OUTPUT_DIR="${OUTPUT_DIR:-$ROOT_DIR/External/NativeStatic/$RID}"
|
||||||
SKIASHARP_VERSION="${SKIASHARP_VERSION:-3.119.4}"
|
SKIASHARP_VERSION="${SKIASHARP_VERSION:-4.150.1}"
|
||||||
ANGLE_BRANCH="${ANGLE_BRANCH:-7922}"
|
ANGLE_BRANCH="${ANGLE_BRANCH:-7922}"
|
||||||
BUILD_JOBS="${BUILD_JOBS:-$(sysctl -n hw.ncpu)}"
|
BUILD_JOBS="${BUILD_JOBS:-$(sysctl -n hw.ncpu)}"
|
||||||
ANGLE_PATCH_DIR="${ANGLE_PATCH_DIR:-$ROOT_DIR/External/NativeStatic/patches}"
|
ANGLE_PATCH_DIR="${ANGLE_PATCH_DIR:-$ROOT_DIR/External/NativeStatic/patches}"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ $ErrorActionPreference = "Stop"
|
|||||||
|
|
||||||
$RootDir = Split-Path -Parent $PSScriptRoot
|
$RootDir = Split-Path -Parent $PSScriptRoot
|
||||||
$WorkDir = if ($env:WORK_DIR) { $env:WORK_DIR } else { Join-Path $RootDir "External\NativeStatic\.work" }
|
$WorkDir = if ($env:WORK_DIR) { $env:WORK_DIR } else { Join-Path $RootDir "External\NativeStatic\.work" }
|
||||||
$SkiaSharpVersion = if ($env:SKIASHARP_VERSION) { $env:SKIASHARP_VERSION } else { "3.119.4" }
|
$SkiaSharpVersion = if ($env:SKIASHARP_VERSION) { $env:SKIASHARP_VERSION } else { "4.150.1" }
|
||||||
$AngleBranch = if ($env:ANGLE_BRANCH) { $env:ANGLE_BRANCH } else { "7922" }
|
$AngleBranch = if ($env:ANGLE_BRANCH) { $env:ANGLE_BRANCH } else { "7922" }
|
||||||
$TargetCpu = if ($env:TARGET_CPU) { $env:TARGET_CPU } else { "x64" }
|
$TargetCpu = if ($env:TARGET_CPU) { $env:TARGET_CPU } else { "x64" }
|
||||||
$Rid = if ($env:RID) { $env:RID } else { "win-$TargetCpu" }
|
$Rid = if ($env:RID) { $env:RID } else { "win-$TargetCpu" }
|
||||||
|
|||||||
Reference in new issue
Block a user