From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6AEA915802D for ; Sun, 15 Dec 2024 20:18:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DC81E0AAB; Sun, 15 Dec 2024 20:18:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D2BCE0AAB for ; Sun, 15 Dec 2024 20:18:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C0315342FB5 for ; Sun, 15 Dec 2024 20:18:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 315A31F9A for ; Sun, 15 Dec 2024 20:18:46 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1734293853.f730c42793ae616ff453bcde1a3e246471008cc6.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtremoteobjects/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-qt/qtremoteobjects/qtremoteobjects-6.9.9999.ebuild X-VCS-Directories: dev-qt/qtremoteobjects/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: f730c42793ae616ff453bcde1a3e246471008cc6 X-VCS-Branch: master Date: Sun, 15 Dec 2024 20:18:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8fd83411-4d9a-479a-ae00-acd48a7cb5a1 X-Archives-Hash: 3028de5e1dc058e87193b577dccfc032 commit: f730c42793ae616ff453bcde1a3e246471008cc6 Author: Ionen Wolkens gentoo org> AuthorDate: Sun Dec 15 06:43:10 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Dec 15 20:17:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f730c427 dev-qt/qtremoteobjects: add 6.9.9999 Signed-off-by: Ionen Wolkens gentoo.org> .../qtremoteobjects-6.9.9999.ebuild | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/dev-qt/qtremoteobjects/qtremoteobjects-6.9.9999.ebuild b/dev-qt/qtremoteobjects/qtremoteobjects-6.9.9999.ebuild new file mode 100644 index 000000000000..62948acc2c91 --- /dev/null +++ b/dev-qt/qtremoteobjects/qtremoteobjects-6.9.9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 2024 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" +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 +}