From 091f7ad59a8aebc9183bf2fca3608c17c3dcaf0f Mon Sep 17 00:00:00 2001 From: Ribbon Date: Thu, 13 Aug 2026 03:56:05 -0300 Subject: [PATCH] Add, fix, improve and update more recipe TODOs --- recipes/wip/games/engines/box2d/recipe.toml | 11 +++++++- recipes/wip/games/engines/box3d/recipe.toml | 25 +++++++++++++------ .../games/engines/chocolate-doom/recipe.toml | 16 ++++++++---- .../wip/games/engines/crispy-doom/recipe.toml | 13 +++++++--- .../wip/games/engines/joltphysics/recipe.toml | 8 +++--- recipes/wip/games/engines/luanti/recipe.toml | 6 ++--- .../wip/games/engines/opentomb/recipe.toml | 6 +++++ .../wip/games/engines/room4doom/recipe.toml | 9 +++---- .../wip/games/engines/rust-doom/recipe.toml | 7 ++---- recipes/wip/games/engines/uzdoom/recipe.toml | 6 ++--- .../wip/games/engines/xash3d-fwgs/recipe.toml | 1 + .../math}/t4kcommon/recipe.toml | 0 recipes/wip/games/math/tuxmath/recipe.toml | 5 ---- recipes/wip/libs/media/libalsa/recipe.toml | 2 +- recipes/wip/libs/media/zmusic/recipe.toml | 5 +++- recipes/wip/libs/other/sdl2-net/recipe.toml | 7 +++--- recipes/wip/libs/sdl/sdl12-net/recipe.toml | 10 ++++++++ 17 files changed, 89 insertions(+), 48 deletions(-) rename recipes/wip/{libs/other => games/math}/t4kcommon/recipe.toml (100%) create mode 100644 recipes/wip/libs/sdl/sdl12-net/recipe.toml diff --git a/recipes/wip/games/engines/box2d/recipe.toml b/recipes/wip/games/engines/box2d/recipe.toml index 4ec8e027d..6425af8b7 100644 --- a/recipes/wip/games/engines/box2d/recipe.toml +++ b/recipes/wip/games/engines/box2d/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO glfw dependency can't find timerfd function [source] git = "https://github.com/erincatto/box2d" rev = "v3.1.1" @@ -11,3 +11,12 @@ cmakeflags = [ "-DBOX2D_VALIDATE=OFF", "-DBOX2D_UNIT_TESTS=OFF", ] +dependencies = [ + "libwayland", + "libxkbcommon", + "libx11", + "libxrandr", + "libxinerama", + "libxcursor", + "libxi", +] diff --git a/recipes/wip/games/engines/box3d/recipe.toml b/recipes/wip/games/engines/box3d/recipe.toml index fa33206c9..0ad0ef7a2 100644 --- a/recipes/wip/games/engines/box3d/recipe.toml +++ b/recipes/wip/games/engines/box3d/recipe.toml @@ -1,13 +1,24 @@ -#TODO compile and test +#TODO build error [source] git = "https://github.com/erincatto/box3d" rev = "v0.1.0" shallow_clone = true [build] -template = "cmake" -cmakeflags = [ - "-DBUILD_SHARED_LIBS=ON", - "-DBOX3D_BENCHMARKS=ON", - "-DBOX3D_UNIT_TESTS=OFF", - "-DBOX3D_VALIDATE=OFF", +template = "custom" +dependencies = [ + "gtk3", + "libxi", + "libxcursor", ] +script = """ +DYNAMIC_INIT +COOKBOOK_CMAKE_FLAGS+=( + -DBUILD_SHARED_LIBS=ON + -DBOX3D_BENCHMARKS=ON + -DBOX3D_UNIT_TESTS=OFF + -DBOX3D_VALIDATE=OFF + -DOPENGL_opengl_LIBRARY="/dev/null" + -DOPENGL_glx_LIBRARY="/dev/null" +) +cookbook_cmake +""" diff --git a/recipes/wip/games/engines/chocolate-doom/recipe.toml b/recipes/wip/games/engines/chocolate-doom/recipe.toml index 3dd25cc55..f86290dab 100644 --- a/recipes/wip/games/engines/chocolate-doom/recipe.toml +++ b/recipes/wip/games/engines/chocolate-doom/recipe.toml @@ -1,10 +1,16 @@ -#TODO Not compiled or tested yet +#TODO linking errors [source] -tar = "https://www.chocolate-doom.org/downloads/3.0.1/chocolate-doom-3.0.1.tar.gz" +git = "https://github.com/chocolate-doom/chocolate-doom" +rev = "chocolate-doom-3.1.1" +shallow_clone = true [build] -template = "configure" +template = "cmake" +cmakeflags = [ + "-DENABLE_SDL2_NET=OFF", + "-DENABLE_SDL2_MIXER=OFF", +] dependencies = [ "sdl2", - "sdl2-mixer", - "sdl2-net", + #"sdl2-mixer", + #"sdl2-net", ] diff --git a/recipes/wip/games/engines/crispy-doom/recipe.toml b/recipes/wip/games/engines/crispy-doom/recipe.toml index f416d906f..63f60c5be 100644 --- a/recipes/wip/games/engines/crispy-doom/recipe.toml +++ b/recipes/wip/games/engines/crispy-doom/recipe.toml @@ -1,11 +1,16 @@ -#TODO Not compiled/tested yet +#TODO linking errors [source] git = "https://github.com/fabiangreffrath/crispy-doom" rev = "crispy-doom-7.1" +shallow_clone = true [build] -template = "configure" +template = "cmake" +cmakeflags = [ + "-DENABLE_SDL2_NET=OFF", + "-DENABLE_SDL2_MIXER=OFF", +] dependencies = [ "sdl2", - "sdl2-mixer", - "sdl2-net", + #"sdl2-mixer", + #"sdl2-net", ] diff --git a/recipes/wip/games/engines/joltphysics/recipe.toml b/recipes/wip/games/engines/joltphysics/recipe.toml index 92cf0466f..9b849ca9a 100644 --- a/recipes/wip/games/engines/joltphysics/recipe.toml +++ b/recipes/wip/games/engines/joltphysics/recipe.toml @@ -1,13 +1,13 @@ -#TODO compile and test +#TODO "unknown platform" error [source] git = "https://github.com/jrouwe/JoltPhysics" rev = "v5.6.0" shallow_clone = true [build] template = "custom" -dependencies = [ - "libvulkan", -] +#dependencies = [ + # "libvulkan", +#] script = """ DYNAMIC_INIT COOKBOOK_CMAKE_FLAGS+=( diff --git a/recipes/wip/games/engines/luanti/recipe.toml b/recipes/wip/games/engines/luanti/recipe.toml index 9961c1606..356a0a479 100644 --- a/recipes/wip/games/engines/luanti/recipe.toml +++ b/recipes/wip/games/engines/luanti/recipe.toml @@ -1,9 +1,10 @@ -#TODO not compiled or tested +#TODO linking error # build instructions: https://github.com/minetest/minetest/blob/master/doc/compiling/linux.md # customization - https://github.com/minetest/minetest/tree/master/doc/compiling#cmake-options [source] git = "https://github.com/minetest/minetest" -branch = "stable-5" +rev = "5.14.0" +shallow_clone = true patches = ["redox.patch"] [build] @@ -18,7 +19,6 @@ dependencies = [ "libvorbis", "luajit", "openal", - #TODO: openssl not detected by cmake "openssl3", "sdl2", "sqlite3", diff --git a/recipes/wip/games/engines/opentomb/recipe.toml b/recipes/wip/games/engines/opentomb/recipe.toml index da9618736..303e60801 100644 --- a/recipes/wip/games/engines/opentomb/recipe.toml +++ b/recipes/wip/games/engines/opentomb/recipe.toml @@ -2,12 +2,18 @@ # build instructions: https://github.com/opentomb/OpenTomb#compiling [source] git = "https://github.com/opentomb/OpenTomb" +rev = "ae7e07a" +shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-DFORCE_SYSTEM_FREETYPE=ON" +] dependencies = [ "sdl2", "libpng", "zlib", "openal", "mesa", + "freetype2", ] diff --git a/recipes/wip/games/engines/room4doom/recipe.toml b/recipes/wip/games/engines/room4doom/recipe.toml index d4570fa26..4a7df4b0b 100644 --- a/recipes/wip/games/engines/room4doom/recipe.toml +++ b/recipes/wip/games/engines/room4doom/recipe.toml @@ -1,12 +1,11 @@ -#TODO not compiled or tested +#TODO compiled but not tested [source] git = "https://github.com/flukejones/room4doom" +shallow_clone = true [build] -template = "custom" +template = "cargo" +cargopackages = ["room4doom"] dependencies = [ "sdl2", "sdl2-mixer" ] -script = """ -cookbook_cargo_packages room4doom -""" diff --git a/recipes/wip/games/engines/rust-doom/recipe.toml b/recipes/wip/games/engines/rust-doom/recipe.toml index 22323a90b..748dba42c 100644 --- a/recipes/wip/games/engines/rust-doom/recipe.toml +++ b/recipes/wip/games/engines/rust-doom/recipe.toml @@ -1,9 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/hovinen/rust-doom" +shallow_clone = true [build] -template = "custom" -script = """ -cookbook_cargo -mv "${COOKBOOK_STAGE}/usr/bin/rs_doom" "${COOKBOOK_STAGE}/usr/bin/doom-rs" -""" +template = "cargo" diff --git a/recipes/wip/games/engines/uzdoom/recipe.toml b/recipes/wip/games/engines/uzdoom/recipe.toml index 7d5119edb..8482b8544 100644 --- a/recipes/wip/games/engines/uzdoom/recipe.toml +++ b/recipes/wip/games/engines/uzdoom/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO fix zmusic #TODO determine minumum dependencies from cmake log # build instructions: https://github.com/UZDoom/UZDoom/wiki/Compilation#linux [source] @@ -17,8 +17,8 @@ dependencies = [ #"mesa-glu", "openal", "bzip2", - "openmp", + #"openmp", #"libvpx", #"libwebp", - #"zmusic", + "zmusic", ] diff --git a/recipes/wip/games/engines/xash3d-fwgs/recipe.toml b/recipes/wip/games/engines/xash3d-fwgs/recipe.toml index 4764d81ea..26b0810f1 100644 --- a/recipes/wip/games/engines/xash3d-fwgs/recipe.toml +++ b/recipes/wip/games/engines/xash3d-fwgs/recipe.toml @@ -1,6 +1,7 @@ #TODO missing script for waf, see https://github.com/FWGS/xash3d-fwgs#build-instructions [source] git = "https://github.com/FWGS/xash3d-fwgs" +shallow_clone = true [build] template = "custom" dependencies = [ diff --git a/recipes/wip/libs/other/t4kcommon/recipe.toml b/recipes/wip/games/math/t4kcommon/recipe.toml similarity index 100% rename from recipes/wip/libs/other/t4kcommon/recipe.toml rename to recipes/wip/games/math/t4kcommon/recipe.toml diff --git a/recipes/wip/games/math/tuxmath/recipe.toml b/recipes/wip/games/math/tuxmath/recipe.toml index 846ad6b30..901e63d76 100644 --- a/recipes/wip/games/math/tuxmath/recipe.toml +++ b/recipes/wip/games/math/tuxmath/recipe.toml @@ -10,11 +10,6 @@ autotools_recursive_regenerate template = "configure" dependencies = [ "t4kcommon", - "sdl1", - "sdl1-image", - "sdl1-mixer", "sdl1-ttf", - "sdl2-net", - "sdl-pango", "librsvg", ] diff --git a/recipes/wip/libs/media/libalsa/recipe.toml b/recipes/wip/libs/media/libalsa/recipe.toml index 805791e3c..86ee3cc4b 100644 --- a/recipes/wip/libs/media/libalsa/recipe.toml +++ b/recipes/wip/libs/media/libalsa/recipe.toml @@ -1,4 +1,4 @@ -#TODO maybe wrong template +#TODO can't find endian header # build instructions - https://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=INSTALL;h=a2427e072bcaf951addc3e1db1fccccf44f3b59b;hb=HEAD [source] tar = "http://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.13.tar.bz2" diff --git a/recipes/wip/libs/media/zmusic/recipe.toml b/recipes/wip/libs/media/zmusic/recipe.toml index e34779c81..85e0153d5 100644 --- a/recipes/wip/libs/media/zmusic/recipe.toml +++ b/recipes/wip/libs/media/zmusic/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO fix libalsa # build instructions: https://github.com/ZDoom/ZMusic#readme [source] git = "https://github.com/ZDoom/ZMusic" @@ -6,3 +6,6 @@ rev = "1.3.0" shallow_clone = true [build] template = "cmake" +dependencies = [ + "libalsa" +] diff --git a/recipes/wip/libs/other/sdl2-net/recipe.toml b/recipes/wip/libs/other/sdl2-net/recipe.toml index e5c2d8913..c26ebcd7b 100644 --- a/recipes/wip/libs/other/sdl2-net/recipe.toml +++ b/recipes/wip/libs/other/sdl2-net/recipe.toml @@ -1,8 +1,7 @@ -#TODO not compiled or tested +#TODO compiled but not tested [source] tar = "https://github.com/libsdl-org/SDL_net/releases/download/release-2.2.0/SDL2_net-2.2.0.tar.gz" [build] template = "cmake" -dependencies = [ - "sdl2", -] +cmakeflags = ["-DSDL2NET_SAMPLES=OFF"] +dependencies = ["sdl2"] diff --git a/recipes/wip/libs/sdl/sdl12-net/recipe.toml b/recipes/wip/libs/sdl/sdl12-net/recipe.toml new file mode 100644 index 000000000..a2919ceda --- /dev/null +++ b/recipes/wip/libs/sdl/sdl12-net/recipe.toml @@ -0,0 +1,10 @@ +#TODO compile and test +[source] +git = "https://github.com/libsdl-org/SDL_net" +rev = "release-1.2.8" +shallow_clone = true +[build] +template = "configure" +dependencies = [ + "sdl1", +]