commit: 326cb0830584946abfbb5850670020ec8ded5f0c Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Tue Oct 8 04:50:51 2024 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Tue Oct 8 05:01:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=326cb083
dev-qt/qtserialbus: add 6.8.0 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> dev-qt/qtserialbus/Manifest | 1 + dev-qt/qtserialbus/qtserialbus-6.8.0.ebuild | 38 +++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-qt/qtserialbus/Manifest b/dev-qt/qtserialbus/Manifest index cbd929eeb179..df6c9d6b6425 100644 --- a/dev-qt/qtserialbus/Manifest +++ b/dev-qt/qtserialbus/Manifest @@ -1,3 +1,4 @@ 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.7.3.tar.xz 547720 BLAKE2B dbc7dd8f9a3aeed0b515a10a4d7f261ae1ceec101543c5cfd57324ba7a562296fe83d0b978f61b321cfdb22b3fc595a962a392e666fe5b137aa31d67ca955ca3 SHA512 fb032e65392ea6ee5e3edfe4dccbae3514493dca8fa5b3ffada18f0ce661475f847bc27e4c49573d360d55ed1bd17d4bb7e5faf5a31fc169a6984070c8fd8cae +DIST qtserialbus-everywhere-src-6.8.0.tar.xz 547876 BLAKE2B e00b8cb89b46cf240fa41746f7997a03407d1d2469c075ac1f060455d731cf65327c0f7a679d50682d61dde754d276e9e1d9c4559324916ab99bb3bedd28eb2a SHA512 c3712f8e4ae29c2f6d13a8e5f3093136a5b77b16b68808f5651a7cc31be87e1cb8e3fc518a20fae712da5bb2dfecd462d4eefa3cca2abb4713f8c953f5c11102 diff --git a/dev-qt/qtserialbus/qtserialbus-6.8.0.ebuild b/dev-qt/qtserialbus/qtserialbus-6.8.0.ebuild new file mode 100644 index 000000000000..7f316fa23bbc --- /dev/null +++ b/dev-qt/qtserialbus/qtserialbus-6.8.0.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 +}