# frameworkintegration 6.27.0 — integración de KF6 con la plataforma (provee KF6::Style = KStyle, base del # QStyle de breeze) + KNotifications backend. Patrón KF6 (dynamic, wrapper zig). Lo exige breeze. name = "frameworkintegration" version = "6.27.0" license = "LGPL-2.1-or-later OR LGPL-3.0-or-later" [source] tarball = "https://download.kde.org/stable/frameworks/6.27/frameworkintegration-6.27.0.tar.xz" sha256 = "55eefe8ebc67a040e64c75482276c29a69d0c5877b7b3674f4c7a40238c6d44c" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "dynamic" flags = [] [build.phases] configure = ''' rm -rf po 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" 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", "extra-cmake-modules", "gettext-tiny", "dbus", "kconfig", "kconfigwidgets", "ki18n", "kiconthemes", "kio", "knotifications", "kguiaddons", "kwidgetsaddons", "kcoreaddons", "kcodecs", "kcolorscheme", "kcompletion", "kitemviews", "kwindowsystem", "kservice", "kjobwidgets", "kbookmarks", "solid", "sonnet", "attica", "karchive", "kdbusaddons", "kcrash", "kdnssd", "kwallet", "kxmlgui", "kparts", "knewstuff", "kpackage", "kdeclarative", "libgcrypt", "libgpg-error", "openssl", "util-linux", "zlib", "zstd", "libX11", "xorgproto", "libXau", "libXdmcp", "libxcb", "libxkbcommon", "wayland", "mesa", "libdrm", "fontconfig", "freetype"]