3bcf4cc196
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.
31 lines
552 B
TOML
31 lines
552 B
TOML
[package]
|
|
name = "sdl-gfx"
|
|
version = "2.0.25"
|
|
|
|
[source]
|
|
tar = "https://sourceforge.net/projects/sdlgfx/files/SDL_gfx-2.0.25.tar.gz"
|
|
blake3 = "e6f571a38e51d369b010f4b10eb35b95e3d2edae2edd796241c47ea8376581e6"
|
|
patches = ["redox.patch"]
|
|
script = """
|
|
./autogen.sh
|
|
"""
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"sdl1",
|
|
"liborbital",
|
|
"libiconv",
|
|
]
|
|
script = """
|
|
COOKBOOK_CONFIGURE_FLAGS=(
|
|
--prefix=/
|
|
--build="$(gcc -dumpmachine)"
|
|
--host="${TARGET}"
|
|
--disable-shared
|
|
)
|
|
|
|
cookbook_configure
|
|
|
|
rm -f "${COOKBOOK_STAGE}/lib/"*.la
|
|
""" |