mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-06 10:53:21 +00:00
fc645428eb8d2193bb7b26b027e644ed313960f9
opt/qt6/cross QT_HOST_PATH to cross-compilations of revdeps, not on-device builds
- Fixes https://github.com/termux/termux-packages/issues/24975
Fixes the build in `TERMUX_ON_DEVICE_BUILD=true` mode of reverse dependencies of qt6 like `tageditor`,
where `CMAKE_HOST_SYSTEM_NAME` is "`Android`" and the path `$TERMUX_PREFIX/opt/qt6/cross` should never be
used because it contains GNU/Linux binaries that are sent there by the automatic installation
of `qt6-*-cross-tools packages` during `termux_step_get_dependencies()` by `scripts/buildorder.py`
installing the `qt6-*-cross-tools` subpackages of `qt6-*` packages during the builds of reverse dependencies
of qt6,
da3717f439/scripts/buildorder.py (L159)
without breaking the builds of anything in `TERMUX_ON_DEVICE_BUILD=false` mode,
where `CMAKE_HOST_SYSTEM_NAME` is "`Linux`" so the paths set by
"`-DQT_HOST_PATH=${TERMUX_PREFIX}/opt/qt6/cross`" in `TERMUX_PKG_EXTRA_CONFIGURE_ARGS` of `qt6-qtbase`
are used here instead.
The patch `do-not-use-cross-tools-paths-ondevice-for-reverse-deps.patch` fixes only the `moc: 1: ELF: not found` part of the error message,
and the changes to the use of `-DQt6LinguistTools_DIR` fix the `lupdate: 1: Syntax error: word unexpected (expecting ")")` part of the error message.
…
Termux packages for pacman - official git repo mirror
Code for connecting repository:
main:
[main]
Server = https://service.termux-pacman.dev/main/$arch
x11:
[x11]
Server = https://service.termux-pacman.dev/x11/$arch
root:
[root]
Server = https://service.termux-pacman.dev/root/$arch
Other information:
- Android support: 7+
- Architecture support: all (aarch64, arm, x86_64, i686)
- Signature: termux-pacman organization gpg key
- Powered by aws
- Root repository: https://github.com/termux/termux-packages
- Organization maintaining the root repository: termux
Description
Languages
Shell
79.7%
C
13.2%
C++
2.7%
CMake
1.1%
Python
0.8%
Other
2.3%