Add and update more recipes

This commit is contained in:
Ribbon 2026-08-17 23:29:36 -03:00
parent 7b817ab479
commit 21efa58b68
8 changed files with 90 additions and 1 deletions

View File

@ -0,0 +1,10 @@
#TODO make it use sdl3 recipe
# does bundled glm and njson need to be patched?
[source]
git = "https://github.com/jsoulier/fluid_simulation"
rev = "7a9ba84f990fe2e5cc6c60eec5cf756a340de54c"
shallow_clone = true
[build]
template = "cmake"
dev-dependencies = ["host:sdl-shadercross"]
dependencies = ["sdl3"]

View File

@ -1,5 +1,4 @@
#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"

View File

@ -0,0 +1,7 @@
#TODO check missing minimum dependencies
[source]
git = "https://github.com/SCons/scons"
rev = "4.11.0"
shallow_clone = true
[build]
template = "python"

View File

@ -0,0 +1,18 @@
#TODO compile and test
#TODO add command to install
[source]
git = "https://github.com/rafaelcn/pong-game"
rev = "6120b8b50d895fd2496d02e4fa41abdaadd2d897"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"sdl2",
"sdl2-image",
"sdl2-ttf",
]
script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
DYNAMIC_INIT
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
"""

View File

@ -0,0 +1,16 @@
#TODO compile and test
[source]
git = "https://github.com/AKJ7/dinorunner"
rev = "v1.3.2"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"sdl2",
"sdl2-image",
"sdl2-gfx",
]
script = """
DYNAMIC_INIT
cookbook_cmake "${COOKBOOK_SOURCE}"/demo/sdl
"""

View File

@ -0,0 +1,14 @@
#TODO compile and test
#TODO add command to install
[source]
git = "https://github.com/t3nma/sdl2-TicTacToe"
rev = "c4a48774df3b75aa234df2b60696dbe12673ebbd"
shallow_clone = true
[build]
template = "custom"
dependencies = ["sdl2"]
script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
DYNAMIC_INIT
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
"""

View File

@ -0,0 +1,11 @@
#TODO determine minimum dependencies from cmake log
[source]
git = "https://github.com/assimp/assimp"
rev = "v6.0.5"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DASSIMP_BUILD_TESTS=OFF",
"-DASSIMP_INJECT_DEBUG_POSTFIX=OFF",
]

View File

@ -0,0 +1,14 @@
#TODO compile and test
[source]
git = "https://github.com/libsdl-org/SDL_shadercross"
rev = "e55cf5e31ced6f3d1be5cc6d0c50e99384f9f4ba"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DSDLSHADERCROSS_DXC=OFF",
]
dependencies = [
"sdl3",
#"spirv-cross", # needed for llvmpipe?
]