From 9063896923cd0bc4bdbbaf3448423e3778eace66 Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Sat, 6 Apr 2024 16:47:03 +0300 Subject: [PATCH] [v1.1.0] Add OSX binaries. --- FT.cs | 3 ++- Quik.Common | 2 +- Quik.FreeType.csproj | 4 ++-- build_native.sh | 6 +++++- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/FT.cs b/FT.cs index 9fd7cec..3a1fa9a 100644 --- a/FT.cs +++ b/FT.cs @@ -17,7 +17,8 @@ namespace Quik.FreeType "runtimes/linux-arm/native/libfreetype.so", "runtimes/linux-arm64/native/libfreetype.so", "runtimes/linux-x64/native/libfreetype.so", - "runtimes/native/libfreetype.dylib", + "runtimes/osx-arm64/libfreetype.dylib", + "runtimes/osx-x64/libfreetype.dylib", "libfreetype.dll", "libfreetype.so", "libfreetype.dylib", diff --git a/Quik.Common b/Quik.Common index 91ffaca..fdfac9d 160000 --- a/Quik.Common +++ b/Quik.Common @@ -1 +1 @@ -Subproject commit 91ffaca437e9f07072447b7f4cefbec71f50b9bc +Subproject commit fdfac9d95134fb5637bb2a9ec98ee11fe188230e diff --git a/Quik.FreeType.csproj b/Quik.FreeType.csproj index 4ecbbeb..6babb23 100644 --- a/Quik.FreeType.csproj +++ b/Quik.FreeType.csproj @@ -4,14 +4,14 @@ net6.0 7.3 true - linux-arm;linux-arm64;linux-x64;win-x86;win-x64 + linux-arm;linux-arm64;linux-x64;win-x86;win-x64;osx-arm64;osx-x64 True Quik.FreeType - 1.0.0 + 1.1.0 FreeType Authors, H. Utku Maden A C# wrapper for the FreeType font loading library. diff --git a/build_native.sh b/build_native.sh index ce1adab..5e62206 100755 --- a/build_native.sh +++ b/build_native.sh @@ -13,12 +13,16 @@ mkdir -p \ ./runtimes/linux-arm64/native \ ./runtimes/linux-x64/native \ ./runtimes/win-x64/native \ - ./runtimes/win-x86/native + ./runtimes/win-x86/native \ + ./runtimes/osx-arm64 \ + ./runtimes/osx-x64 cp ./out/linux-arm/libfreetype.so runtimes/linux-arm/native/libfreetype.so cp ./out/linux-arm64/libfreetype.so runtimes/linux-arm64/native/libfreetype.so cp ./out/linux-x64/libfreetype.so runtimes/linux-x64/native/libfreetype.so cp ./out/win-x64/libfreetype.dll runtimes/win-x64/native/libfreetype.dll cp ./out/win-x86/libfreetype.dll runtimes/win-x86/native/libfreetype.dll +cp ./out/osx-arm64/libfreetype.dylib runtimes/osx-arm64/native/libfreetype.dylib +cp ./out/osx-x64/libfreetype.dylib runtimes/osx-x64/native/libfreetype.dylib dotnet build