# extra-cmake-modules (ECM) 6.27.0 — el build-system de TODO KDE Frameworks 6 (Capa 2). Módulo de # ficheros CMake (sin compilación C++); base de los ~80 frameworks. Campaña KDE (ADR 0011). Docs # (sphinx/qttools) y tests apagados ⇒ sólo cmake+samurai, sin dep Qt. Puerta a la Capa 2 (KF6). name = "extra-cmake-modules" version = "6.27.0" license = "BSD-3-Clause" [source] tarball = "https://download.kde.org/stable/frameworks/6.27/extra-cmake-modules-6.27.0.tar.xz" sha256 = "f3b5af578017a6a0f127fb1c31609db2e4f016e99b900d5a11f6ffb6c55006a3" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "dynamic" flags = [] [build.phases] configure = ''' ZW="$PWD/.zwrap"; mkdir -p "$ZW" printf '#!/bin/sh\nexec /opt/zig/zig cc -mcpu=baseline "$@"\n' > "$ZW/cc" printf '#!/bin/sh\nexec /opt/zig/zig c++ -mcpu=baseline "$@"\n' > "$ZW/cxx" chmod +x "$ZW/cc" "$ZW/cxx" cmake -B build -G Ninja -Wno-dev \ -DCMAKE_C_COMPILER="$ZW/cc" -DCMAKE_CXX_COMPILER="$ZW/cxx" -DCMAKE_ASM_COMPILER="$ZW/cc" \ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTING=OFF -DBUILD_HTML_DOCS=OFF -DBUILD_MAN_DOCS=OFF -DBUILD_QTHELP_DOCS=OFF ''' compile = "cmake --build build" install = "DESTDIR=/out cmake --install build" [deps] build = ["cmake", "samurai", "python3"]