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.
84 lines
1.6 KiB
TOML
84 lines
1.6 KiB
TOML
[package]
|
|
name = "gstreamer"
|
|
version = "1.29.2"
|
|
|
|
[source]
|
|
tar = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.29.2.tar.xz"
|
|
blake3 = "ed645be28fdc26f2dd1793270b6466cdf253babcbd351363ff93d46acd32aa08"
|
|
patches = ["redox.patch"]
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"bzip2",
|
|
"cairo",
|
|
"curl",
|
|
"expat",
|
|
#TODO: "ffmpeg6",
|
|
"fontconfig",
|
|
"freetype2",
|
|
"fribidi",
|
|
"gdk-pixbuf",
|
|
"gettext",
|
|
"glib",
|
|
"harfbuzz",
|
|
"libass",
|
|
"libffi",
|
|
"libgmp",
|
|
"libiconv",
|
|
"libicu",
|
|
"libjpeg",
|
|
"libmodplug1",
|
|
"libnettle",
|
|
"libogg",
|
|
"libpng",
|
|
"libpsl",
|
|
"libpthread-stubs",
|
|
"libsndfile",
|
|
"libsoup",
|
|
"libvorbis",
|
|
"libwebp",
|
|
"libx11",
|
|
"libxau",
|
|
"libxcb",
|
|
#TODO: "libxdamage",
|
|
"libxext",
|
|
"libxfixes",
|
|
"libxi",
|
|
"libxml2",
|
|
"libxxf86vm",
|
|
"mesa-x11",
|
|
"nghttp2",
|
|
#TODO: "openal",
|
|
"openssl1",
|
|
"pango",
|
|
"pcre2",
|
|
"pixman",
|
|
"sqlite3",
|
|
"x11proto",
|
|
"xextproto",
|
|
"xz",
|
|
"zlib",
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
|
|
export GLIB_GENMARSHAL="$(which glib-genmarshal)"
|
|
export GLIB_MKENUMS="$(which glib-mkenums)"
|
|
|
|
CFLAGS="${CFLAGS} -DM_LN2=0.69314718055994530942"
|
|
cookbook_meson \
|
|
-Ddevtools=disabled \
|
|
-Dexamples=disabled \
|
|
-Dlibav=disabled \
|
|
-Dlibnice=disabled \
|
|
-Dorc=disabled \
|
|
-Dtests=disabled \
|
|
-Dtools=enabled \
|
|
-Dgstreamer:check=disabled \
|
|
-Dgstreamer:coretracers=disabled \
|
|
-Dgst-plugins-bad:shm=disabled \
|
|
-Dgst-plugins-base:xshm=disabled \
|
|
-Dgst-plugins-good:ximagesrc-xshm=disabled
|
|
"""
|