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.
23 lines
550 B
TOML
23 lines
550 B
TOML
[package]
|
|
name = "mgba"
|
|
version = "0.10.5"
|
|
|
|
[source]
|
|
tar = "https://github.com/mgba-emu/mgba/archive/0.10.5.tar.gz"
|
|
blake3 = "a1b9e797a5058f5264d276805aef5643b7ea460916e491a0098ba32d87f1519e"
|
|
patches = ["redox.patch"]
|
|
|
|
[build]
|
|
dependencies = ["libiconv", "liborbital", "libpng", "pixman", "sdl1", "zlib"]
|
|
template = "cmake"
|
|
cmakeflags = [
|
|
"-DBUILD_QT=OFF",
|
|
"-DBUILD_SHARED=ON",
|
|
"-DBUILD_STATIC=OFF",
|
|
"-DUSE_SQLITE3=OFF",
|
|
"-DUSE_DEBUGGERS=OFF",
|
|
"-DBUILD_SDL=ON",
|
|
"-DSDL_VERSION=1.2",
|
|
"-DSDL_LIBRARY=-lSDL -lorbital",
|
|
]
|