gioser

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

TOML 1389Shell 137Markdown 80Rust 802602 Definitions

⎇ main recipes/incoming-kde/layer-shell-qt.toml TOML · 51 lines · 2.1 KB History raw

licencias: 936 de 1141 (82%) — detección por evidencia, con sus dos imprecisiones declaradas a6a9d59e4 · sergio ·

1# layer-shell-qt 6.7.2 — integración wlr-layer-shell para Qt/QML. plasmashell la usa para dibujar
2# paneles/fondos como capas del compositor Wayland. Campaña KDE (ADR 0011), Capa Plasma (hacia plasmashell).
3# Patrón KF6 (dynamic, wrapper zig que filtra -Wl,--fatal-warnings, CMAKE_PREFIX_PATH=/usr) + Ninja.
4#
5# find_package REQUIRED del CMakeLists (raíz + src/, src/declarative/): TODOS cubiertos por el catálogo:
6#   ECM · Qt6 WaylandClient (qtwayland) + Qml (qtdeclarative) · Qt6WaylandClientPrivate (qtwayland, Qt>=6.10)
7#   WaylandScanner + Wayland Client/Server (wayland) · WaylandProtocols (wayland-protocols) · xkbcommon (libxkbcommon)
8# No usa ki18n (sin gettext). Sin bloqueadores.
9name    = "layer-shell-qt"
10version = "6.7.2"
11license = "LGPL-2.1-or-later OR LGPL-3.0-or-later"
12
13[source]
14tarball = "https://download.kde.org/stable/plasma/6.7.2/layer-shell-qt-6.7.2.tar.xz"
15sha256  = "392cd82742f109452f874d14f5d391a823c7b021bdc2446c0f474b3d1e77b129"
16
17[build]
18compiler = "zig-cc"
19target   = "x86_64-linux-musl"
20link     = "dynamic"
21flags    = []
22
23[build.phases]
24configure = '''
25ZW="$PWD/.zwrap"; mkdir -p "$ZW"
26cat > "$ZW/cc"  <<'W'
27#!/bin/sh
28a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
29exec /opt/zig/zig cc -mcpu=baseline $a
30W
31cat > "$ZW/cxx" <<'W'
32#!/bin/sh
33a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
34exec /opt/zig/zig c++ -mcpu=baseline $a
35W
36chmod +x "$ZW/cc" "$ZW/cxx"
37PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \
38cmake -B build -G Ninja -Wno-dev \
39  -DCMAKE_C_COMPILER="$ZW/cc" -DCMAKE_CXX_COMPILER="$ZW/cxx" -DCMAKE_ASM_COMPILER="$ZW/cc" \
40  -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/usr \
41  -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \
42  -DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF
43'''
44compile = "cmake --build build"
45install = "DESTDIR=/out cmake --install build"
46
47[deps]
48build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "qtdeclarative", "qtwayland",
49  "dbus", "extra-cmake-modules", "qttools",
50  "wayland", "wayland-protocols", "libxkbcommon",
51  "mesa", "libdrm"]