kde/Plasma: receta qqc2-desktop-style 6.27.0 (estilo QtQuick Controls del escritorio)
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# qqc2-desktop-style 6.27.0 — estilo de QtQuick Controls 2 para escritorio (las UIs QML de Plasma lo usan para
|
||||
# verse nativas, integrado con KStyle/breeze). Patrón KF6 (dynamic, wrapper zig). Lo usa el escritorio en runtime.
|
||||
name = "qqc2-desktop-style"
|
||||
version = "6.27.0"
|
||||
[source]
|
||||
tarball = "https://download.kde.org/stable/frameworks/6.27/qqc2-desktop-style-6.27.0.tar.xz"
|
||||
sha256 = "6c005f06c5f8c4ac349238abf14999bb917215a8f7b8c51364e2fdd12e9e6355"
|
||||
[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", "kirigami",
|
||||
"kconfig", "kconfigwidgets", "kiconthemes", "kcolorscheme", "kcoreaddons", "kguiaddons", "ki18n",
|
||||
"kwidgetsaddons", "kcodecs", "kcompletion", "kitemviews", "kwindowsystem", "sonnet", "karchive",
|
||||
"kservice", "kio", "kjobwidgets", "kbookmarks", "solid", "attica", "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"]
|
||||
Reference in New Issue
Block a user