diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-09-24 05:23:10 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-09-24 05:56:40 -0400 |
commit | 22b4f17499b2938b687b16b678ca7c79917373a6 (patch) | |
tree | 7bea5760e9db45547526ce498b1cc3f2d58d8013 /dev-qt | |
parent | dev-qt/qtsensors: add 6.8.0_rc (diff) | |
download | gentoo-22b4f17499b2938b687b16b678ca7c79917373a6.tar.gz gentoo-22b4f17499b2938b687b16b678ca7c79917373a6.tar.bz2 gentoo-22b4f17499b2938b687b16b678ca7c79917373a6.zip |
dev-qt/qtserialbus: add 6.8.0_rc
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r-- | dev-qt/qtserialbus/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qtserialbus/qtserialbus-6.8.0_rc.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-qt/qtserialbus/Manifest b/dev-qt/qtserialbus/Manifest index 17eb43ff0ad9..4078f46c0725 100644 --- a/dev-qt/qtserialbus/Manifest +++ b/dev-qt/qtserialbus/Manifest @@ -1,2 +1,3 @@ DIST qtserialbus-everywhere-opensource-src-5.15.14.tar.xz 350748 BLAKE2B 88571e730c6a81d8db8be02550b0abc1f72bf8c40a5f0616cf879f17043b775f992d19d1b2429acfa0cf86634f9430d7b16f812e9b436f7f1403059298274057 SHA512 ac30e163fd2ef7a3d6dbb8f8f3cac06d68f915d29c87d1d49be541c38c3dd09873d89525508062b7cf6dc17d750167e0cc13bb48718f2a42b80b2e7f04e7633d DIST qtserialbus-everywhere-src-6.7.2.tar.xz 547596 BLAKE2B de990e57a8139e540d906ba11a4a396db8bf5c6f719e366585251e513364cbd531bf8a31638b29aec0bc8fb5c2208745395de07569a5358c918b0c95c40f1656 SHA512 ba4d8c698e68508080f851d96428908b83f3d2f5d36dbcb00586567beb3001a8ca3f1d79fd9895aefb32c7d1a8400024e43cee2cdd4f427e80d47949593a3055 +DIST qtserialbus-everywhere-src-6.8.0-rc.tar.xz 547784 BLAKE2B a58c73fb2606bf057a95c99ec7b96b21362cb15a00c9861f9e52cece2f86aeea27737fe552c386cfc5119fd088106cb383a44903f0ac85f451788e1812a644fd SHA512 34991f2f7588d780ec319325a48cd4e0e2ba341ef2c45fcb6f059f9db4467ad0533677e4c63658ba7a5ad3fad392c720858130c9b1d74237e3d140019553c087 diff --git a/dev-qt/qtserialbus/qtserialbus-6.8.0_rc.ebuild b/dev-qt/qtserialbus/qtserialbus-6.8.0_rc.ebuild new file mode 100644 index 000000000000..7f316fa23bbc --- /dev/null +++ b/dev-qt/qtserialbus/qtserialbus-6.8.0_rc.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 +} |