gioser

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

TOML 1471Shell 173Rust 105Markdown 943545 Sutichaykuna

⎇ 32627251b1adcc995958bd60e72226040bff6125 recipes/incoming-kde/kitemmodels.toml TOML · 42 siq'ikuna · 1.6 KB Ñawpa willay ch'uya

licencias: campo `license` en la receta — de 0 a 228 de 1141, sin re-hashear nada 346cd5970 · sergio ·

1# kitemmodels 6.27.0 — KDE Frameworks 6 (Capa 2 tier-2, ADR 0011). Patrón KF6: dynamic, wrapper zig que
2# filtra -Wl,--fatal-warnings (ECM lo agrega, zig lo rechaza), CMAKE_PREFIX_PATH=/usr, ECM + qttools + dbus.
3# Qt6Core + Qt6Qml (opcional NO_MODULE, provee los tipos QML) ⇒ qtdeclarative. Sin frameworks KF6 extra.
4name    = "kitemmodels"
5version = "6.27.0"
6license = "LGPL-2.1-or-later OR LGPL-3.0-or-later"
7
8[source]
9tarball = "https://download.kde.org/stable/frameworks/6.27/kitemmodels-6.27.0.tar.xz"
10sha256  = "f5aec7198b161562616c139ed037e562e7ae6822b839f67c8c2e2f97678fc58e"
11
12[build]
13compiler = "zig-cc"
14target   = "x86_64-linux-musl"
15link     = "dynamic"
16flags    = []
17
18[build.phases]
19configure = '''
20ZW="$PWD/.zwrap"; mkdir -p "$ZW"
21cat > "$ZW/cc"  <<'W'
22#!/bin/sh
23a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
24exec /opt/zig/zig cc -mcpu=baseline $a
25W
26cat > "$ZW/cxx" <<'W'
27#!/bin/sh
28a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
29exec /opt/zig/zig c++ -mcpu=baseline $a
30W
31chmod +x "$ZW/cc" "$ZW/cxx"
32cmake -B build -G Ninja -Wno-dev \
33  -DCMAKE_C_COMPILER="$ZW/cc" -DCMAKE_CXX_COMPILER="$ZW/cxx" -DCMAKE_ASM_COMPILER="$ZW/cc" \
34  -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/usr \
35  -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \
36  -DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF
37'''
38compile = "cmake --build build"
39install = "DESTDIR=/out cmake --install build"
40
41[deps]
42build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "qtdeclarative"]