kde/Plasma: kquickcharts 6.27 (org.kde.quickcharts) — el applet de notificaciones lo importa

This commit is contained in:
2026-07-14 06:30:34 -04:00
parent 5b316f63a9
commit 54e07d0593
+41
View File
@@ -0,0 +1,41 @@
# kquickcharts 6.27.0 — módulo QML de gráficos (org.kde.quickcharts). El applet de notificaciones lo
# IMPORTA. Patrón KF6 (dynamic, wrapper zig, ECM). Usa Qt6Quick/Qml/Gui (shaders).
name = "kquickcharts"
version = "6.27.0"
[source]
tarball = "https://download.kde.org/stable/frameworks/6.27/kquickcharts-6.27.0.tar.xz"
sha256 = "d2a533bbf3d7f257e9306009bc32bdea41346cbd8e82d06c188879d5f0460380"
[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
'''
compile = "cmake --build build"
install = "DESTDIR=/out cmake --install build"
[deps]
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools",
"gettext-tiny", "mesa", "libdrm", "libxkbcommon", "wayland", "qtdeclarative", "qtshadertools",
"ki18n", "kcoreaddons"]