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
1.1 KiB
TOML
34 lines
1.1 KiB
TOML
[source]
|
|
git = "https://gitlab.redox-os.org/redox-os/freedoom.git"
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
mkdir -pv "${COOKBOOK_STAGE}/usr/games" "${COOKBOOK_STAGE}/share/games/doom" "${COOKBOOK_STAGE}/usr/share/ui/apps" "${COOKBOOK_STAGE}/usr/share/icons/apps"
|
|
for file in "${COOKBOOK_SOURCE}/"*.wad
|
|
do
|
|
game="$(basename "$file" .wad)"
|
|
|
|
wad="/share/games/doom/$game.wad"
|
|
cp -v "$file" "${COOKBOOK_STAGE}$wad"
|
|
|
|
bin="/usr/games/$game"
|
|
echo "#!/bin/ion" > "${COOKBOOK_STAGE}$bin"
|
|
echo "/usr/games/prboom -geom 800x600 -vidmode 32 -iwad $wad" >> "${COOKBOOK_STAGE}$bin"
|
|
chmod +x "${COOKBOOK_STAGE}$bin"
|
|
|
|
echo "name=$game" | sed 's/freedoom/FreeDOOM: Phase /' | sed 's/doom1/DOOM (Shareware)/' > "${COOKBOOK_STAGE}/usr/share/ui/apps/$game"
|
|
echo "category=Games" >> "${COOKBOOK_STAGE}/usr/share/ui/apps/$game"
|
|
echo "binary=/usr/games/$game" >> "${COOKBOOK_STAGE}/usr/share/ui/apps/$game"
|
|
echo "icon=/ui/icons/apps/$game.png" >> "${COOKBOOK_STAGE}/usr/share/ui/apps/$game"
|
|
|
|
cp -v "${COOKBOOK_SOURCE}/$game.png" "${COOKBOOK_STAGE}/usr/share/icons/apps/$game.png"
|
|
done
|
|
"""
|
|
|
|
[package]
|
|
dependencies = [
|
|
"ion",
|
|
"prboom",
|
|
]
|