summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-05-20 03:55:15 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-05-20 04:45:29 -0400
commitd3bd56d840d9562aed73ee784d8a4b2b512d29f6 (patch)
tree4271472be7862210a32acbf3400cc2a01c0d11ec /dev-qt/qtserialbus
parentdev-qt/qtsensors: add 6.7.1 (diff)
downloadgentoo-d3bd56d840d9562aed73ee784d8a4b2b512d29f6.tar.gz
gentoo-d3bd56d840d9562aed73ee784d8a4b2b512d29f6.tar.bz2
gentoo-d3bd56d840d9562aed73ee784d8a4b2b512d29f6.zip
dev-qt/qtserialbus: add 6.7.1
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.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-qt/qtserialbus/Manifest b/dev-qt/qtserialbus/Manifest
index d92b267030c3..e610d724f15b 100644
--- a/dev-qt/qtserialbus/Manifest
+++ b/dev-qt/qtserialbus/Manifest
@@ -1,2 +1,3 @@
DIST qtserialbus-everywhere-opensource-src-5.15.13.tar.xz 359612 BLAKE2B 67da230018ec58e8fbb87e8b3f6b1394d8339e33b8aaac6c988907dd94f63e35f3a4b0e9776824af3c3b7678bd73e2dc6a973d2de886bf1e1f0b0f898bc7e3ce SHA512 12e5580249f0d241b0536be8c4ab5a01eed722c9cbaaa4c052ecacb8e105c0d31f4e83e87fcf7f30711e48b0a6d0ee413bd837ea2bb7fbc41bddb7e6ab18ea22
DIST qtserialbus-everywhere-src-6.7.0.tar.xz 546788 BLAKE2B 3bd9eeec9768942c65eab210db49fb82bfe30cab9c18378eee76651fa7613ec8bd0cf4a8bd1339c815a9692bef3fadf8477d2556caa63accd76c9370ee226a96 SHA512 33c4fd04da0904c43e937fe94724c4318280e45a2f18b727379beb04ddae0285338486ea82be47950a5f4fa28cc0ac1f2c03d6ff8a45730e6be8d5ab84c50892
+DIST qtserialbus-everywhere-src-6.7.1.tar.xz 547732 BLAKE2B 7728063e3cca62ffde710b3e45dabcabe1e09f9a9f82f15c34ad794102598bf0b6f8e20dce22a18a49477d47e12dfcb304d41b6cbee03d41e7fa33191e4ba7ca SHA512 d90a8209cf966f716a946880b595fc9fd22fc3069712c46ce22aeb85af5ed2c0fdb1c571bc569e95311453246c9697b92bb05648c7f4be3d18a262b500d59bae
diff --git a/dev-qt/qtserialbus/qtserialbus-6.7.1.ebuild b/dev-qt/qtserialbus/qtserialbus-6.7.1.ebuild
new file mode 100644
index 000000000000..7f316fa23bbc
--- /dev/null
+++ b/dev-qt/qtserialbus/qtserialbus-6.7.1.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
+}