From 772597bfddf8bc1f1762491303d81b7c8c027c71 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 1 May 2025 14:05:03 -0600 Subject: [PATCH] freetype2: clean up recipe --- recipes/libs/freetype2/recipe.toml | 46 +----------------------------- 1 file changed, 1 insertion(+), 45 deletions(-) diff --git a/recipes/libs/freetype2/recipe.toml b/recipes/libs/freetype2/recipe.toml index ae56808c2..12cb960ca 100644 --- a/recipes/libs/freetype2/recipe.toml +++ b/recipes/libs/freetype2/recipe.toml @@ -10,49 +10,5 @@ dependencies = [ ] script = """ DYNAMIC_INIT - -# TODO: Fix this annoying shite -echo "[binaries]" > cross_file.txt -echo "c = '${CC}'" >> cross_file.txt -echo "cpp = '${CXX}'" >> cross_file.txt -echo "ar = '${AR}'" >> cross_file.txt -echo "strip = '${STRIP}'" >> cross_file.txt -echo "pkg-config = '${TARGET}-pkg-config'" >> cross_file.txt - -echo "[host_machine]" >> cross_file.txt -echo "system = 'redox'" >> cross_file.txt -echo "cpu_family = '$(echo "${TARGET}" | cut -d - -f1)'" >> cross_file.txt -echo "cpu = '$(echo "${TARGET}" | cut -d - -f1)'" >> cross_file.txt -echo "endian = 'little'" >> cross_file.txt - -echo "[paths]" >> cross_file.txt -echo "prefix = '${COOKBOOK_SYSROOT}'" >> cross_file.txt -echo "libdir = 'lib'" >> cross_file.txt -echo "bindir = 'bin'" >> cross_file.txt - -unset AR -unset AS -unset CC -unset CXX -unset LD -unset NM -unset OBJCOPY -unset OBJDUMP -unset PKG_CONFIG -unset RANLIB -unset READELF -unset STRIP - -meson \ - setup \ - "${COOKBOOK_SOURCE}" \ - _build \ - --cross-file cross_file.txt \ - --buildtype release \ - --strip \ - -Ddefault_library=both \ - -Dprefix=/usr \ - -Dlibdir=lib -ninja -C _build -v -DESTDIR="${COOKBOOK_STAGE}" ninja -C _build -v install +cookbook_meson -Ddefault_library=both """