kde/Capa2: qttools (LinguistTools) + dbus a qtdeclarative + qttools a kcoreaddons
Tras qtbase-con-Qt6DBus (e2d517cc ✓): qtdeclarative necesita dbus en deps (sus tools cargan libQt6DBus→libdbus, dbus_message_set_sender not found). kcoreaddons pide Qt6LinguistTools (ECMPoQmTools, traducciones) → receta qttools minimal (qdoc/clang/designer OFF, solo lrelease/lupdate). Dep por stem de archivo (qttools). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -32,4 +32,4 @@ compile = "cmake --build build"
|
||||
install = "DESTDIR=/out cmake --install build"
|
||||
|
||||
[deps]
|
||||
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "extra-cmake-modules", "util-linux"]
|
||||
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "extra-cmake-modules", "util-linux", "qttools"]
|
||||
|
||||
@@ -37,4 +37,4 @@ compile = "cmake --build build"
|
||||
install = "DESTDIR=/out cmake --install build"
|
||||
|
||||
[deps]
|
||||
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "mesa", "libdrm", "libxkbcommon", "wayland", "qtshadertools", "qtsvg", "qtlanguageserver"]
|
||||
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "mesa", "libdrm", "libxkbcommon", "wayland", "dbus", "qtshadertools", "qtsvg", "qtlanguageserver"]
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
# qt6-qttools 6.11.1 — herramientas Qt. Campaña KDE (ADR 0011), Capa 1. Se necesita SOLO por
|
||||
# Qt6LinguistTools (lrelease/lupdate/lconvert) que casi todo KF6 pide vía ECMPoQmTools para compilar
|
||||
# traducciones .po→.qm. MINIMAL: qdoc/clang OFF (evita LLVM), designer/assistant OFF. Patrón módulo Qt
|
||||
# + set Gui (linguist linkea Widgets) + dbus (tools cargan Qt6DBus).
|
||||
name = "qt6-qttools"
|
||||
version = "6.11.1"
|
||||
|
||||
[source]
|
||||
tarball = "https://download.qt.io/official_releases/qt/6.11/6.11.1/submodules/qttools-everywhere-src-6.11.1.tar.xz"
|
||||
sha256 = "8e61835a679c93fa9c6065b142353c2071ba68e297898937c32a03777fcaf50d"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "dynamic"
|
||||
flags = []
|
||||
|
||||
[build.phases]
|
||||
configure = '''
|
||||
ZW="$PWD/.zwrap"; mkdir -p "$ZW"
|
||||
printf '#!/bin/sh\nexec /opt/zig/zig cc -mcpu=baseline "$@"\n' > "$ZW/cc"
|
||||
printf '#!/bin/sh\nexec /opt/zig/zig c++ -mcpu=baseline "$@"\n' > "$ZW/cxx"
|
||||
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 \
|
||||
-DINSTALL_BINDIR=lib/qt6/bin -DINSTALL_PUBLICBINDIR=bin -DINSTALL_LIBEXECDIR=lib/qt6/libexec \
|
||||
-DINSTALL_ARCHDATADIR=lib/qt6 -DINSTALL_DATADIR=share/qt6 -DINSTALL_INCLUDEDIR=include/qt6 \
|
||||
-DINSTALL_MKSPECSDIR=lib/qt6/mkspecs \
|
||||
-DQT_FEATURE_qdoc=OFF -DQT_FEATURE_clang=OFF -DQT_FEATURE_clangcpp=OFF \
|
||||
-DQT_FEATURE_designer=OFF -DQT_FEATURE_assistant=OFF -DQT_FEATURE_qtattributionsscanner=OFF \
|
||||
-DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF
|
||||
'''
|
||||
compile = "cmake --build build"
|
||||
install = "DESTDIR=/out cmake --install build"
|
||||
|
||||
[deps]
|
||||
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "mesa", "libdrm", "libxkbcommon", "wayland"]
|
||||
Reference in New Issue
Block a user