Files
RedBear-OS/recipes/libs/sdl1-ttf/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

35 lines
649 B
TOML

[package]
name = "sdl1-ttf"
version = "2.0.11"
[source]
tar = "https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz"
blake3 = "a684e57553e43b55ab28b064d1d5d44b8749299f259da31a62d671fc1d5505ee"
patches = ["redox.patch"]
script = """
./autogen.sh
"""
[build]
template = "custom"
dependencies = [
"sdl1",
"liborbital",
"freetype2",
"libpng",
"zlib",
]
script = """
export CFLAGS="${CFLAGS} -I${COOKBOOK_SYSROOT}/include/freetype2"
COOKBOOK_CONFIGURE_FLAGS=(
--prefix=/
--build="$(gcc -dumpmachine)"
--host="${TARGET}"
--disable-shared
)
cookbook_configure
rm -f "${COOKBOOK_STAGE}/lib/"*.la
"""