summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-03-12 06:32:33 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-03-12 07:59:34 -0400
commit88e350ad851a0e5b5f6561d47cd7c3f5ac46b4b1 (patch)
tree4ec68cdba1b56a22568ac608461ed462b57a543b /dev-qt/qtserialbus
parentdev-qt/qtsensors: add 6.7.0_rc (diff)
downloadgentoo-88e350ad851a0e5b5f6561d47cd7c3f5ac46b4b1.tar.gz
gentoo-88e350ad851a0e5b5f6561d47cd7c3f5ac46b4b1.tar.bz2
gentoo-88e350ad851a0e5b5f6561d47cd7c3f5ac46b4b1.zip
dev-qt/qtserialbus: add 6.7.0_rc
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtserialbus')
-rw-r--r--dev-qt/qtserialbus/Manifest1
-rw-r--r--dev-qt/qtserialbus/qtserialbus-6.7.0_rc.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-qt/qtserialbus/Manifest b/dev-qt/qtserialbus/Manifest
index b25580a9f596..1e833891b6dc 100644
--- a/dev-qt/qtserialbus/Manifest
+++ b/dev-qt/qtserialbus/Manifest
@@ -1,2 +1,3 @@
DIST qtserialbus-everywhere-opensource-src-5.15.12.tar.xz 359492 BLAKE2B b27e5e26e7c881602dfcd6daf287ae3d7f52011abe78303e51119242e550d73c8d11c259ddd96f067aebb6d19602e996ddebe46fe7ab87fc0938a167e2e20caa SHA512 d6571b6d54fe91ff945c0bd51bcecb97ae3d001ee3e1f30deb042a52bab17ad7e059ae943c0a3f2a4d6e7a952cb3f68b71275cef0fda1875fd233c8dc17d0d3c
DIST qtserialbus-everywhere-src-6.6.2.tar.xz 545828 BLAKE2B 27e9f44c68d34c9573218824ba8793388574f05fdb2cb4f271c6955d3cfd596612b8b2ed041b861b13b59e5fd54ee44f9b70d922b6b9661e81634028f827c94c SHA512 d21c1c95b7dc495f2d963af7e0e927265573d5d0ff163ee51e19c0a62486ba78b8769ba65f7e196116fa0d029db78e6a453c3bde8a3c7f4447a278bde4de87be
+DIST qtserialbus-everywhere-src-6.7.0-rc.tar.xz 546860 BLAKE2B 459065b12e0b807befab382f697aa652ff233340ac9dbc57eb02f8546c8fa045b61adeeb733c29964b9a9e1c43f1f3053b4ff1c04ebd092f1462f686f1ce15df SHA512 191e50a3926ed78c14816eb2cac2a791b2216df3a8bca1c63de077228d6f2a448896f747fa04ef10f50e6628c5f42c0fbd548b7e40eb2aaaeb875ec0869ef31a
diff --git a/dev-qt/qtserialbus/qtserialbus-6.7.0_rc.ebuild b/dev-qt/qtserialbus/qtserialbus-6.7.0_rc.ebuild
new file mode 100644
index 000000000000..a9d55ad33aa7
--- /dev/null
+++ b/dev-qt/qtserialbus/qtserialbus-6.7.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"
+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
+}