public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtserialbus/
Date: Wed, 28 Feb 2024 14:08:15 +0000 (UTC)	[thread overview]
Message-ID: <1709129261.8c975b160438b166ceae2d7d0f3b87d1934c723f.ionen@gentoo> (raw)

commit:     8c975b160438b166ceae2d7d0f3b87d1934c723f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 13:28:31 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 14:07:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c975b16

dev-qt/qtserialbus: new slot, add 6.6.2:6 + live

Nothing special (same as Qt5) and tests pass.. albeit it does
need extras to cleanup junk it installs when tests are enabled.

It would be possible to make qtserialport optional by using
cmake_use_find_package but unsure how much sense this makes.
Given Qt5 didn't, not going to bother unless someone using
this package actually wants to skip this dependency.

Note that this has no revdeps neither for Qt5 nor Qt6, but some
users apparently need it and the package itself is simple.

Closes: https://bugs.gentoo.org/925517
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-qt/qtserialbus/Manifest                    |  1 +
 dev-qt/qtserialbus/qtserialbus-6.6.2.ebuild    | 33 ++++++++++++++++++++++++++
 dev-qt/qtserialbus/qtserialbus-6.6.9999.ebuild | 33 ++++++++++++++++++++++++++
 dev-qt/qtserialbus/qtserialbus-6.7.9999.ebuild | 33 ++++++++++++++++++++++++++
 dev-qt/qtserialbus/qtserialbus-6.9999.ebuild   | 33 ++++++++++++++++++++++++++
 5 files changed, 133 insertions(+)

diff --git a/dev-qt/qtserialbus/Manifest b/dev-qt/qtserialbus/Manifest
index 906d81e979f4..b25580a9f596 100644
--- a/dev-qt/qtserialbus/Manifest
+++ b/dev-qt/qtserialbus/Manifest
@@ -1 +1,2 @@
 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

diff --git a/dev-qt/qtserialbus/qtserialbus-6.6.2.ebuild b/dev-qt/qtserialbus/qtserialbus-6.6.2.ebuild
new file mode 100644
index 000000000000..83df0a8835c0
--- /dev/null
+++ b/dev-qt/qtserialbus/qtserialbus-6.6.2.ebuild
@@ -0,0 +1,33 @@
+# 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}"
+
+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
+}

diff --git a/dev-qt/qtserialbus/qtserialbus-6.6.9999.ebuild b/dev-qt/qtserialbus/qtserialbus-6.6.9999.ebuild
new file mode 100644
index 000000000000..83df0a8835c0
--- /dev/null
+++ b/dev-qt/qtserialbus/qtserialbus-6.6.9999.ebuild
@@ -0,0 +1,33 @@
+# 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}"
+
+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
+}

diff --git a/dev-qt/qtserialbus/qtserialbus-6.7.9999.ebuild b/dev-qt/qtserialbus/qtserialbus-6.7.9999.ebuild
new file mode 100644
index 000000000000..83df0a8835c0
--- /dev/null
+++ b/dev-qt/qtserialbus/qtserialbus-6.7.9999.ebuild
@@ -0,0 +1,33 @@
+# 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}"
+
+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
+}

diff --git a/dev-qt/qtserialbus/qtserialbus-6.9999.ebuild b/dev-qt/qtserialbus/qtserialbus-6.9999.ebuild
new file mode 100644
index 000000000000..83df0a8835c0
--- /dev/null
+++ b/dev-qt/qtserialbus/qtserialbus-6.9999.ebuild
@@ -0,0 +1,33 @@
+# 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}"
+
+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
+}


             reply	other threads:[~2024-02-28 14:08 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28 14:08 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-06 22:51 [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtserialbus/ Ionen Wolkens
2024-12-28 16:58 Andreas Sturmlechner
2024-12-27  1:54 Sam James
2024-12-15 20:18 Ionen Wolkens
2024-12-03 18:16 Ionen Wolkens
2024-12-02  7:23 Ionen Wolkens
2024-11-21 21:39 Andreas Sturmlechner
2024-11-01  6:35 Arthur Zamarin
2024-10-09  6:22 Ionen Wolkens
2024-10-08  5:03 Ionen Wolkens
2024-09-27  7:26 Ionen Wolkens
2024-09-24  9:57 Ionen Wolkens
2024-07-16  1:29 Ionen Wolkens
2024-07-10  4:21 Ionen Wolkens
2024-06-18 18:14 Ionen Wolkens
2024-06-08 13:41 Ionen Wolkens
2024-06-06 16:43 Andreas Sturmlechner
2024-06-04 19:36 Ionen Wolkens
2024-06-02  4:04 Sam James
2024-05-30 12:52 Andreas Sturmlechner
2024-05-28 18:56 Arthur Zamarin
2024-05-20  8:48 Ionen Wolkens
2024-04-19  7:55 Ionen Wolkens
2024-04-13 17:50 Arthur Zamarin
2024-04-05 15:01 Andreas Sturmlechner
2024-04-02 13:06 Ionen Wolkens
2024-04-01 18:29 Arthur Zamarin
2024-03-30  0:29 Ionen Wolkens
2024-03-27 12:44 Arthur Zamarin
2024-03-26  7:10 Ionen Wolkens
2024-03-24 18:39 Ionen Wolkens
2024-03-23 17:01 Andreas Sturmlechner
2024-03-22 10:29 Ionen Wolkens
2024-03-20  7:17 Ionen Wolkens
2024-03-12 12:01 Ionen Wolkens
2024-03-04 14:53 Ionen Wolkens
2024-02-01 23:06 Andreas Sturmlechner
2024-01-01 21:14 Andreas Sturmlechner
2023-11-06 18:11 Andreas Sturmlechner
2023-10-08 15:58 Andreas Sturmlechner
2023-07-13  8:42 Andreas Sturmlechner
2023-06-13 11:42 Andreas Sturmlechner
2023-05-01 12:54 Andreas Sturmlechner
2023-04-13 21:45 Andreas Sturmlechner
2023-01-24  9:45 Andreas Sturmlechner
2023-01-08 21:45 Andreas Sturmlechner
2022-12-06 17:07 Andreas Sturmlechner
2022-11-29 20:51 Andreas Sturmlechner
2022-07-06 10:27 Andreas Sturmlechner
2022-06-19 12:26 Andreas Sturmlechner
2022-06-18 17:25 Andreas Sturmlechner
2022-05-20 19:43 Andreas Sturmlechner
2022-04-17 19:29 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1709129261.8c975b160438b166ceae2d7d0f3b87d1934c723f.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox