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…
⎇ 5e4dd7ab9d9fe9dbddb0e532e85260b81f12d1f0
recipes/incoming-kde/frameworkintegration.toml
Historia
crudo
kde/Plasma: frameworkintegration +kpackage+kdeclarative (KF6Package)
1# frameworkintegration 6.27.0 — integración de KF6 con la plataforma (provee KF6::Style = KStyle, base del
2# QStyle de breeze) + KNotifications backend. Patrón KF6 (dynamic, wrapper zig). Lo exige breeze.
3name = "frameworkintegration"
4version = "6.27.0"
5[source]
6tarball = "https://download.kde.org/stable/frameworks/6.27/frameworkintegration-6.27.0.tar.xz"
7sha256 = "55eefe8ebc67a040e64c75482276c29a69d0c5877b7b3674f4c7a40238c6d44c"
8[build]
9compiler = "zig-cc"
10target = "x86_64-linux-musl"
11link = "dynamic"
12flags = []
13[build.phases]
14configure = '''
15rm -rf po
16ZW="$PWD/.zwrap"; mkdir -p "$ZW"
17cat > "$ZW/cc" <<'W'
18#!/bin/sh
19a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
20exec /opt/zig/zig cc -mcpu=baseline $a
21W
22cat > "$ZW/cxx" <<'W'
23#!/bin/sh
24a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
25exec /opt/zig/zig c++ -mcpu=baseline $a
26W
27chmod +x "$ZW/cc" "$ZW/cxx"
28cmake -B build -G Ninja -Wno-dev \
29 -DCMAKE_C_COMPILER="$ZW/cc" -DCMAKE_CXX_COMPILER="$ZW/cxx" -DCMAKE_ASM_COMPILER="$ZW/cc" \
30 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/usr \
31 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \
32 -DBUILD_TESTING=OFF -DBUILD_PYTHON_BINDINGS=OFF
33'''
34compile = "cmake --build build"
35install = "DESTDIR=/out cmake --install build"
36[deps]
37build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "qtdeclarative", "extra-cmake-modules",
38 "gettext-tiny", "dbus",
39 "kconfig", "kconfigwidgets", "ki18n", "kiconthemes", "kio", "knotifications", "kguiaddons",
40 "kwidgetsaddons", "kcoreaddons", "kcodecs", "kcolorscheme", "kcompletion", "kitemviews",
41 "kwindowsystem", "kservice", "kjobwidgets", "kbookmarks", "solid", "sonnet", "attica", "karchive",
42 "kdbusaddons", "kcrash", "kdnssd", "kwallet", "kxmlgui", "kparts", "knewstuff", "kpackage", "kdeclarative",
43 "libgcrypt", "libgpg-error", "openssl", "util-linux", "zlib", "zstd",
44 "libX11", "xorgproto", "libXau", "libXdmcp", "libxcb", "libxkbcommon", "wayland",
45 "mesa", "libdrm", "fontconfig", "freetype"]