# layer-shell-qt 6.7.2 — integración wlr-layer-shell para Qt/QML. plasmashell la usa para dibujar # paneles/fondos como capas del compositor Wayland. Campaña KDE (ADR 0011), Capa Plasma (hacia plasmashell). # Patrón KF6 (dynamic, wrapper zig que filtra -Wl,--fatal-warnings, CMAKE_PREFIX_PATH=/usr) + Ninja. # # find_package REQUIRED del CMakeLists (raíz + src/, src/declarative/): TODOS cubiertos por el catálogo: # ECM · Qt6 WaylandClient (qtwayland) + Qml (qtdeclarative) · Qt6WaylandClientPrivate (qtwayland, Qt>=6.10) # WaylandScanner + Wayland Client/Server (wayland) · WaylandProtocols (wayland-protocols) · xkbcommon (libxkbcommon) # No usa ki18n (sin gettext). Sin bloqueadores. name = "layer-shell-qt" version = "6.7.2" license = "LGPL-2.1-or-later OR LGPL-3.0-or-later" [source] tarball = "https://download.kde.org/stable/plasma/6.7.2/layer-shell-qt-6.7.2.tar.xz" sha256 = "392cd82742f109452f874d14f5d391a823c7b021bdc2446c0f474b3d1e77b129" [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" PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \ 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", "qtdeclarative", "qtwayland", "dbus", "extra-cmake-modules", "qttools", "wayland", "wayland-protocols", "libxkbcommon", "mesa", "libdrm"]