# kstatusnotifieritem 6.27.0 — KDE Frameworks 6 (ADR 0011). System tray / StatusNotifierItem # (KStatusNotifierItem). La usan el applet de bandeja de plasma-workspace y muchas apps. CMakeLists: # Qt6 Widgets + DBus (USE_DBUS) + find_package(X11) (WITHOUT_X11 default OFF → X11 REQUERIDO) + # KF6WindowSystem (REQUIRED). Sin qtdeclarative. SET X11 completo (find_package(X11) transitivo). rm -rf po. name = "kstatusnotifieritem" version = "6.27.0" license = "LGPL-2.1-or-later OR LGPL-3.0-or-later" [source] tarball = "https://download.kde.org/stable/frameworks/6.27/kstatusnotifieritem-6.27.0.tar.xz" sha256 = "a2eec2a981ed9da6cffc955cc21a50dcbc77141cbb840d915f92d1897442d239" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "dynamic" flags = [] [build.phases] configure = ''' rm -rf po 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", "gettext-tiny", "kwindowsystem", "kconfig", "kcoreaddons", "libX11", "xorgproto", "libXau", "libXdmcp", "libXext", "libXrender", "libXfixes", "libXi", "libxcb"]