From 6e89b63cfaf586a6f5fc31394bf9b09edba36d19 Mon Sep 17 00:00:00 2001 From: sergio Date: Sat, 11 Jul 2026 17:14:02 -0400 Subject: [PATCH] =?UTF-8?q?kde/Capa2:=20receta=20extra-cmake-modules=20(EC?= =?UTF-8?q?M)=206.27=20=E2=80=94=20build-system=20de=20KF6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Puerta a la Capa 2 (KF6, ~80 frameworks). CMake puro sin compilación; docs (sphinx/qttools) y tests off ⇒ cmake+samurai, sin dep Qt. Listo para la próxima tanda de granja tras validar la cadena Qt de Capa 1. Co-Authored-By: Claude Opus 4.8 --- recipes/incoming-kde/extra-cmake-modules.toml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 recipes/incoming-kde/extra-cmake-modules.toml diff --git a/recipes/incoming-kde/extra-cmake-modules.toml b/recipes/incoming-kde/extra-cmake-modules.toml new file mode 100644 index 00000000..703579e2 --- /dev/null +++ b/recipes/incoming-kde/extra-cmake-modules.toml @@ -0,0 +1,32 @@ +# 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" + +[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"]