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
34 lines
935 B
TOML
34 lines
935 B
TOML
[source]
|
|
tar = "https://sourceforge.net/projects/dosbox/files/dosbox/0.74-3/dosbox-0.74-3.tar.gz/download"
|
|
blake3 = "8bc50ffdba20579fb3080a0dca32cb939c8a3c19259aed026482c6ac069b0007"
|
|
patches = ["01_redox.patch"]
|
|
script = """
|
|
./autogen.sh
|
|
GNU_CONFIG_GET config.sub
|
|
"""
|
|
|
|
[build]
|
|
dependencies = [
|
|
"liborbital",
|
|
"sdl1",
|
|
]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
export CFLAGS="${CFLAGS} -I${COOKBOOK_SYSROOT}/include/SDL"
|
|
export CPPFLAGS="${CPPFLAGS} -I${COOKBOOK_SYSROOT}/include/SDL"
|
|
export LDFLAGS+=" -lorbital"
|
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
--disable-opengl
|
|
--disable-sdltest
|
|
--with-sdl-prefix="${COOKBOOK_SYSROOT}"
|
|
)
|
|
cookbook_configure
|
|
|
|
mkdir -pv "${COOKBOOK_STAGE}/usr/share/ui/apps"
|
|
cp -v "${COOKBOOK_RECIPE}/manifest" "${COOKBOOK_STAGE}/usr/share/ui/apps/dosbox"
|
|
|
|
mkdir -pv "${COOKBOOK_STAGE}/usr/share/icons/apps"
|
|
cp -v "${COOKBOOK_RECIPE}/icon.png" "${COOKBOOK_STAGE}/usr/share/icons/apps/dosbox.png"
|
|
"""
|