diff --git a/recipes/incoming-kde/breeze.toml b/recipes/incoming-kde/breeze.toml new file mode 100644 index 00000000..de53c4c7 --- /dev/null +++ b/recipes/incoming-kde/breeze.toml @@ -0,0 +1,48 @@ +# breeze 6.7.2 — tema por defecto de KDE Plasma: QStyle de widgets (KStyle←frameworkintegration), decoración +# de ventanas (plugin kdecoration), tema Plasma, tema de cursores. Sin él el escritorio se ve roto. Patrón KF6 +# (dynamic, wrapper zig). Wayland-puro: sin dep X11-session pesada. -DWITH_WALLPAPERS=OFF (opcional, pesado). +name = "breeze" +version = "6.7.2" +[source] +tarball = "https://download.kde.org/stable/plasma/6.7.2/breeze-6.7.2.tar.xz" +sha256 = "80818bf6382a96e1a45c755f983d98357c4f7163f80cb8217897df15f8a02785" +[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", "qtsvg", "extra-cmake-modules", + "gettext-tiny", "dbus", + "frameworkintegration", "kdecoration", "libplasma", "kirigami", + "kcmutils", "kconfig", "kconfigwidgets", "kcoreaddons", "kguiaddons", "ki18n", "kiconthemes", + "kwindowsystem", "kcolorscheme", "kwidgetsaddons", "kcodecs", "kcompletion", "kitemviews", + "kservice", "kio", "kpackage", "kdeclarative", "knotifications", "kjobwidgets", "kbookmarks", + "solid", "sonnet", "attica", "karchive", "kdbusaddons", "kcrash", "kdnssd", "kwallet", "kxmlgui", + "kparts", "kglobalaccel", "kwayland", "plasma-activities", + "libgcrypt", "libgpg-error", "openssl", "util-linux", "zlib", "zstd", + "libX11", "xorgproto", "libXau", "libXdmcp", "libxcb", "libxkbcommon", "wayland", + "mesa", "libdrm", "fontconfig", "freetype"] diff --git a/recipes/incoming-kde/frameworkintegration.toml b/recipes/incoming-kde/frameworkintegration.toml new file mode 100644 index 00000000..cba5f3db --- /dev/null +++ b/recipes/incoming-kde/frameworkintegration.toml @@ -0,0 +1,45 @@ +# 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" +[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", + "libgcrypt", "libgpg-error", "openssl", "util-linux", "zlib", "zstd", + "libX11", "xorgproto", "libXau", "libXdmcp", "libxcb", "libxkbcommon", "wayland", + "mesa", "libdrm", "fontconfig", "freetype"]