From 54e1be926448e8070cab170b8d8598de0f6b33f5 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Mon, 17 Aug 2026 04:48:45 -0300 Subject: [PATCH] Add more recipes --- recipes/wip/demos/gl-flightsim/recipe.toml | 17 +++++++++++++++++ recipes/wip/demos/rayt/recipe.toml | 12 ++++++++++++ recipes/wip/demos/raytracer-rs/recipe.toml | 11 +++++++++++ recipes/wip/demos/rustracer/recipe.toml | 7 +++++++ recipes/wip/demos/solarsystem3d/recipe.toml | 16 ++++++++++++++++ recipes/wip/demos/voxelspace-sdl/recipe.toml | 16 ++++++++++++++++ .../games/engines/chocolate-quake/recipe.toml | 14 ++++++++++++++ .../graphics/viewers/gltf-viewer-rs/recipe.toml | 7 +++++++ .../viewers/swraster-viewer/recipe.toml | 6 ++++++ recipes/wip/net/remote/ihsplay/recipe.toml | 16 ++++++++++++++++ recipes/wip/net/ssh/oxish/recipe.toml | 7 +++++++ 11 files changed, 129 insertions(+) create mode 100644 recipes/wip/demos/gl-flightsim/recipe.toml create mode 100644 recipes/wip/demos/rayt/recipe.toml create mode 100644 recipes/wip/demos/raytracer-rs/recipe.toml create mode 100644 recipes/wip/demos/rustracer/recipe.toml create mode 100644 recipes/wip/demos/solarsystem3d/recipe.toml create mode 100644 recipes/wip/demos/voxelspace-sdl/recipe.toml create mode 100644 recipes/wip/games/engines/chocolate-quake/recipe.toml create mode 100644 recipes/wip/graphics/viewers/gltf-viewer-rs/recipe.toml create mode 100644 recipes/wip/graphics/viewers/swraster-viewer/recipe.toml create mode 100644 recipes/wip/net/remote/ihsplay/recipe.toml create mode 100644 recipes/wip/net/ssh/oxish/recipe.toml diff --git a/recipes/wip/demos/gl-flightsim/recipe.toml b/recipes/wip/demos/gl-flightsim/recipe.toml new file mode 100644 index 000000000..d52156af3 --- /dev/null +++ b/recipes/wip/demos/gl-flightsim/recipe.toml @@ -0,0 +1,17 @@ +#TODO compile and test +[source] +git = "https://github.com/gue-ni/OpenGL_Flightsim" +rev = "7b865b085e18fc3b9e242651f3bd12073e3071dd" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "sdl2", + "sdl2-image", + "glew", + "glm", +] +script = """ +DYNAMIC_INIT +cookbook_cmake "${COOKBOOK_SOURCE}"/OpenGL_Flightsim +""" diff --git a/recipes/wip/demos/rayt/recipe.toml b/recipes/wip/demos/rayt/recipe.toml new file mode 100644 index 000000000..2d4745060 --- /dev/null +++ b/recipes/wip/demos/rayt/recipe.toml @@ -0,0 +1,12 @@ +#TODO compile and test +[source] +git = "https://github.com/Dalamar42/rayt" +shallow_clone = true +[build] +template = "custom" +script = """ +DYNAMIC_INIT +cookbook_cargo +mkdir -pv "${COOKBOOK_STAGE}/usr/share/rayt" +cp -rv "${COOKBOOK_SOURCE}"/config/* "${COOKBOOK_STAGE}/usr/share/rayt" +""" diff --git a/recipes/wip/demos/raytracer-rs/recipe.toml b/recipes/wip/demos/raytracer-rs/recipe.toml new file mode 100644 index 000000000..85d20ec48 --- /dev/null +++ b/recipes/wip/demos/raytracer-rs/recipe.toml @@ -0,0 +1,11 @@ +#TODO compile and test +[source] +git = "https://github.com/ranveeraggarwal/rust-raytracer" +shallow_clone = true +[build] +template = "cargo" +cargopath = "examples" +cargoexamples = [ + "basic_sphere", + "one_weekend", +] diff --git a/recipes/wip/demos/rustracer/recipe.toml b/recipes/wip/demos/rustracer/recipe.toml new file mode 100644 index 000000000..8e60fe877 --- /dev/null +++ b/recipes/wip/demos/rustracer/recipe.toml @@ -0,0 +1,7 @@ +#TODO compile and test +[source] +git = "https://github.com/KaminariOS/rustracer" +shallow_clone = true +[build] +template = "cargo" +cargoexamples = ["gltf-renderer"] diff --git a/recipes/wip/demos/solarsystem3d/recipe.toml b/recipes/wip/demos/solarsystem3d/recipe.toml new file mode 100644 index 000000000..4a467b78a --- /dev/null +++ b/recipes/wip/demos/solarsystem3d/recipe.toml @@ -0,0 +1,16 @@ +#TODO patch cmake to disable proprietary irrklang dependency (music): https://github.com/GTruf/SolarSystem-3D/issues/5 +#TODO does it have mandatory 32-bit dependencies? : https://github.com/GTruf/SolarSystem-3D/issues/7 +[source] +git = "https://github.com/GTruf/SolarSystem-3D" +rev = "91f1f7b14cae59740704aaf4bc6e1e7c5846005b" +shallow_clone = true +[build] +template = "cmake" +dependencies = [ + "glfw3", + "glew", + "sdl2", + "sdl2-image", + "assimp", + "freetype2", +] diff --git a/recipes/wip/demos/voxelspace-sdl/recipe.toml b/recipes/wip/demos/voxelspace-sdl/recipe.toml new file mode 100644 index 000000000..40257900f --- /dev/null +++ b/recipes/wip/demos/voxelspace-sdl/recipe.toml @@ -0,0 +1,16 @@ +#TODO compile and test +#TODO add manual installation on script +[source] +git = "https://github.com/gustavopezzi/voxelspace-sdl" +rev = "e95d3ac813ab357d2c3d4bdee3d387fbca8d7097" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "sdl2", +] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" build -j "${COOKBOOK_MAKE_JOBS}" +""" diff --git a/recipes/wip/games/engines/chocolate-quake/recipe.toml b/recipes/wip/games/engines/chocolate-quake/recipe.toml new file mode 100644 index 000000000..8f0906852 --- /dev/null +++ b/recipes/wip/games/engines/chocolate-quake/recipe.toml @@ -0,0 +1,14 @@ +#TODO compile and test +[source] +git = "https://github.com/Henrique194/chocolate-quake" +rev = "chocolate-quake-2.1.0" +shallow_clone = true +[build] +template = "cmake" +dependencies = [ + "sdl2", + "sdl2-net", + "libvorbis", + "libflac", + "libmad", +] diff --git a/recipes/wip/graphics/viewers/gltf-viewer-rs/recipe.toml b/recipes/wip/graphics/viewers/gltf-viewer-rs/recipe.toml new file mode 100644 index 000000000..6a86e158c --- /dev/null +++ b/recipes/wip/graphics/viewers/gltf-viewer-rs/recipe.toml @@ -0,0 +1,7 @@ +#TODO compile and test +[source] +git = "https://github.com/adrien-ben/gltf-viewer-rs" +shallow_clone = true +[build] +template = "cargo" +cargopackages = ["gltf-viewer-rs"] diff --git a/recipes/wip/graphics/viewers/swraster-viewer/recipe.toml b/recipes/wip/graphics/viewers/swraster-viewer/recipe.toml new file mode 100644 index 000000000..ab4fad146 --- /dev/null +++ b/recipes/wip/graphics/viewers/swraster-viewer/recipe.toml @@ -0,0 +1,6 @@ +#TODO compile and test +[source] +git = "https://github.com/mdesmedt/swraster-viewer" +shallow_clone = true +[build] +template = "cargo" diff --git a/recipes/wip/net/remote/ihsplay/recipe.toml b/recipes/wip/net/remote/ihsplay/recipe.toml new file mode 100644 index 000000000..e8b4d976a --- /dev/null +++ b/recipes/wip/net/remote/ihsplay/recipe.toml @@ -0,0 +1,16 @@ +#TODO compile and test +[source] +git = "https://github.com/mariotaku/ihsplay" +rev = "v0.2.12" +shallow_clone = true +[build] +template = "cmake" +dependencies = [ + "freetype2", + "fontconfig", + "mbedtls", + "sdl2", + #"sdl2-image", + #"opus", + #"protobuf", +] diff --git a/recipes/wip/net/ssh/oxish/recipe.toml b/recipes/wip/net/ssh/oxish/recipe.toml new file mode 100644 index 000000000..05a2ff711 --- /dev/null +++ b/recipes/wip/net/ssh/oxish/recipe.toml @@ -0,0 +1,7 @@ +#TODO compile and test +[source] +git = "https://github.com/djc/oxish" +shallow_clone = true +[build] +template = "cargo" +cargopackages = ["oxish"]