Add more recipes

This commit is contained in:
Ribbon 2026-08-17 22:18:36 -03:00
parent 2c002276b7
commit 7b817ab479
16 changed files with 238 additions and 0 deletions

View File

@ -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",
]

View File

@ -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"]

View File

@ -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
"""

View File

@ -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}"
"""

View File

@ -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"]

View File

@ -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"]

View File

@ -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}"
"""

View File

@ -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",
]

View File

@ -0,0 +1,6 @@
#TODO compile and test
[source]
git = "https://codeberg.org/oscfri/photo-editor"
shallow_clone = true
[build]
template = "cargo"

View File

@ -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}"
"""

View File

@ -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"
"""

View File

@ -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"
"""

View File

@ -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"]

View File

@ -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"
"""

View File

@ -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",
]

View File

@ -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}"
"""