diff options
| author | Ionen Wolkens <ionen@gentoo.org> | 2025-01-31 02:52:22 -0500 |
|---|---|---|
| committer | Ionen Wolkens <ionen@gentoo.org> | 2025-01-31 03:19:51 -0500 |
| commit | 1c0ca5819c36943b4812a6a74b34bd3bbcf23b02 (patch) | |
| tree | 0aa75612122b903bd03248a7772768c334f29847 /dev-qt/qtremoteobjects | |
| parent | 6bf7f381e7cb96020160056d52068f7e4178ee72 (diff) | |
| download | gentoo-1c0ca5819c36943b4812a6a74b34bd3bbcf23b02.tar.gz gentoo-1c0ca5819c36943b4812a6a74b34bd3bbcf23b02.tar.bz2 gentoo-1c0ca5819c36943b4812a6a74b34bd3bbcf23b02.zip | |
dev-qt/qtremoteobjects: add 6.8.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtremoteobjects')
| -rw-r--r-- | dev-qt/qtremoteobjects/Manifest | 1 | ||||
| -rw-r--r-- | dev-qt/qtremoteobjects/qtremoteobjects-6.8.2.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-qt/qtremoteobjects/Manifest b/dev-qt/qtremoteobjects/Manifest index f38449fdb605..1d99cab35105 100644 --- a/dev-qt/qtremoteobjects/Manifest +++ b/dev-qt/qtremoteobjects/Manifest @@ -1 +1,2 @@ DIST qtremoteobjects-everywhere-src-6.8.1.tar.xz 537132 BLAKE2B b00cc0fd193c7b2638ed5ac2b91cdb6cc23cd8ff0b49ec55ef44cbd8633b0a62107e7ba69e6f2e5a0003d62138e8a88511483d2cfbd5616afc3fd8f5aff409b2 SHA512 30660149a59b8c7630fcafaf6d735b6ed0dc950c2658e7547c63c73f73468e5cbb4c3490a8849fabf9b021393b9c745ec339e7db909184711f05f3d30ab794cf +DIST qtremoteobjects-everywhere-src-6.8.2.tar.xz 537584 BLAKE2B fe60e78f1104b886f85e677901c38374646114d2479c79aa9f4b36db712a22f0150560949bca37fd7d980c366f2b878c6998dd1e9bda4418f649c0b76a9d17e8 SHA512 69668b986a1a4eefb0f2fac3bb53b6cd44b808def7307eb83c30af879d36156b06ced71ccf7746b56f503c927b7aac82ae6526ffe5f186ef1caa3dead39b388c diff --git a/dev-qt/qtremoteobjects/qtremoteobjects-6.8.2.ebuild b/dev-qt/qtremoteobjects/qtremoteobjects-6.8.2.ebuild new file mode 100644 index 000000000000..5a992a36755d --- /dev/null +++ b/dev-qt/qtremoteobjects/qtremoteobjects-6.8.2.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 +} |
