diff --git a/recipes/wip/demos/black-hole-glfw/recipe.toml b/recipes/wip/demos/black-hole-glfw/recipe.toml new file mode 100644 index 000000000..55d5e100d --- /dev/null +++ b/recipes/wip/demos/black-hole-glfw/recipe.toml @@ -0,0 +1,13 @@ +#TODO compile and test +[source] +git = "https://github.com/kavan010/black_hole" +rev = "dc263bb5a1b72f5a24190d2e38b84b5c8fe9a317" +shallow_clone = true +[build] +template = "cmake" +dependencies = [ + "glew", + "glfw3", + "glm", + "mesa-x11", +] diff --git a/recipes/wip/demos/black-hole-sdl/recipe.toml b/recipes/wip/demos/black-hole-sdl/recipe.toml new file mode 100644 index 000000000..6dbe52959 --- /dev/null +++ b/recipes/wip/demos/black-hole-sdl/recipe.toml @@ -0,0 +1,9 @@ +#TODO compile and test +[source] +git = "https://github.com/jsoulier/black_hole_simulation" +rev = "6205903db7f22d86d2dbc328831bfc2f68108b7a" +shallow_clone = true +[build] +template = "cmake" +dev-dependencies = ["host:sdl-shadercross"] +dependencies = ["sdl3"] diff --git a/recipes/wip/demos/hellovk-sdl/recipe.toml b/recipes/wip/demos/hellovk-sdl/recipe.toml new file mode 100644 index 000000000..92eeb670d --- /dev/null +++ b/recipes/wip/demos/hellovk-sdl/recipe.toml @@ -0,0 +1,16 @@ +#TODO add vulkan dependencies from cmake log +[source] +git = "https://github.com/electromaggot/HelloVulkanSDL" +rev = "7c1b50c5d5d60b3545b7f735753b9beb170e5a79" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "sdl2", + "sdl2-image", + "glm", +] +script = """ +DYNAMIC_INIT +cookbook_cmake "${COOKBOOK_SOURCE}"/CMakeLinux +""" diff --git a/recipes/wip/demos/lpv-demo/recipe.toml b/recipes/wip/demos/lpv-demo/recipe.toml new file mode 100644 index 000000000..c2e41920f --- /dev/null +++ b/recipes/wip/demos/lpv-demo/recipe.toml @@ -0,0 +1,19 @@ +#TODO remove x11 dependency from makefile, can be handled by sdl on windows target:https://github.com/djbozkosz/Light-Propagation-Volumes/blob/master/Makefile#L15 +#TODO force geometry shader implementation for better performance on cpu rendering +#TODO add command to install +[source] +git = "https://github.com/djbozkosz/Light-Propagation-Volumes" +rev = "74020d5e5fcaaf0e22ba3cd9314baee0a9a7757a" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "sdl2", + "sdl2-image", + "mesa", +] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" +""" diff --git a/recipes/wip/demos/rt-sdl/recipe.toml b/recipes/wip/demos/rt-sdl/recipe.toml new file mode 100644 index 000000000..7a1589376 --- /dev/null +++ b/recipes/wip/demos/rt-sdl/recipe.toml @@ -0,0 +1,9 @@ +#TODO compile and test +[source] +git = "https://github.com/jsoulier/ray_tracing_in_one_weekend" +rev = "131191e9ea472763107c349cac4b8e3a0337b775" +shallow_clone = true +[build] +template = "cmake" +dev-dependencies = ["host:sdl-shadercross"] +dependencies = ["sdl3"] diff --git a/recipes/wip/demos/sdl-helloworld/recipe.toml b/recipes/wip/demos/sdl-helloworld/recipe.toml new file mode 100644 index 000000000..156c9ef69 --- /dev/null +++ b/recipes/wip/demos/sdl-helloworld/recipe.toml @@ -0,0 +1,9 @@ +#TODO compile and test +[source] +git = "https://github.com/libsdl-org/SDL_helloworld" +rev = "a7bbaf2e7b2b956257425fb6eb60e17e24d15bbf" +shallow_clone = true +[build] +template = "cmake" +cmakeflags = ["DOWNLOAD_DEPENDENCIES=FALSE"] +dependencies = ["sdl3"] diff --git a/recipes/wip/demos/stars-sdl/recipe.toml b/recipes/wip/demos/stars-sdl/recipe.toml new file mode 100644 index 000000000..3c090f987 --- /dev/null +++ b/recipes/wip/demos/stars-sdl/recipe.toml @@ -0,0 +1,14 @@ +#TODO compile and test +#TODO add a command to install +[source] +git = "https://github.com/Patater/demokit" +rev = "5304bab243573c5aa09fb5c98fe34dff98f59675" +shallow_clone = true +[build] +template = "custom" +dependencies = ["sdl2"] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/stars" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" +""" diff --git a/recipes/wip/games/shooter/opensoldat/recipe.toml b/recipes/wip/games/shooter/opensoldat/recipe.toml new file mode 100644 index 000000000..462b0625c --- /dev/null +++ b/recipes/wip/games/shooter/opensoldat/recipe.toml @@ -0,0 +1,19 @@ +#TODO compile and test +[source] +git = "https://github.com/opensoldat/opensoldat" +rev = "c7596cdca32416cb66339b339105eb1e07e7fbbf" +shallow_clone = true +[build] +template = "cmake" +cmakeflags = [ + #"-DBUILD_SERVER=False", # use if needed + "-DBUILD_GNS=False", +] +dev-dependencies = ["host:fpc"] +dependencies = [ + "sdl2", + "openal", + "freetype2", + "physicsfs", + "gns", +] diff --git a/recipes/wip/image/editors/photo-editor-rs/recipe.toml b/recipes/wip/image/editors/photo-editor-rs/recipe.toml new file mode 100644 index 000000000..13c24b2a2 --- /dev/null +++ b/recipes/wip/image/editors/photo-editor-rs/recipe.toml @@ -0,0 +1,6 @@ +#TODO compile and test +[source] +git = "https://codeberg.org/oscfri/photo-editor" +shallow_clone = true +[build] +template = "cargo" diff --git a/recipes/wip/players/tapexplayer/recipe.toml b/recipes/wip/players/tapexplayer/recipe.toml new file mode 100644 index 000000000..e1897f342 --- /dev/null +++ b/recipes/wip/players/tapexplayer/recipe.toml @@ -0,0 +1,19 @@ +#TODO compile and test +#TODO add command to install +[source] +git = "https://github.com/ffbsoffa/TapeXPlayer" +rev = "build1866" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "sdl2", + "sdl2-ttf", + "ffmpeg6", + "portaudio", +] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/source" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" +""" diff --git a/recipes/wip/players/video-compare/recipe.toml b/recipes/wip/players/video-compare/recipe.toml new file mode 100644 index 000000000..b2e73f1b7 --- /dev/null +++ b/recipes/wip/players/video-compare/recipe.toml @@ -0,0 +1,18 @@ +#TODO compile and test +[source] +git = "https://github.com/pixop/video-compare" +rev = "20260708" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "ffmpeg6", + "sdl2", + "sdl2-ttf", +] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" +"${COOKBOOK_MAKE}" install BINDIR="${COOKBOOK_STAGE}/usr/bin" +""" diff --git a/recipes/wip/term/hterm/recipe.toml b/recipes/wip/term/hterm/recipe.toml new file mode 100644 index 000000000..b3fac8bb5 --- /dev/null +++ b/recipes/wip/term/hterm/recipe.toml @@ -0,0 +1,17 @@ +#TODO patch makefile to make it use recipe dependencies +[source] +git = "https://github.com/new299/hackterm" +rev = "d940f19cbdc46f14e557d30bdcfbcfdad4d18553" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "sdl1", + "libvterm", +] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" +"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}/usr" +""" diff --git a/recipes/wip/term/lilt/recipe.toml b/recipes/wip/term/lilt/recipe.toml new file mode 100644 index 000000000..5564f52ea --- /dev/null +++ b/recipes/wip/term/lilt/recipe.toml @@ -0,0 +1,8 @@ +#TODO compile and test +[source] +git = "https://github.com/MurphyMc/lilt" +rev = "6b91c90e521315e427c243cfb689138c3cd7c376" +shallow_clone = true +[build] +template = "cmake" +dependencies = ["sdl1"] diff --git a/recipes/wip/term/sdlterm/recipe.toml b/recipes/wip/term/sdlterm/recipe.toml new file mode 100644 index 000000000..854613f52 --- /dev/null +++ b/recipes/wip/term/sdlterm/recipe.toml @@ -0,0 +1,20 @@ +#TODO compile and test +#TODO make it use libvterm recipe +[source] +git = "https://github.com/palomena/sdlterm" +rev = "8c121d26f65cdb2225ddf3f858c70b4c89d65fa6" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "sdl2", + "sdl2-ttf", + "sdl2-image", + #"libvterm", +] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" +"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}/usr" +""" diff --git a/recipes/wip/text/lite-xl/recipe.toml b/recipes/wip/text/lite-xl/recipe.toml new file mode 100644 index 000000000..2099e436e --- /dev/null +++ b/recipes/wip/text/lite-xl/recipe.toml @@ -0,0 +1,20 @@ +#TODO compile and test +# build instructions: https://lite-xl.com/setup/building-from-source/ +[source] +git = "https://github.com/lite-xl/lite-xl" +rev = "v2.1.7" +shallow_clone = true +[build] +template = "meson" +mesonflags = [ + "-Drenderer=true", + "-Ddirmonitor_backend=dummy", #TODO: change to inotify when implemented + "-Duse_system_lua=true", +] +#dev-dependencies = ["host:python312"] # needed? +dependencies = [ + "sdl2", + "pcre2", + "freetype2", + "lua54", +] diff --git a/recipes/wip/text/vgedit/recipe.toml b/recipes/wip/text/vgedit/recipe.toml new file mode 100644 index 000000000..27b51db30 --- /dev/null +++ b/recipes/wip/text/vgedit/recipe.toml @@ -0,0 +1,22 @@ +#TODO compile and test +#TODO add comand to install +[source] +git = "https://github.com/vgmoose/vgedit" +rev = "v2.2.1" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "sdl2", + "sdl2-mixer", + "sdl2-ttf", + "sdl2-image", + "sdl2-gfx", + "zlib", + "curl", +] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" +"""