Files
RedBear-OS/local/recipes/libs/libqrencode/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

16 lines
599 B
TOML

[package]
name = "libqrencode"
version = "4.1.1"
#TODO: libqrencode — QR code encoder library for KF6 Prison. Optional CLI/PNG features can be revisited later.
[source]
tar = "https://github.com/fukuchi/libqrencode/archive/refs/tags/v4.1.1.tar.gz"
blake3 = "78bf8bbcfb037140d0e98dc355e77416c9c9b0fd3ac12fd6e767b07d68f60f8c"
script = '''
sed -i 's/^cmake_minimum_required(VERSION 3\.1\.0)$/cmake_minimum_required(VERSION 3.5)/' CMakeLists.txt
sed -i 's/^option(WITH_TOOLS "Build utility tools" YES )$/option(WITH_TOOLS "Build utility tools" NO )/' CMakeLists.txt
'''
[build]
template = "cmake"