commit:     3066d8f23ffc8d4865ebc00901b22659ffd255e5
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 23 04:37:47 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Sep 23 04:43:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3066d8f2

dev-qt/qtremoteobjects: add 6.10.0_rc

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-qt/qtremoteobjects/Manifest                    |  1 +
 .../qtremoteobjects-6.10.0_rc.ebuild               | 54 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-qt/qtremoteobjects/Manifest b/dev-qt/qtremoteobjects/Manifest
index b74df704701d..9a3ed5664879 100644
--- a/dev-qt/qtremoteobjects/Manifest
+++ b/dev-qt/qtremoteobjects/Manifest
@@ -1,2 +1,3 @@
+DIST qtremoteobjects-everywhere-src-6.10.0-rc.tar.xz 529092 BLAKE2B 
582b0a02c20ee557f86106e255f6973fd593dc97f444dbba1ebad5f88b1d098b7519f9813462616fc687eebf2d915b34ff374249ef25eace44af2c664eb030b1
 SHA512 
0eea7c88e693433fb23082be20279f552dc68588129111774aa23a985a4da6e17276af798cc77cba8986d1643288dee634b3a898b7379fea1d2cf26da46e6c06
 DIST qtremoteobjects-everywhere-src-6.9.1.tar.xz 543600 BLAKE2B 
0ad818778c4b8a537a67bc3e5cc88918cc17636801287dfd515e8b8e46cb1b9d07d8d0918d950bcf9791d2e3c6a1abb2f828ab4cc52b0dbf7def8adc94d1d82f
 SHA512 
252497afb67941ad16cac84af4e302ce859ab7f28550ee0991a3ddcfe3e9731468b33f4f64ffc61b7aa24f9980bdb8ea8c788c6523bdc6d03c6c37a0dd8362ab
 DIST qtremoteobjects-everywhere-src-6.9.2.tar.xz 528608 BLAKE2B 
26ea9f2a496cd4278db56d570ef4e2c8272051e838f3bdcf191274b091d3ff8b637d41975789eda3152b9bf14cc0fee434fdbc21497ec339dca5cd74be4ba66d
 SHA512 
bdc79b2ab7dc8971c856f0b0332a3d4c0a4ecf047b25516377150a4b237eec32e22c3a21a07d2ce453ec2f8c6ee9a5f6ce075d3d506c834998e6f72d8a625c74

diff --git a/dev-qt/qtremoteobjects/qtremoteobjects-6.10.0_rc.ebuild 
b/dev-qt/qtremoteobjects/qtremoteobjects-6.10.0_rc.ebuild
new file mode 100644
index 000000000000..5a992a36755d
--- /dev/null
+++ b/dev-qt/qtremoteobjects/qtremoteobjects-6.10.0_rc.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
+}

Reply via email to