From a266c2344972fd8d7cce4301b1a02500db9afa1c Mon Sep 17 00:00:00 2001 From: xpxz <97490782+heheda123123@users.noreply.github.com> Date: Sat, 18 Jan 2025 22:21:33 +0800 Subject: [PATCH] Update utf8proc and install to all plat (#6179) --- packages/u/utf8proc/xmake.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/u/utf8proc/xmake.lua b/packages/u/utf8proc/xmake.lua index 4fea5bc6ad2..297ce66b629 100644 --- a/packages/u/utf8proc/xmake.lua +++ b/packages/u/utf8proc/xmake.lua @@ -6,18 +6,19 @@ package("utf8proc") add_urls("https://github.com/JuliaStrings/utf8proc/archive/refs/tags/$(version).tar.gz", "https://github.com/JuliaStrings/utf8proc.git") + add_versions("v2.10.0", "6f4f1b639daa6dca9f80bc5db1233e9cbaa31a67790887106160b33ef743f136") add_versions("v2.9.0", "18c1626e9fc5a2e192311e36b3010bfc698078f692888940f1fa150547abb0c1") add_versions("v2.7.0", "4bb121e297293c0fd55f08f83afab6d35d48f0af4ecc07523ad8ec99aa2b12a1") add_versions("v2.8.0", "a0a60a79fe6f6d54e7d411facbfcc867a6e198608f2cd992490e46f04b1bcecc") add_deps("cmake") - on_load("windows", "macosx", "linux", "android", "mingw", "bsd", function (package) + on_load(function (package) if not package:config("shared") then package:add("defines", "UTF8PROC_STATIC") end end) - on_install("windows", "macosx", "linux", "android", "mingw", "bsd", function (package) + on_install(function (package) local configs = {"-DUTF8PROC_ENABLE_TESTING=OFF"} table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release")) table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))