From 6ce53a245a16e0163289241df0aefb1b817e68e8 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Thu, 20 Aug 2026 18:45:59 -0300 Subject: [PATCH] Add more recipes --- .../wip/demos/solar-system-sim/recipe.toml | 6 ++++++ recipes/wip/doc/sdlbook/recipe.toml | 18 +++++++++++++++++ .../games/action/blockamok-remix/recipe.toml | 12 +++++++++++ recipes/wip/games/music/oshu/recipe.toml | 14 +++++++++++++ recipes/wip/games/puzzle/glportal/recipe.toml | 12 +++++++++++ .../wip/games/puzzle/openblock/recipe.toml | 20 +++++++++++++++++++ .../wip/games/shooter/tanks-sdl/recipe.toml | 9 +++++++++ .../wip/graphics/editors/milton/recipe.toml | 8 ++++++++ .../image/converters/switcheroo/recipe.toml | 13 ++++++++++++ .../wip/image/editors/tinycanvas/recipe.toml | 8 ++++++++ recipes/wip/image/viewers/sdl-img/recipe.toml | 20 +++++++++++++++++++ recipes/wip/sci/weather/windy/recipe.toml | 11 ++++++++++ recipes/wip/sound/musializer/recipe.toml | 19 ++++++++++++++++++ recipes/wip/sound/undercurrents/recipe.toml | 16 +++++++++++++++ recipes/wip/text/aether/recipe.toml | 13 ++++++++++++ recipes/wip/time/sowon/recipe.toml | 15 ++++++++++++++ recipes/wip/vm/kudu/recipe.toml | 8 ++++++++ 17 files changed, 222 insertions(+) create mode 100644 recipes/wip/demos/solar-system-sim/recipe.toml create mode 100644 recipes/wip/doc/sdlbook/recipe.toml create mode 100644 recipes/wip/games/action/blockamok-remix/recipe.toml create mode 100644 recipes/wip/games/music/oshu/recipe.toml create mode 100644 recipes/wip/games/puzzle/glportal/recipe.toml create mode 100644 recipes/wip/games/puzzle/openblock/recipe.toml create mode 100644 recipes/wip/games/shooter/tanks-sdl/recipe.toml create mode 100644 recipes/wip/graphics/editors/milton/recipe.toml create mode 100644 recipes/wip/image/converters/switcheroo/recipe.toml create mode 100644 recipes/wip/image/editors/tinycanvas/recipe.toml create mode 100644 recipes/wip/image/viewers/sdl-img/recipe.toml create mode 100644 recipes/wip/sci/weather/windy/recipe.toml create mode 100644 recipes/wip/sound/musializer/recipe.toml create mode 100644 recipes/wip/sound/undercurrents/recipe.toml create mode 100644 recipes/wip/text/aether/recipe.toml create mode 100644 recipes/wip/time/sowon/recipe.toml create mode 100644 recipes/wip/vm/kudu/recipe.toml diff --git a/recipes/wip/demos/solar-system-sim/recipe.toml b/recipes/wip/demos/solar-system-sim/recipe.toml new file mode 100644 index 000000000..0262c4b27 --- /dev/null +++ b/recipes/wip/demos/solar-system-sim/recipe.toml @@ -0,0 +1,6 @@ +#TODO compile and test +[source] +git = "https://github.com/exor2008/solar-system-sim" +shallow_clone = true +[build] +template = "cargo" diff --git a/recipes/wip/doc/sdlbook/recipe.toml b/recipes/wip/doc/sdlbook/recipe.toml new file mode 100644 index 000000000..34381c393 --- /dev/null +++ b/recipes/wip/doc/sdlbook/recipe.toml @@ -0,0 +1,18 @@ +#TODO compile and test +[source] +git = "https://github.com/rofl0r/SDLBook" +rev = "9ebf64275bc8a0c35ce38dea989f8af7d54f4999" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "sdl1", + "mupdf", + "djvulibre", +] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" +"${COOKBOOK_MAKE}" install PREFIX="${COOKBOOK_STAGE}/usr" +""" diff --git a/recipes/wip/games/action/blockamok-remix/recipe.toml b/recipes/wip/games/action/blockamok-remix/recipe.toml new file mode 100644 index 000000000..b21b24190 --- /dev/null +++ b/recipes/wip/games/action/blockamok-remix/recipe.toml @@ -0,0 +1,12 @@ +#TODO compile and test +[source] +git = "https://github.com/Mode8fx/blockamok" +rev = "v1.21" +shallow_clone = true +[build] +template = "cmake" +dependencies = [ + "sdl2", + "sdl2-ttf", + "sdl2-mixer", +] diff --git a/recipes/wip/games/music/oshu/recipe.toml b/recipes/wip/games/music/oshu/recipe.toml new file mode 100644 index 000000000..4e8df3eb8 --- /dev/null +++ b/recipes/wip/games/music/oshu/recipe.toml @@ -0,0 +1,14 @@ +#TODO compile and test +[source] +git = "https://github.com/fmang/oshu" +rev = "2.0.3" +shallow_clone = true +[build] +template = "cmake" +dependencies = [ + "sdl2", + "sdl2-image", + "ffmpeg6", + "cairo", + "pango", +] diff --git a/recipes/wip/games/puzzle/glportal/recipe.toml b/recipes/wip/games/puzzle/glportal/recipe.toml new file mode 100644 index 000000000..18b688029 --- /dev/null +++ b/recipes/wip/games/puzzle/glportal/recipe.toml @@ -0,0 +1,12 @@ +#TODO determine missing dependencies +#TODO make it use sdl2 and sdl2-mixer recipes, maybe others if needed +[source] +git = "https://github.com/GlPortal/glPortal" +rev = "d0d801044666d3baa147a10dc26e7c27342c0574" +shallow_clone = true +[build] +template = "cmake" +dependencies = [ + "sdl2", + "sdl2-mixer", +] diff --git a/recipes/wip/games/puzzle/openblock/recipe.toml b/recipes/wip/games/puzzle/openblock/recipe.toml new file mode 100644 index 000000000..31dd51e88 --- /dev/null +++ b/recipes/wip/games/puzzle/openblock/recipe.toml @@ -0,0 +1,20 @@ +#TODO compile and test +[source] +git = "https://github.com/mmatyas/openblok" +rev = "f5cbbde4ac852083e7a0ed32f4122cecbac4f455" +shallow_clone = true +[build] +template = "cmake" +cmakeflags = [ + "-DUSE_BUNDLED_UNITTESTPP=OFF", + "-DENABLE_MP3=OFF", + "-DENABLE_MOD=OFF", + "-DENABLE_FLAC=OFF", + "-DENABLE_LOCALES=OFF", +] +dependencies = [ + "sdl2", + "sdl2-image", + "sdl2-ttf", + "sdl2-mixer", +] diff --git a/recipes/wip/games/shooter/tanks-sdl/recipe.toml b/recipes/wip/games/shooter/tanks-sdl/recipe.toml new file mode 100644 index 000000000..80eea2a1c --- /dev/null +++ b/recipes/wip/games/shooter/tanks-sdl/recipe.toml @@ -0,0 +1,9 @@ +#TODO lacking a build system, add manual compilation script: https://github.com/clovis-p/tanks/issues/1 +# similar recipe: https://gitlab.redox-os.org/redox-os/redox/-/blob/master/recipes/wip/games/engines/openlara/recipe.toml +[source] +git = "https://github.com/clovis-p/tanks" +rev = "0b22b8dfbccf8399419a160a99e5270e57b541c9" +shallow_clone = true +[build] +template = "custom" +dependencies = ["sdl2"] diff --git a/recipes/wip/graphics/editors/milton/recipe.toml b/recipes/wip/graphics/editors/milton/recipe.toml new file mode 100644 index 000000000..f75036bf1 --- /dev/null +++ b/recipes/wip/graphics/editors/milton/recipe.toml @@ -0,0 +1,8 @@ +#TODO patch bundled sdl2 dependency config to use sdl2 recipe +[source] +git = "https://github.com/serge-rgb/milton" +rev = "768c0351fd7a221ec047fe91c85830f544a76661" +shallow_clone = true +[build] +template = "cmake" +dependencies = ["sdl2"] diff --git a/recipes/wip/image/converters/switcheroo/recipe.toml b/recipes/wip/image/converters/switcheroo/recipe.toml new file mode 100644 index 000000000..5c84a954b --- /dev/null +++ b/recipes/wip/image/converters/switcheroo/recipe.toml @@ -0,0 +1,13 @@ +#TODO compile and test +[source] +git = "https://gitlab.com/adhami3310/Switcheroo" +shallow_clone = true +[build] +template = "meson" +dev-dependencies = [ + "host:blueprint", +] +dependencies = [ + "gtk4", + "libadwaita", +] diff --git a/recipes/wip/image/editors/tinycanvas/recipe.toml b/recipes/wip/image/editors/tinycanvas/recipe.toml new file mode 100644 index 000000000..c12843688 --- /dev/null +++ b/recipes/wip/image/editors/tinycanvas/recipe.toml @@ -0,0 +1,8 @@ +#TODO compile and test +[source] +git = "https://github.com/ni5arga/TinyCanvas" +rev = "053871f72ba2ecad44bf7d3a815adb6ec316e03a" +shallow_clone = true +[build] +template = "cmake" +dependencies = ["sdl2"] diff --git a/recipes/wip/image/viewers/sdl-img/recipe.toml b/recipes/wip/image/viewers/sdl-img/recipe.toml new file mode 100644 index 000000000..88c26b957 --- /dev/null +++ b/recipes/wip/image/viewers/sdl-img/recipe.toml @@ -0,0 +1,20 @@ +#TODO compile and test +[source] +git = "https://github.com/rswinkle/sdl_img" +rev = "0.101.0" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "sdl2", +] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +MAKEFLAGS=( + PLAT=linux + config=release +) +"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" "${MAKEFLAGS[@]}" +"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}/usr" +""" diff --git a/recipes/wip/sci/weather/windy/recipe.toml b/recipes/wip/sci/weather/windy/recipe.toml new file mode 100644 index 000000000..ce06aa912 --- /dev/null +++ b/recipes/wip/sci/weather/windy/recipe.toml @@ -0,0 +1,11 @@ +#TODO compile and test +[source] +git = "https://github.com/Theldus/windy" +rev = "c7e2b2cfcf3571f4bb5a6ca8388268a892340eea" +shallow_clone = true +[build] +template = "cmake" +dependencies = [ + "sdl3", + "sdl3-ttf", +] diff --git a/recipes/wip/sound/musializer/recipe.toml b/recipes/wip/sound/musializer/recipe.toml new file mode 100644 index 000000000..f5dc8dc8b --- /dev/null +++ b/recipes/wip/sound/musializer/recipe.toml @@ -0,0 +1,19 @@ +#TODO configure "nob" build system for redox cross-compilation +[source] +git = "https://github.com/tsoding/musializer" +rev = "4d7d2fa849ef66e94ce03a53a2e7aa3e36aa2392" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "libx11", + "libxcursor", + "libxrandr", + "libxinerama", + "libxi", +] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +cc -o nob nob.c +./nob +""" diff --git a/recipes/wip/sound/undercurrents/recipe.toml b/recipes/wip/sound/undercurrents/recipe.toml new file mode 100644 index 000000000..d237d652d --- /dev/null +++ b/recipes/wip/sound/undercurrents/recipe.toml @@ -0,0 +1,16 @@ +#TODO compile and test +#TODO add command to install +[source] +git = "https://github.com/bahamas10/undercurrents" +rev = "fc28c10c2405c1323a15882c725bacb693c5682f" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "sdl2", +] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" +""" diff --git a/recipes/wip/text/aether/recipe.toml b/recipes/wip/text/aether/recipe.toml new file mode 100644 index 000000000..47effae41 --- /dev/null +++ b/recipes/wip/text/aether/recipe.toml @@ -0,0 +1,13 @@ +#TODO compile and test +[source] +git = "https://github.com/7777Satish/Aether" +rev = "0362d725c16bce53e7d969dfd19b2a8213f71a4f" +shallow_clone = true +[build] +template = "cmake" +[package] +dependencies = [ + "sdl3", + "sdl3-image", + "sdl3-ttf", +] diff --git a/recipes/wip/time/sowon/recipe.toml b/recipes/wip/time/sowon/recipe.toml new file mode 100644 index 000000000..be2336489 --- /dev/null +++ b/recipes/wip/time/sowon/recipe.toml @@ -0,0 +1,15 @@ +# the sdl2 frontend was removed in newer commits +#TODO compile and test +[source] +git = "https://github.com/tsoding/sowon" +rev = "36a55237477a88e0d13204788a1957c007e297b0" +shallow_clone = true +[build] +template = "custom" +dependencies = ["sdl2"] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" sowon -j "${COOKBOOK_MAKE_JOBS}" +"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}/usr" +""" diff --git a/recipes/wip/vm/kudu/recipe.toml b/recipes/wip/vm/kudu/recipe.toml new file mode 100644 index 000000000..7060c4757 --- /dev/null +++ b/recipes/wip/vm/kudu/recipe.toml @@ -0,0 +1,8 @@ +#TODO compile and test +[source] +git = "https://github.com/pythops/kudu" +shallow_clone = true +[build] +template = "cargo" +[package] +dependencies = ["qemu"]