Files
takana/recipes/incoming-kde/kplotting.toml
T
sergioandClaude Opus 4.8 017718bffd kde/Capa2: tier-2 KF6 sellado 9/10 (fixes deps + patch Canberra)
Sellados: kdbusaddons kitemviews kitemmodels kplotting kcrash kcolorscheme kcompletion
kconfigwidgets knotifications. kjobwidgets en vuelo (faltaba dep knotifications).

Fixes durables:
- SET Qt6-consumer (mesa+libdrm+libxkbcommon+wayland) OBLIGATORIO en TODO framework que use
  Qt6::Gui/Widgets (Qt6Gui_FOUND=FALSE si falta GLESv2). El subagente lo omitió → batch entero falló.
- gettext-tiny (msgmerge) para frameworks con traducciones ki18n (kcolorscheme/kconfigwidgets).
- qtdeclarative donde hay Qt6Qml transitivo (kcompletion/kconfigwidgets).
- kdbusaddons: WITH_X11=OFF (usaba qtx11extras_p.h de Qt-xcb ausente).
- knotifications: patch Canberra REQUIRED→opcional (código ya guarda -DHAVE_CANBERRA; evita
  el stack de audio alsa/pulse/vorbis). Compila sin sonido, deuda audio diferida.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 07:42:11 -04:00

42 lines
1.5 KiB
TOML

# kplotting 6.27.0 — KDE Frameworks 6 (Capa 2 tier-2, ADR 0011). Patrón KF6: dynamic, wrapper zig que
# filtra -Wl,--fatal-warnings (ECM lo agrega, zig lo rechaza), CMAKE_PREFIX_PATH=/usr, ECM + qttools + dbus.
# Sólo Qt6Gui (widget de ploteo QWidget-free); sin frameworks KF6 extra.
name = "kplotting"
version = "6.27.0"
[source]
tarball = "https://download.kde.org/stable/frameworks/6.27/kplotting-6.27.0.tar.xz"
sha256 = "b2f8d7e720187ea8159653cb3c8caf0d03fb5f3d7ecef1b2b80ac0b2a77b4367"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "dynamic"
flags = []
[build.phases]
configure = '''
ZW="$PWD/.zwrap"; mkdir -p "$ZW"
cat > "$ZW/cc" <<'W'
#!/bin/sh
a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
exec /opt/zig/zig cc -mcpu=baseline $a
W
cat > "$ZW/cxx" <<'W'
#!/bin/sh
a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
exec /opt/zig/zig c++ -mcpu=baseline $a
W
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 -DCMAKE_PREFIX_PATH=/usr \
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \
-DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF
'''
compile = "cmake --build build"
install = "DESTDIR=/out cmake --install build"
[deps]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland"]