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 1572Shell 203Rust 109Markdown 993728 Definiciones

⎇ 346cd597063c3275933d8a2dc03f17ca8a20d05a recipes/incoming-kde/kwayland.toml TOML · 42 líneas · 1.7 KB Historia crudo

licencias: campo `license` en la receta — de 0 a 228 de 1141, sin re-hashear nada 346cd5970 · sergio ·

1# kwayland 6.7.2 — framework Plasma de integración Wayland cliente (QtWayland wrappers). kwin lo exige
2# (KWayland REQUIRED, plugin de plataforma wayland). Capa Plasma (ADR 0011). Necesita Qt6WaylandClient
3# Private ⇒ qtwayland (sellado) + wayland + wayland-protocols. Patrón KF6 (wrapper zig filtra --fatal-warnings).
4name    = "kwayland"
5version = "6.7.2"
6license = "LGPL-2.1-or-later OR LGPL-3.0-or-later"
7
8[source]
9tarball = "https://download.kde.org/stable/plasma/6.7.2/kwayland-6.7.2.tar.xz"
10sha256  = "3d3ca745d4f7a53be8b331fccde825d9cc54a8761d7a33318f4fb2d602b857f4"
11
12[build]
13compiler = "zig-cc"
14target   = "x86_64-linux-musl"
15link     = "dynamic"
16flags    = []
17
18[build.phases]
19configure = '''
20ZW="$PWD/.zwrap"; mkdir -p "$ZW"
21cat > "$ZW/cc"  <<'W'
22#!/bin/sh
23a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
24exec /opt/zig/zig cc -mcpu=baseline $a
25W
26cat > "$ZW/cxx" <<'W'
27#!/bin/sh
28a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
29exec /opt/zig/zig c++ -mcpu=baseline $a
30W
31chmod +x "$ZW/cc" "$ZW/cxx"
32cmake -B build -G Ninja -Wno-dev \
33  -DCMAKE_C_COMPILER="$ZW/cc" -DCMAKE_CXX_COMPILER="$ZW/cxx" -DCMAKE_ASM_COMPILER="$ZW/cc" \
34  -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/usr \
35  -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \
36  -DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF
37'''
38compile = "cmake --build build"
39install = "DESTDIR=/out cmake --install build"
40
41[deps]
42build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "qtwayland", "mesa", "libdrm", "libxkbcommon", "wayland", "wayland-protocols", "plasma-wayland-protocols"]