summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-06-18 05:25:39 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-06-18 14:13:49 -0400
commitd460d437029b439c7ec0f1070839c697d07f5ff4 (patch)
tree029724dc602727c409b94bb46ba0e91593b860de /dev-qt
parentdev-qt/qtsensors: add 6.7.2 (diff)
downloadgentoo-d460d437029b439c7ec0f1070839c697d07f5ff4.tar.gz
gentoo-d460d437029b439c7ec0f1070839c697d07f5ff4.tar.bz2
gentoo-d460d437029b439c7ec0f1070839c697d07f5ff4.zip
dev-qt/qtserialbus: add 6.7.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtserialbus/Manifest1
-rw-r--r--dev-qt/qtserialbus/qtserialbus-6.7.2.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-qt/qtserialbus/Manifest b/dev-qt/qtserialbus/Manifest
index 607725d6e79b..76b5450a7525 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.1.tar.xz 547732 BLAKE2B 7728063e3cca62ffde710b3e45dabcabe1e09f9a9f82f15c34ad794102598bf0b6f8e20dce22a18a49477d47e12dfcb304d41b6cbee03d41e7fa33191e4ba7ca SHA512 d90a8209cf966f716a946880b595fc9fd22fc3069712c46ce22aeb85af5ed2c0fdb1c571bc569e95311453246c9697b92bb05648c7f4be3d18a262b500d59bae
+DIST qtserialbus-everywhere-src-6.7.2.tar.xz 547596 BLAKE2B de990e57a8139e540d906ba11a4a396db8bf5c6f719e366585251e513364cbd531bf8a31638b29aec0bc8fb5c2208745395de07569a5358c918b0c95c40f1656 SHA512 ba4d8c698e68508080f851d96428908b83f3d2f5d36dbcb00586567beb3001a8ca3f1d79fd9895aefb32c7d1a8400024e43cee2cdd4f427e80d47949593a3055
diff --git a/dev-qt/qtserialbus/qtserialbus-6.7.2.ebuild b/dev-qt/qtserialbus/qtserialbus-6.7.2.ebuild
new file mode 100644
index 000000000000..7f316fa23bbc
--- /dev/null
+++ b/dev-qt/qtserialbus/qtserialbus-6.7.2.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
+}