dev-qt/qtserialbus: add 6.10.2

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-01-28 07:43:28 -05:00
parent 796296ec8e
commit d37ecd6fc2
2 changed files with 39 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST qtserialbus-everywhere-src-6.10.1.tar.xz 535480 BLAKE2B 2a2fc446b03ddfa94d1b8a975bf3a7ccee9c11dac781c8da75a5cf1c4a81d07512e88e190eed00cdf4b5d0d4b061e67596429043131a3c2685c8a189d28defc1 SHA512 7727e8f3526893c9e4950d2f661df0e0993abe6926496e4a1ccfa12fa1a55cd8bf71dbc133b9f6756beafcd6b4e09a71d39de782c3fd47acf3a194020cd3ff75
DIST qtserialbus-everywhere-src-6.10.2.tar.xz 535424 BLAKE2B e0a768780dd5fc757cb00dd9b6881c0454c8301ca8206a4d7355569f925089ccd87d1644fda675ef2888bc870e617d6f0919c5820be2fdde84aa8344ea19b837 SHA512 3a44f1d012e5693eb76c50944d3ef81e50bef417dbc3f1eaa7ed12d46f89a61141fda0e13f11a9440b83f0d781a18ff2487890ca27e0d9a55d11748b4edb9a7a
@@ -0,0 +1,38 @@
# Copyright 2024-2026 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
}