diff --git a/recipes/wip/demos/fluid-sim-sdl/recipe.toml b/recipes/wip/demos/fluid-sim-sdl/recipe.toml new file mode 100644 index 000000000..7d52a4ddc --- /dev/null +++ b/recipes/wip/demos/fluid-sim-sdl/recipe.toml @@ -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"] diff --git a/recipes/wip/demos/solarsystem3d/recipe.toml b/recipes/wip/demos/solarsystem3d/recipe.toml index 4a467b78a..6fbdacbf0 100644 --- a/recipes/wip/demos/solarsystem3d/recipe.toml +++ b/recipes/wip/demos/solarsystem3d/recipe.toml @@ -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" diff --git a/recipes/wip/dev/build-system/scons/recipe.toml b/recipes/wip/dev/build-system/scons/recipe.toml new file mode 100644 index 000000000..fdc8f1cd4 --- /dev/null +++ b/recipes/wip/dev/build-system/scons/recipe.toml @@ -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" diff --git a/recipes/wip/games/action/pong-sdl/recipe.toml b/recipes/wip/games/action/pong-sdl/recipe.toml new file mode 100644 index 000000000..75dc27f5f --- /dev/null +++ b/recipes/wip/games/action/pong-sdl/recipe.toml @@ -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}" +""" diff --git a/recipes/wip/games/platform/dinorunner-sdl/recipe.toml b/recipes/wip/games/platform/dinorunner-sdl/recipe.toml new file mode 100644 index 000000000..eaa30775c --- /dev/null +++ b/recipes/wip/games/platform/dinorunner-sdl/recipe.toml @@ -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 +""" diff --git a/recipes/wip/games/strategy/tic-tac-toe-sdl/recipe.toml b/recipes/wip/games/strategy/tic-tac-toe-sdl/recipe.toml new file mode 100644 index 000000000..a87b610bb --- /dev/null +++ b/recipes/wip/games/strategy/tic-tac-toe-sdl/recipe.toml @@ -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}" +""" diff --git a/recipes/wip/libs/graphics/assimp/recipe.toml b/recipes/wip/libs/graphics/assimp/recipe.toml new file mode 100644 index 000000000..5aa3ca1a9 --- /dev/null +++ b/recipes/wip/libs/graphics/assimp/recipe.toml @@ -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", +] diff --git a/recipes/wip/libs/sdl/sdl-shadercross/recipe.toml b/recipes/wip/libs/sdl/sdl-shadercross/recipe.toml new file mode 100644 index 000000000..4c8c8bc89 --- /dev/null +++ b/recipes/wip/libs/sdl/sdl-shadercross/recipe.toml @@ -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? +]