From a2ee1c202b35574968c45b602c301a34e315c0f5 Mon Sep 17 00:00:00 2001 From: Petr Hrdina Date: Thu, 7 Aug 2025 23:08:14 +0200 Subject: [PATCH 1/2] Add utf8proc recipe --- recipes/libs/utf8proc/recipe.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes/libs/utf8proc/recipe.toml diff --git a/recipes/libs/utf8proc/recipe.toml b/recipes/libs/utf8proc/recipe.toml new file mode 100644 index 000000000..e17e3c790 --- /dev/null +++ b/recipes/libs/utf8proc/recipe.toml @@ -0,0 +1,22 @@ +[source] +tar = "https://github.com/JuliaStrings/utf8proc/archive/refs/tags/v2.10.0.tar.gz" + +[build] +template = "custom" +script = """ +DYNAMIC_INIT +COOKBOOK_CONFIGURE="cmake" +COOKBOOK_CONFIGURE_FLAGS=( + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_CROSSCOMPILING=True + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" + -DCMAKE_INSTALL_PREFIX="/" + -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" + -DCMAKE_SYSTEM_NAME=Generic + -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" + -DCMAKE_VERBOSE_MAKEFILE=On +"${COOKBOOK_SOURCE}" +) +cookbook_configure +""" From d6b9a690f7c2a2f2e9e1355285bf3125b6ed2a46 Mon Sep 17 00:00:00 2001 From: Petr Hrdina Date: Thu, 7 Aug 2025 23:20:59 +0200 Subject: [PATCH 2/2] Add blake3 hash to utf8proc recipe --- recipes/libs/utf8proc/recipe.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/libs/utf8proc/recipe.toml b/recipes/libs/utf8proc/recipe.toml index e17e3c790..c34c12f19 100644 --- a/recipes/libs/utf8proc/recipe.toml +++ b/recipes/libs/utf8proc/recipe.toml @@ -1,5 +1,6 @@ [source] tar = "https://github.com/JuliaStrings/utf8proc/archive/refs/tags/v2.10.0.tar.gz" +blake3 = "6f675db5d1ae55ad0825351ba9c58a5b5c24c862f559cc7bfed1cb63c1185594" [build] template = "custom"