Files
RedBear-OS/recipes/games/freeciv/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

52 lines
1.0 KiB
TOML

[source]
tar = "https://files.freeciv.org/stable/freeciv-3.1.4.tar.xz"
blake3 = "212630af5e50fb72662ca62a71cdd57318d0cf309b53e46377dd24c8199923a4"
[build]
dependencies = [
"curl",
"freetype2",
"libiconv",
"libicu",
"liborbital",
"libjpeg",
"libpng",
"openssl1",
"mesa",
"nghttp2",
"sdl2",
"sdl2-gfx",
"sdl2-image",
"sdl2-ttf",
"zlib",
]
template = "custom"
script = """
DYNAMIC_INIT
export CURL_LIBS="-lcurl -lnghttp2 -lssl -lcrypto"
export CURL_MIME_API_LIBS="${CURL_LIBS}"
export ICU_LIBS="-licuuc -licudata -lstdc++"
export SDL2_LIBS="\
-lSDL2_gfx \
-lSDL2_image \
-lSDL2_ttf \
-lSDL2 \
-lorbital \
$("${PKG_CONFIG}" --libs osmesa) \
-ljpeg \
-lpng \
-lz \
"
COOKBOOK_CONFIGURE_FLAGS+=(
--enable-fcdb=no
--enable-fcmp=no
--enable-ipv6=no
--enable-client=sdl2
ac_cv_lib_SDL2_gfx_rotozoomSurface=yes
ac_cv_lib_SDL2_image_IMG_Load=yes
ac_cv_lib_SDL2_ttf_TTF_OpenFont=yes
)
export V=1
cookbook_configure
"""