mtdev/libevdev canónicos usan AM_PATH_PYTHON (busca 'python', toolchain sólo tiene python3) → variantes incoming-kde con symlink python→python3. libinput 1.28.1 sella. qtpositioning +dbus (tool Qt carga libdbus). Cadena KNightTime (qtpositioning/kholidays/knighttime) + Vulkan (headers/loader) selladas. kwin desbloqueado. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
38 lines
1.7 KiB
TOML
38 lines
1.7 KiB
TOML
# qt6-qtpositioning 6.11.1 — módulo Qt Positioning (QtPositioning). Blocker de knighttime (Qt6::Positioning),
|
|
# que a su vez es blocker de kwin (find_package(KNightTime REQUIRED)). Campaña KDE (ADR 0011). Patrón Qt del
|
|
# gate H-Qt (dinámico, wrappers zig, Qt6 sellado vía PREFIX_PATH). qtserialport es OPCIONAL (no sellado, se
|
|
# omite → sólo desactiva backends serie de GPS). Quick/Qml opcionales via qtdeclarative.
|
|
name = "qt6-qtpositioning"
|
|
version = "6.11.1"
|
|
|
|
[source]
|
|
tarball = "https://download.qt.io/official_releases/qt/6.11/6.11.1/submodules/qtpositioning-everywhere-src-6.11.1.tar.xz"
|
|
sha256 = "d5e6b91801ae286e7630016caea3bdc5e1978b4291d6741d0d64c125650f78f5"
|
|
|
|
[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_INTERPROCEDURAL_OPTIMIZATION=OFF -DCMAKE_PREFIX_PATH=/usr \
|
|
-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_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF
|
|
'''
|
|
compile = "cmake --build build"
|
|
install = "DESTDIR=/out cmake --install build"
|
|
|
|
[deps]
|
|
build = ["cmake", "samurai", "python3", "pkgconf", "dbus", "qtbase", "qtdeclarative", "mesa", "libdrm", "libxkbcommon", "wayland"]
|