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.
40 lines
772 B
TOML
40 lines
772 B
TOML
[package]
|
|
name = "cairo"
|
|
version = "1.18.4"
|
|
|
|
[source]
|
|
tar = "https://www.cairographics.org/releases/cairo-1.18.4.tar.xz"
|
|
blake3 = "b9fa14e02f85ec4e72396c62236c98502d04dbbdf8daf01ab9557a1c7aa7106e"
|
|
patches = ["redox.patch"]
|
|
|
|
[build]
|
|
dependencies = [
|
|
"expat",
|
|
"freetype2",
|
|
"fontconfig",
|
|
"gettext",
|
|
"glib",
|
|
"libffi",
|
|
"libiconv",
|
|
"libpng",
|
|
"libpthread-stubs",
|
|
"libx11",
|
|
"libxau",
|
|
"libxcb",
|
|
"libxext",
|
|
"pcre2",
|
|
"pixman",
|
|
"x11proto",
|
|
"zlib",
|
|
]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
#TODO: fix mutex implementation
|
|
#TODO: why are math defines missing?
|
|
CFLAGS="${CFLAGS} -DCAIRO_NO_MUTEX=1 -DM_SQRT2=1.41421356237309504880 -DM_LN2=0.69314718055994530942"
|
|
cookbook_meson \
|
|
-Dxlib-xcb=enabled \
|
|
-Dtests=disabled
|
|
"""
|