diff options
| -rw-r--r-- | dev-qt/qtremoteobjects/Manifest | 1 | ||||
| -rw-r--r-- | dev-qt/qtremoteobjects/qtremoteobjects-6.8.3.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-qt/qtremoteobjects/Manifest b/dev-qt/qtremoteobjects/Manifest index 150ce5e6f4a4..91802690e6d6 100644 --- a/dev-qt/qtremoteobjects/Manifest +++ b/dev-qt/qtremoteobjects/Manifest @@ -1,2 +1,3 @@ DIST qtremoteobjects-everywhere-src-6.8.2.tar.xz 537584 BLAKE2B fe60e78f1104b886f85e677901c38374646114d2479c79aa9f4b36db712a22f0150560949bca37fd7d980c366f2b878c6998dd1e9bda4418f649c0b76a9d17e8 SHA512 69668b986a1a4eefb0f2fac3bb53b6cd44b808def7307eb83c30af879d36156b06ced71ccf7746b56f503c927b7aac82ae6526ffe5f186ef1caa3dead39b388c +DIST qtremoteobjects-everywhere-src-6.8.3.tar.xz 539556 BLAKE2B 79538d09dc5570c856bb32235415b32e5e796f131c5dbb67b1a408d6f3eedb6589a4d57c8aac22a1de3f099a2d7812b5ed58f33e67c39d78dadfc47fa195d380 SHA512 5845afc5ea4894fa788ce07a89348bd5027c0cceca65dce99a6bf437b396c71f25e8e7374401c8d10fd88be2303766c6df29b62e826f4d5ba38971a042dd7b06 DIST qtremoteobjects-everywhere-src-6.9.0-rc.tar.xz 543716 BLAKE2B f3ca46e624c7ba3bf8fe11e0c03a23bf4191d8a4b8f69e31933c70197170260cd223ad9a34487135595de312631e2e24e7162907b47ce80e0d93712e949dc870 SHA512 b3214be83f021480a36ff7955040d8978e85d7379e9e105bc56e2719141f5646d9d8515abea1d2f683f3546086ff67de8b7e32001b2aae08668fecc7cdbc7e9b diff --git a/dev-qt/qtremoteobjects/qtremoteobjects-6.8.3.ebuild b/dev-qt/qtremoteobjects/qtremoteobjects-6.8.3.ebuild new file mode 100644 index 000000000000..5a992a36755d --- /dev/null +++ b/dev-qt/qtremoteobjects/qtremoteobjects-6.8.3.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 +} |
