From c9cc0fde6d75204d71a498f39e593d984afa4dd0 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 1 May 2025 13:53:47 -0600 Subject: [PATCH] gdk-pixbuf: cleanup recipe --- recipes/dev/gdk-pixbuf/recipe.toml | 45 ++---------------------------- 1 file changed, 2 insertions(+), 43 deletions(-) diff --git a/recipes/dev/gdk-pixbuf/recipe.toml b/recipes/dev/gdk-pixbuf/recipe.toml index a79e37b27..9020deff0 100644 --- a/recipes/dev/gdk-pixbuf/recipe.toml +++ b/recipes/dev/gdk-pixbuf/recipe.toml @@ -18,50 +18,9 @@ dependencies = [ template = "custom" 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 "pkgconfig = '${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}" . \ - --cross-file cross_file.txt \ - --buildtype release \ - --strip \ - -Ddefault_library=shared \ - -Dprefix=/ \ - -Dlibdir=lib \ +cookbook_meson \ -Dbuiltin_loaders=all \ -Dgir=false \ -Dinstalled_tests=false \ -Dx11=false -ninja -v -DESTDIR="${COOKBOOK_STAGE}" ninja -v install -""" \ No newline at end of file +"""