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 Definitions

⎇ 346cd597063c3275933d8a2dc03f17ca8a20d05a recipes/incoming-kde/knotifications.toml TOML · 46 lines · 2.0 KB History raw

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

1# knotifications 6.27.0 — KDE Frameworks 6 (Capa 2 tier-2, ADR 0011). Patrón KF6: dynamic, wrapper zig que
2# filtra -Wl,--fatal-warnings (ECM lo agrega, zig lo rechaza), CMAKE_PREFIX_PATH=/usr, ECM + qttools + dbus.
3# Qt6Gui/Qml ⇒ qtdeclarative. Deps KF6: kconfig, kcoreaddons, kguiaddons.
4# Canberra (backend de sonido) DESBLOQUEADO con patch: knotifications hace find_package(Canberra REQUIRED)
5# incondicional en Linux (sin flag WITHOUT_SOUND), pero el código ya guarda -DHAVE_CANBERRA ⇒ el patch
6# quita el REQUIRED y compila sin audio (libcanberra = stack alsa/pulse/vorbis, deuda audio diferida).
7name    = "knotifications"
8version = "6.27.0"
9license = "LGPL-2.1-or-later OR LGPL-3.0-or-later"
10
11[source]
12tarball = "https://download.kde.org/stable/frameworks/6.27/knotifications-6.27.0.tar.xz"
13sha256  = "eeb067fab001dd24735ad56e8ec4808fca76e5ecdf003cf614246c9abe1c3e19"
14patches = ["knotifications-canberra-optional.patch"]
15
16[build]
17compiler = "zig-cc"
18target   = "x86_64-linux-musl"
19link     = "dynamic"
20flags    = []
21
22[build.phases]
23configure = '''
24ZW="$PWD/.zwrap"; mkdir -p "$ZW"
25cat > "$ZW/cc"  <<'W'
26#!/bin/sh
27a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
28exec /opt/zig/zig cc -mcpu=baseline $a
29W
30cat > "$ZW/cxx" <<'W'
31#!/bin/sh
32a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
33exec /opt/zig/zig c++ -mcpu=baseline $a
34W
35chmod +x "$ZW/cc" "$ZW/cxx"
36cmake -B build -G Ninja -Wno-dev \
37  -DCMAKE_C_COMPILER="$ZW/cc" -DCMAKE_CXX_COMPILER="$ZW/cxx" -DCMAKE_ASM_COMPILER="$ZW/cc" \
38  -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/usr \
39  -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \
40  -DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF
41'''
42compile = "cmake --build build"
43install = "DESTDIR=/out cmake --install build"
44
45[deps]
46build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools", "mesa", "libdrm", "libxkbcommon", "wayland", "qtdeclarative", "kconfig", "kcoreaddons", "kguiaddons"]