tawasuyu

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 1488Shell 182Rust 107Markdown 963619 Sutichaykuna

⎇ 5e4dd7ab9d9fe9dbddb0e532e85260b81f12d1f0 recipes/incoming-kde/kcodecs.toml TOML · 40 siq'ikuna · 1.4 KB Ñawpa willay ch'uya

kde/Capa2: 8 recetas KF6 tier-1 (kconfig/kcodecs/kguiaddons/ki18n/kwidgetsaddons/karchive/kwindowsystem/solid) b4d4a086a · sergio ·

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