From 631c09960a00c236508b1cb1a8bdcb16b96e73cb Mon Sep 17 00:00:00 2001 From: Eva Kurchatova <nyandarknessgirl@gmail.com> Date: Sun, 6 Oct 2024 19:44:43 +0000 Subject: [PATCH] rvvm: Add RVVM recipe --- recipes/emulators/rvvm/recipe.toml | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recipes/emulators/rvvm/recipe.toml diff --git a/recipes/emulators/rvvm/recipe.toml b/recipes/emulators/rvvm/recipe.toml new file mode 100644 index 000000000..d355186ed --- /dev/null +++ b/recipes/emulators/rvvm/recipe.toml @@ -0,0 +1,36 @@ +[source] +git = "https://github.com/LekKit/RVVM.git" +upstream = "https://github.com/LekKit/RVVM" + +[build] +template = "custom" + +# SDL2 is tough to link statically, use SDL1 for now +dependencies = [ + "sdl1", + "liborbital", +] + +script = """ + +export BUILDDIR="${COOKBOOK_BUILD}" +export DESTDIR="${COOKBOOK_STAGE}" + +# Redox currently doesn't support dynamic library loading +export LDFLAGS="$(pkg-config --libs sdl)" + +# Networking is currently broken on Redox (missing setsockopt?) +export USE_NET=0 + +# Use SDL1 +export USE_SDL=1 + +# Building a shared library is currently broken on Redox +export USE_LIB=0 + +export OS=Redox + +# Let's goo +"${COOKBOOK_MAKE}" install -C "${COOKBOOK_SOURCE}" + +""" -- GitLab