Files
RedBear-OS/recipes/wip/games/engines/shockolate/recipe.toml
T
vasilito 50b731f1b7 Red Bear OS — microkernel OS in Rust, based on Redox
Derivative of Redox OS (https://www.redox-os.org) adding:
- AMD GPU driver (amdgpu) via LinuxKPI compat layer
- ext4 filesystem support (ext4d scheme daemon)
- ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG)
- Custom branding (hostname, os-release, boot identity)

Build system is full upstream Redox with RBOS overlay in local/.
Patches for kernel, base, and relibc are symlinked from local/patches/
and protected from make clean/distclean. Custom recipes live in
local/recipes/ with symlinks into the recipes/ search path.

Build:  make all CONFIG_NAME=redbear-full
Sync:   ./local/scripts/sync-upstream.sh
2026-04-12 19:05:00 +01:00

36 lines
1.0 KiB
TOML

#TODO something wrong with keyboard input
[source]
git = "https://github.com/Interrupt/systemshock"
[build]
template = "custom"
dependencies = [
"libogg",
"liborbital",
"libvorbis",
"mesa",
"sdl2",
"sdl2-mixer",
"zlib",
]
script = """
DYNAMIC_INIT
COOKBOOK_CMAKE_FLAGS+=(
-DCMAKE_C_FLAGS="-I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2"
-DCMAKE_CXX_FLAGS="-I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2"
-DENABLE_FLUIDSYNTH=OFF
-DENABLE_SDL2=ON
-DENABLE_SOUND=ON
-DOPENGL_INCLUDE_DIR="${COOKBOOK_SYSROOT}"
-DOPENGL_opengl_LIBRARY="-lgl"
-DOPENGL_glx_LIBRARY="-lglx"
-DSDL2_MIXER_LIBRARIES="-lSDL2_mixer -lvorbisfile -lvorbis -logg -lSDL2 -lorbital $("${TARGET}-pkg-config" --libs osmesa)"
)
cookbook_cmake
mkdir -pv "${COOKBOOK_STAGE}/home/user/systemshock"
cp -v systemshock "${COOKBOOK_STAGE}/home/user/systemshock/systemshock"
cp -rv "${COOKBOOK_SOURCE}/shaders" "${COOKBOOK_STAGE}/home/user/systemshock/shaders"
"""
[package]
dependencies = [
]