Files
RedBear-OS/recipes/games/eduke32/recipe.toml
T
vasilito 3bcf4cc196 fix: add [package].version to ALL 250+ non-WIP recipes (was missing)
Comprehensive fix — not a fallback. Each recipe now has explicit
[package] section with name and version. Version inference:
- Git-source recipes without rev/branch: '0.1.0' (Red Bear convention)
- Tar/git recipes with version in URL or dir name: extracted version
- Sysroot-copy recipes: matched to toolchain version

Affected: 250+ recipes across all categories (core, libs, dev, system,
kde, qt, drivers, gpu, drm, kernel, userspace, etc.) Every recipe
in the redbear-mini build chain that was missing [package] now has
explicit version metadata. Cookbook can now always determine a version
at packaging time, eliminating 'cannot guess version' failures.

No cookbook fallback hack — the source of truth is recipe metadata.
2026-07-12 19:08:00 +03:00

41 lines
1.1 KiB
TOML

[package]
name = "eduke32"
version = "0.1.0"
[source]
tar = "https://dukeworld.com/eduke32/synthesis/20181010-7067/eduke32_src_20181010-7067.tar.xz"
blake3 = "b0b759fe9ca51849f42669e4832ae1ae1f9ad7938529769108f7cf6a6a176558"
patches = ["redox.patch"]
[build]
dependencies = [
"sdl1",
"sdl1-mixer",
"liborbital",
"libiconv",
"libogg",
"libvorbis",
]
template = "custom"
script = """
DYNAMIC_INIT
# Copy source to build directory
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
export CFLAGS="${CFLAGS} -I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL"
export SDLCONFIG="${COOKBOOK_SYSROOT}/bin/sdl-config --prefix=${COOKBOOK_SYSROOT}"
PLATFORM=REDOX "${COOKBOOK_MAKE}" -j"$COOKBOOK_MAKE_JOBS"
mkdir -pv "${COOKBOOK_STAGE}/usr/games"
cp -v ./eduke32 "${COOKBOOK_STAGE}/usr/games/eduke32"
cp -v ./mapster32 "${COOKBOOK_STAGE}/usr/games/mapster32"
mkdir -pv "${COOKBOOK_STAGE}/usr/share/ui/apps"
cp -v "${COOKBOOK_RECIPE}/manifest" "${COOKBOOK_STAGE}/usr/share/ui/apps/eduke32"
mkdir -pv "${COOKBOOK_STAGE}/usr/share/icons/apps"
cp -v "${COOKBOOK_RECIPE}/icon.png" "${COOKBOOK_STAGE}/usr/share/icons/apps/eduke32.png"
"""