mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-qt/qtserialbus: add 6.11.9999
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
8c8e3d3941
commit
8dc5ae636e
38
dev-qt/qtserialbus/qtserialbus-6.11.9999.ebuild
Normal file
38
dev-qt/qtserialbus/qtserialbus-6.11.9999.ebuild
Normal 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
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user