diff options
| author | Ionen Wolkens <ionen@gentoo.org> | 2025-11-20 07:07:35 -0500 |
|---|---|---|
| committer | Ionen Wolkens <ionen@gentoo.org> | 2025-11-20 07:51:54 -0500 |
| commit | 1ea6b13f00fe6eba1eb676e09079927b04d23412 (patch) | |
| tree | d5b35878deb73ad939983954e67249e3af8746c7 /dev-qt/qtremoteobjects/qtremoteobjects-6.10.1.ebuild | |
| parent | c0474459a3b8d214b8c464675b19bebdb256973f (diff) | |
| download | gentoo-1ea6b13f00fe6eba1eb676e09079927b04d23412.tar.gz gentoo-1ea6b13f00fe6eba1eb676e09079927b04d23412.tar.bz2 gentoo-1ea6b13f00fe6eba1eb676e09079927b04d23412.zip | |
dev-qt/qtremoteobjects: add 6.10.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtremoteobjects/qtremoteobjects-6.10.1.ebuild')
| -rw-r--r-- | dev-qt/qtremoteobjects/qtremoteobjects-6.10.1.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-qt/qtremoteobjects/qtremoteobjects-6.10.1.ebuild b/dev-qt/qtremoteobjects/qtremoteobjects-6.10.1.ebuild new file mode 100644 index 000000000000..5a992a36755d --- /dev/null +++ b/dev-qt/qtremoteobjects/qtremoteobjects-6.10.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qt6-build + +DESCRIPTION="Inter-Process Communication (IPC) library for the Qt6 framework" + +if [[ ${QT6_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64 ~loong" +fi + +IUSE="qml" + +RDEPEND=" + ~dev-qt/qtbase-${PV}:6[network] + qml? ( + ~dev-qt/qtbase-${PV}:6[gui] + ~dev-qt/qtdeclarative-${PV}:6 + ) +" +DEPEND=" + ${RDEPEND} + test? ( ~dev-qt/qtbase-${PV}:6[gui] ) +" + +src_configure() { + # same issue as bug #913692 when tests are enabled + has_version "=dev-qt/qtdeclarative-$(ver_cut 1-3)*:6" && + local mycmakeargs=( $(cmake_use_find_package qml Qt6Qml) ) + + qt6-build_src_configure +} + +src_test() { + local CMAKE_SKIP_TESTS=( + # rarely fails randomly even with -j1, not looked further into + tst_modelview + ) + + # tests re-use 127.0.0.1:65213 and randomly fail if ran at same time + qt6-build_src_test -j1 +} + +src_install() { + qt6-build_src_install + + if use test; then + # installs 30+ test binaries like "qt6/bin/state" and, given + # otherwise empty, "can" delete the directory rather than list + rm -r -- "${D}${QT6_BINDIR}" || die + fi +} |
