50b731f1b7
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
38 lines
902 B
TOML
38 lines
902 B
TOML
[source]
|
|
tar = "https://github.com/diasurgical/devilutionX/archive/refs/tags/1.5.4.tar.gz"
|
|
blake3 = "d4a61ff3a7c69d86a29158918aad48ab9c4866c6a22a3e8da5feadbb7d23b3ca"
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"bzip2",
|
|
"libiconv",
|
|
"liborbital",
|
|
"sdl1",
|
|
"zlib",
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
|
|
COOKBOOK_CONFIGURE="cmake"
|
|
COOKBOOK_CONFIGURE_FLAGS=(
|
|
-DBUILD_TESTING=OFF
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
-DCMAKE_CROSSCOMPILING=ON
|
|
-DCMAKE_CXX_COMPILER="${TARGET}-g++"
|
|
-DCMAKE_C_COMPILER="${TARGET}-gcc"
|
|
-DCMAKE_INSTALL_PREFIX="/"
|
|
-DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
|
|
-DCMAKE_VERBOSE_MAKEFILE=ON
|
|
-DDEVILUTIONX_SYSTEM_BZIP2=ON
|
|
-DDEVILUTIONX_SYSTEM_ZLIB=ON
|
|
-DNONET=ON
|
|
-DSDL_LIBRARY="-lSDL -lorbital"
|
|
-DUSE_SDL1=ON
|
|
"${COOKBOOK_SOURCE}"
|
|
)
|
|
cookbook_configure
|
|
mkdir -v "${COOKBOOK_STAGE}/bin"
|
|
cp -v devilutionx "${COOKBOOK_STAGE}/bin"
|
|
"""
|