dev-qt/qtremoteobjects: add 6.9.0_rc

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-03-14 02:16:52 -04:00
parent 924a4548f1
commit 0be502f53a
2 changed files with 55 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST qtremoteobjects-everywhere-src-6.8.2.tar.xz 537584 BLAKE2B fe60e78f1104b886f85e677901c38374646114d2479c79aa9f4b36db712a22f0150560949bca37fd7d980c366f2b878c6998dd1e9bda4418f649c0b76a9d17e8 SHA512 69668b986a1a4eefb0f2fac3bb53b6cd44b808def7307eb83c30af879d36156b06ced71ccf7746b56f503c927b7aac82ae6526ffe5f186ef1caa3dead39b388c
DIST qtremoteobjects-everywhere-src-6.9.0-rc.tar.xz 543716 BLAKE2B f3ca46e624c7ba3bf8fe11e0c03a23bf4191d8a4b8f69e31933c70197170260cd223ad9a34487135595de312631e2e24e7162907b47ce80e0d93712e949dc870 SHA512 b3214be83f021480a36ff7955040d8978e85d7379e9e105bc56e2719141f5646d9d8515abea1d2f683f3546086ff67de8b7e32001b2aae08668fecc7cdbc7e9b

View File

@@ -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
}