mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
Add, fix, improve some recipes and update TODOs
This commit is contained in:
parent
eda7b95afc
commit
c49c6b4e24
@ -1,4 +1,4 @@
|
||||
#TODO wry crate error
|
||||
#TODO wry and tao crate error
|
||||
[source]
|
||||
git = "https://github.com/DioxusLabs/dioxus"
|
||||
shallow_clone = true
|
||||
@ -11,7 +11,11 @@ cargoexamples = [
|
||||
"file_explorer",
|
||||
"hello_world",
|
||||
"multiwindow",
|
||||
"popup",
|
||||
"window_popup",
|
||||
"window_event",
|
||||
"window_zoom",
|
||||
]
|
||||
cargopackages = [
|
||||
"file-explorer",
|
||||
]
|
||||
dependencies = ["openssl3"]
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
#TODO discover how to build the "doomfire-minifb" example
|
||||
#TODO update doomfire-minifb package dependencies
|
||||
# to fix outdated redox_syscall, libc and minifb crates
|
||||
# or use doomfire-sdl2 package, which needs libc crate update and manual library linkage
|
||||
[source]
|
||||
git = "https://github.com/r-marques/doomfire"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cargo"
|
||||
cargopackages = [
|
||||
"doomfire-minifb",
|
||||
]
|
||||
cargopath = "examples/doomfire-minifb"
|
||||
#cargopath = "examples/doomfire-sdl2"
|
||||
#dependencies = ["sdl2"]
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
#TODO glutin crate error
|
||||
#TODO winit crate error
|
||||
[source]
|
||||
git = "https://github.com/emilk/egui"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cargo"
|
||||
cargoexamples = [
|
||||
"hello_world"
|
||||
cargopackages = [
|
||||
"hello_world_simple"
|
||||
]
|
||||
|
||||
@ -3,9 +3,5 @@
|
||||
git = "https://github.com/adamsky/globe"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo_packages globe-cli
|
||||
mv "${COOKBOOK_STAGE}/usr/bin/globe" "${COOKBOOK_STAGE}/usr/bin/globe-rs"
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = ["globe-cli"]
|
||||
|
||||
@ -1,10 +1,19 @@
|
||||
#TODO not compiled or tested
|
||||
#TODO discover minimum dependencies from cmake log
|
||||
#TODO compiled, ninja install error
|
||||
# pull request: https://github.com/ocornut/imgui/pull/3027
|
||||
[source]
|
||||
git = "https://github.com/Qix-/imgui"
|
||||
branch = "cmake"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cmake"
|
||||
#dependencies = ["sdl2"]
|
||||
template = "custom"
|
||||
dependencies = ["sdl2"]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
export CPPFLAGS="${CPPFLAGS} -I${COOKBOOK_SYSROOT}/include/SDL2"
|
||||
COOKBOOK_CMAKE_FLAGS+=(
|
||||
-DIMGUI_IMPL_GLFW=OFF
|
||||
-DIMGUI_IMPL_GLUT=OFF
|
||||
-DIMGUI_IMPL_OPENGL=OFF
|
||||
)
|
||||
cookbook_cmake
|
||||
"""
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#TODO winit crate error (after cargo update)
|
||||
#TODO update dependencies
|
||||
[source]
|
||||
git = "https://github.com/BirdbrainEngineer/lenia"
|
||||
shallow_clone = true
|
||||
|
||||
@ -1,10 +1,8 @@
|
||||
#TODO not compiled or tested
|
||||
#TODO linking error
|
||||
[source]
|
||||
git = "https://github.com/j-g00da/mousefood"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cargo"
|
||||
cargopackages = ["simulator"]
|
||||
dependencies = [
|
||||
"sdl2",
|
||||
]
|
||||
dependencies = ["sdl2"]
|
||||
|
||||
@ -13,6 +13,7 @@ template = "custom"
|
||||
script = """
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
cd ports/unix
|
||||
DYNAMIC_INIT
|
||||
make -C ../../mpy-cross
|
||||
MAKEFLAGS=(
|
||||
VARIANT=minimal
|
||||
|
||||
13
recipes/wip/games/engines/box2d/recipe.toml
Normal file
13
recipes/wip/games/engines/box2d/recipe.toml
Normal file
@ -0,0 +1,13 @@
|
||||
#TODO compile and test
|
||||
[source]
|
||||
git = "https://github.com/erincatto/box2d"
|
||||
rev = "v3.1.1"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cmake"
|
||||
cmakeflags = [
|
||||
"-DBUILD_SHARED_LIBS=ON",
|
||||
"-DBOX2D_BENCHMARKS=ON",
|
||||
"-DBOX2D_VALIDATE=OFF",
|
||||
"-DBOX2D_UNIT_TESTS=OFF",
|
||||
]
|
||||
13
recipes/wip/games/engines/box3d/recipe.toml
Normal file
13
recipes/wip/games/engines/box3d/recipe.toml
Normal file
@ -0,0 +1,13 @@
|
||||
#TODO compile and test
|
||||
[source]
|
||||
git = "https://github.com/erincatto/box3d"
|
||||
rev = "v0.1.0"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cmake"
|
||||
cmakeflags = [
|
||||
"-DBUILD_SHARED_LIBS=ON",
|
||||
"-DBOX3D_BENCHMARKS=ON",
|
||||
"-DBOX3D_UNIT_TESTS=OFF",
|
||||
"-DBOX3D_VALIDATE=OFF",
|
||||
]
|
||||
28
recipes/wip/games/engines/joltphysics/recipe.toml
Normal file
28
recipes/wip/games/engines/joltphysics/recipe.toml
Normal file
@ -0,0 +1,28 @@
|
||||
#TODO compile and test
|
||||
[source]
|
||||
git = "https://github.com/jrouwe/JoltPhysics"
|
||||
rev = "v5.6.0"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"libvulkan",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
COOKBOOK_CMAKE_FLAGS+=(
|
||||
-DJPH_BUILD_SHARED_LIBS=ON
|
||||
-DTARGET_UNIT_TESTS=OFF
|
||||
-DTARGET_VIEWER=OFF
|
||||
-DGENERATE_DEBUG_SYMBOLS=OFF
|
||||
-DOVERRIDE_CXX_FLAGS=OFF # used to force debug mode?
|
||||
-DFLOATING_POINT_EXCEPTIONS_ENABLED=OFF
|
||||
-DDEBUG_RENDERER_IN_DEBUG_AND_RELEASE=OFF
|
||||
-DPROFILER_IN_DEBUG_AND_RELEASE=OFF
|
||||
-DDISABLE_CUSTOM_ALLOCATOR=ON
|
||||
-DJPH_USE_DX12=OFF
|
||||
-DJPH_USE_VK=OFF
|
||||
-DJPH_USE_MTL=OFF
|
||||
)
|
||||
cookbook_cmake "${COOKBOOK_SOURCE}"/Build
|
||||
"""
|
||||
11
recipes/wip/games/engines/lovr-demos/recipe.toml
Normal file
11
recipes/wip/games/engines/lovr-demos/recipe.toml
Normal file
@ -0,0 +1,11 @@
|
||||
#TODO compile and test
|
||||
[source]
|
||||
git = "https://github.com/bjornbytes/lovr-docs"
|
||||
branch = "v0.19.0"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
mkdir -pv "${COOKBOOK_STAGE}/usr/share/lovr"
|
||||
cp -rv "${COOKBOOK_SOURCE}"/examples/* "${COOKBOOK_STAGE}/usr/share/lovr"
|
||||
"""
|
||||
25
recipes/wip/games/engines/lovr/recipe.toml
Normal file
25
recipes/wip/games/engines/lovr/recipe.toml
Normal file
@ -0,0 +1,25 @@
|
||||
#TODO compile and test
|
||||
# build instructions: https://lovr.org/docs/Compiling
|
||||
[source]
|
||||
git = "https://github.com/bjornbytes/lovr"
|
||||
rev = "v0.19.0"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cmake"
|
||||
cmakeflags = [
|
||||
"-DLOVR_ENABLE_AUDIO=OFF",
|
||||
"-DLOVR_ENABLE_HEADSET=OFF",
|
||||
"-DLOVR_ENABLE_PHYSICS=OFF",
|
||||
"-DLOVR_SYSTEM_GLFW=ON",
|
||||
"-DLOVR_SYSTEM_LUA=ON",
|
||||
#"-DLOVR_SYSTEM_OPENXR=ON",
|
||||
]
|
||||
dependencies = [
|
||||
"glfw3",
|
||||
#"openxr",
|
||||
]
|
||||
[package]
|
||||
dependencies = [
|
||||
"luajit",
|
||||
"lovr-demos",
|
||||
]
|
||||
8
recipes/wip/libs/other/openxr/recipe.toml
Normal file
8
recipes/wip/libs/other/openxr/recipe.toml
Normal file
@ -0,0 +1,8 @@
|
||||
#TODO compile and test
|
||||
[source]
|
||||
tar = "https://github.com/KhronosGroup/OpenXR-SDK-Source/releases/download/release-1.1.61/OpenXR-SDK-Source-release-1.1.61.tar.gz"
|
||||
[build]
|
||||
template = "cmake"
|
||||
dev-dependencies = [
|
||||
"host:python312",
|
||||
]
|
||||
Loading…
Reference in New Issue
Block a user