dev-qt/qtserialbus: add 6.9.2

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-08-26 06:10:06 -04:00
parent 70fc8ebd71
commit b2bebc5098
2 changed files with 39 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST qtserialbus-everywhere-src-6.9.1.tar.xz 550652 BLAKE2B ea6c638e4e4334b524a1082fb4fe83698127745a16711dffc8a2aa066597401959de0dcdf7a6a46699b106734528c0ddc8bb1cb106b56c9798feffa952b8f13f SHA512 b99c2c64285c7f5f3bb7dc2128a2bac2dd3a8c50b32574377865fe8ddf0e91bf4dbbae813c1414a6bf0db57d01dd6ccc8f064bc896e382137de1821e31f1cfa4
DIST qtserialbus-everywhere-src-6.9.2.tar.xz 535216 BLAKE2B 631f7b9da77af9f00288531bc8e90a935dcf9fad14f2d90b3df283d9d3a8e62731477c020d1f0611803bf5df3f2208b61c40baf170e46b1f68a735f3ed1bc5ae SHA512 8dd814c2f755318492c15adb2fb03012028e5ae870eebe405b0d8ea71796dc43793223e4e37d6479fe49c9e30b03daff0f89e4f69f806669f1f54c03c9e11e45

View File

@@ -0,0 +1,38 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Qt module to access CAN, ModBus, and other industrial serial buses and protocols"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~x86"
fi
RDEPEND="
~dev-qt/qtbase-${PV}:6[network]
~dev-qt/qtserialport-${PV}:6
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# rarely fails randomly (perhaps related to -j)
tst_qcandbcfileparser
)
src_install() {
qt6-build_src_install
if use test; then
local delete=( # sigh
"${D}${QT6_LIBDIR}"/cmake/Qt6SerialBus/*TestCanBusPlugin*.cmake
"${D}${QT6_MKSPECSDIR}"/modules/qt_plugin_qttestcanbus.pri
"${D}${QT6_PLUGINDIR}"/canbus/libqttestcanbus.*
"${D}${QT6_PLUGINDIR}"/canbus/objects-*/
)
# using -f given not tracking which tests may be skipped or not
rm -rf -- "${delete[@]}" || die
fi
}