Files
RedBear-OS/recipes/emulators/retroarch/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

43 lines
1019 B
TOML

[source]
git = "https://github.com/jackpot51/retroarch.git"
[build]
template = "custom"
dependencies = [
"liborbital",
"libretro-super",
"mesa",
"openssl1",
"sdl2",
"zlib",
]
script = """
pushd "${COOKBOOK_SOURCE}"
./fetch-submodules.sh
popd
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
# For now, we will statically link with the snes9x libretro
mkdir -pv "${COOKBOOK_SYSROOT}/lib"
cp -v "${COOKBOOK_SYSROOT}/share/libretro/snes9x_libretro.a" "${COOKBOOK_SYSROOT}/lib/libretro.a"
COOKBOOK_CONFIGURE_FLAGS=(
--host="${TARGET}"
--prefix="/"
--disable-builtinzlib # conflicts with zlib
--disable-discord # does not link
--disable-dylib
--disable-dynamic
--disable-netplaydiscovery # missing ifaddrs.h
--disable-thread_storage # crash in pthread_setspecific called by sthread_tls_set
--disable-threads # prevents hang
--enable-opengl
--enable-sdl2
--enable-ssl
--enable-zlib
--with-libretro="-lretro -lstdc++ -lz"
)
cookbook_configure
"""