diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-06-04 04:16:51 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-06-04 15:30:46 -0400 |
commit | 619f2f7155b8a0ef9cc3ee4f7c89926effdcfb1f (patch) | |
tree | 745f0f0f1c47f0d0940d12a490c68b9cb7140083 /dev-qt | |
parent | dev-qt/qtsensors: add 6.8.9999 (diff) | |
download | gentoo-619f2f7155b8a0ef9cc3ee4f7c89926effdcfb1f.tar.gz gentoo-619f2f7155b8a0ef9cc3ee4f7c89926effdcfb1f.tar.bz2 gentoo-619f2f7155b8a0ef9cc3ee4f7c89926effdcfb1f.zip |
dev-qt/qtserialbus: add 6.8.9999
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r-- | dev-qt/qtserialbus/qtserialbus-6.8.9999.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-qt/qtserialbus/qtserialbus-6.8.9999.ebuild b/dev-qt/qtserialbus/qtserialbus-6.8.9999.ebuild new file mode 100644 index 000000000000..7f316fa23bbc --- /dev/null +++ b/dev-qt/qtserialbus/qtserialbus-6.8.9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 2024 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 +} |