commit:     dede5565f3b9c9e9082398065107af8ca9f17821
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  2 04:40:46 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Apr  2 04:52:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dede5565

dev-qt/qtremoteobjects: add 6.9.0

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

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

diff --git a/dev-qt/qtremoteobjects/Manifest b/dev-qt/qtremoteobjects/Manifest
index 80c3fa1a5b58..efe043504e92 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.tar.xz 543528 BLAKE2B 
0a3341f3b2bb3024b09293ac350d7136b03921a640cc0628c5d028dd2eb1fb96f9a5015f3d0290bb84abbc9ddcd9a21ef7d56ae79d153c04008c94725e0ac24c
 SHA512 
b8abfc7b9c37a4777e2a567a6d1e00359f5c2ea165a1d97ca9f644b0612192534f28c140a62185ec410a5cc537d729e6af955034f2008739dbc6e9fbad1fec41

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