From 3edc093b87869f797f24b187973fb00fd9dd6eab Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 9 Jan 2025 11:54:18 -0700 Subject: [PATCH] Add love --- recipes/wip/games/other/love/recipe.toml | 79 ++++++++++++++++++++++++ recipes/wip/games/other/love/redox.patch | 38 ++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 recipes/wip/games/other/love/recipe.toml create mode 100644 recipes/wip/games/other/love/redox.patch diff --git a/recipes/wip/games/other/love/recipe.toml b/recipes/wip/games/other/love/recipe.toml new file mode 100644 index 000000000..56144bc67 --- /dev/null +++ b/recipes/wip/games/other/love/recipe.toml @@ -0,0 +1,79 @@ +[source] +tar = "https://github.com/love2d/love/archive/refs/tags/11.5.tar.gz" +blake3 = "1fe441b04af1c0aa12b5d12f274fd892e6f307bcc882888c3a1ec048294a25c7" +patches = [ + "redox.patch" +] + +[build] +template = "custom" +dependencies = [ + "freetype2", + "libmodplug1", + "libogg", + "liborbital", + "libpng", + "libtheora", + "libvorbis", + "llvm18", + "luajit", + "openal", + "mesa", + "mpg123", + "sdl2", + "zlib", +] +script = """ +export CFLAGS="${CFLAGS} -I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2" +export CXXFLAGS="${CXXFLAGS} -I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2" + +cat > redox.cmake <