Skip to contentSkip to conversation

package/qt6/qt6coap: new package

PATCH Superseded Angelo Compagnucci 2 participants 3 messages Nov 2 – Nov 4

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/qt6/qt6coap: new package

Qt CoAP implements the client side of the Constrained Application Protocol (CoAP), already available for Qt5 as qt5coap.

---
 DEVELOPERS                       |  1 +
 package/qt6/Config.in            |  1 +
 package/qt6/qt6coap/Config.in    | 10 +++++++++
 package/qt6/qt6coap/qt6coap.hash |  9 ++++++++
 package/qt6/qt6coap/qt6coap.mk   | 35 ++++++++++++++++++++++++++++++++
 5 files changed, 56 insertions(+)
 create mode 100644 package/qt6/qt6coap/Config.in
 create mode 100644 package/qt6/qt6coap/qt6coap.hash
 create mode 100644 package/qt6/qt6coap/qt6coap.mk
DEVELOPERS +1 -0
index 1b9dd41f01..c12dab41ae 100644
@@ -255,6 +255,7 @@ F:	package/qpdf/
 F:	package/qt5/qt5coap/
 F:	package/qt5/qt5knx/
 F:	package/qt5/qt5mqtt/
+F:	package/qt6/qt6coap/
 F:	package/rtl8723ds/
 F:	package/rtl8723ds-bt/
 F:	package/sam-ba/
package/qt6/Config.in +1 -0
index d6ee9f3ea3..f3a540e9f8 100644
@@ -45,6 +45,7 @@ if BR2_PACKAGE_QT6
 
 source "package/qt6/qt6base/Config.in"
 source "package/qt6/qt6charts/Config.in"
+source "package/qt6/qt6coap/Config.in"
 source "package/qt6/qt6core5compat/Config.in"
 source "package/qt6/qt6declarative/Config.in"
 source "package/qt6/qt6graphs/Config.in"
package/qt6/qt6coap/Config.in new file +10 -0
new file mode 100644
index 0000000000..81ab7e9ab5
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_QT6COAP
+	bool "qt6coap"
+	select BR2_PACKAGE_QT6BASE_NETWORK
+	help
+	  Qt is a cross-platform application and UI framework for
+	  developers using C++.
+
+	  This package corresponds to the qt6coap module.
+
+	  https://doc.qt.io/qt-6/qtcoap-index.html
package/qt6/qt6coap/qt6coap.hash new file +9 -0
new file mode 100644
index 0000000000..cc5d159c82
@@ -0,0 +1,9 @@
+# Locally computed
+sha256  c023098a523b939fdf69d289f82ad6108025a979ce95a4ed208e9ae4e30eb37b  qt6coap-6.11.2-git4.tar.gz
+
+# Hashes for license files
+sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
+sha256  110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4  LICENSES/GFDL-1.3-no-invariants-only.txt
+sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSES/GPL-3.0-only.txt
+sha256  9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700  LICENSES/LicenseRef-Qt-Commercial.txt
+sha256  40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2  LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6coap/qt6coap.mk new file +35 -0
new file mode 100644
index 0000000000..af565ed5fa
@@ -0,0 +1,35 @@
+################################################################################
+#
+# qt6coap
+#
+################################################################################
+
+QT6COAP_VERSION = $(QT6_VERSION)
+QT6COAP_SITE = $(QT6_GIT)/qt/qtcoap.git
+
+QT6COAP_INSTALL_STAGING = YES
+
+QT6COAP_SUPPORTS_IN_SOURCE_BUILD = NO
+
+QT6COAP_CMAKE_BACKEND = ninja
+
+QT6COAP_LICENSE = \
+	BSD-3-Clause (examples), \
+	GFDL-1.3-invariants-only (docs), \
+	GPL-3.0
+
+QT6COAP_LICENSE_FILES = \
+	LICENSES/BSD-3-Clause.txt \
+	LICENSES/GFDL-1.3-no-invariants-only.txt \
+	LICENSES/GPL-3.0-only.txt
+
+QT6COAP_CONF_OPTS = \
+	-DQT_HOST_PATH=$(HOST_DIR) \
+	-DBUILD_WITH_PCH=OFF \
+	-DQT_BUILD_EXAMPLES=OFF \
+	-DQT_BUILD_TESTS=OFF
+
+QT6COAP_DEPENDENCIES = \
+	qt6base
+
+$(eval $(cmake-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v2 1/1 package/qt6/qt6coap: new package

Qt CoAP implements the client side of the Constrained Application Protocol (CoAP), already available for Qt5 as qt5coap.

---
Changes v1 -> v2:
- bump to version 6.11.3, following the qt6 bump
- drop the DEVELOPERS entry, already covered by package/qt6/

 package/qt6/Config.in            |  1 +
 package/qt6/qt6coap/Config.in    | 10 +++++++++
 package/qt6/qt6coap/qt6coap.hash |  9 ++++++++
 package/qt6/qt6coap/qt6coap.mk   | 35 ++++++++++++++++++++++++++++++++
 4 files changed, 55 insertions(+)
 create mode 100644 package/qt6/qt6coap/Config.in
 create mode 100644 package/qt6/qt6coap/qt6coap.hash
 create mode 100644 package/qt6/qt6coap/qt6coap.mk
package/qt6/Config.in +1 -0
index d6ee9f3ea3..f3a540e9f8 100644
@@ -45,6 +45,7 @@ if BR2_PACKAGE_QT6
 
 source "package/qt6/qt6base/Config.in"
 source "package/qt6/qt6charts/Config.in"
+source "package/qt6/qt6coap/Config.in"
 source "package/qt6/qt6core5compat/Config.in"
 source "package/qt6/qt6declarative/Config.in"
 source "package/qt6/qt6graphs/Config.in"
package/qt6/qt6coap/Config.in new file +10 -0
new file mode 100644
index 0000000000..81ab7e9ab5
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_QT6COAP
+	bool "qt6coap"
+	select BR2_PACKAGE_QT6BASE_NETWORK
+	help
+	  Qt is a cross-platform application and UI framework for
+	  developers using C++.
+
+	  This package corresponds to the qt6coap module.
+
+	  https://doc.qt.io/qt-6/qtcoap-index.html
package/qt6/qt6coap/qt6coap.hash new file +9 -0
new file mode 100644
index 0000000000..edbd2bc7b7
@@ -0,0 +1,9 @@
+# Locally computed
+sha256  909e9820b08c77ae5a1d68f1325914f931ea3e25e9c6855493925b1ecd8d4fd5  qt6coap-6.11.3-git4.tar.gz
+
+# Hashes for license files
+sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
+sha256  110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4  LICENSES/GFDL-1.3-no-invariants-only.txt
+sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSES/GPL-3.0-only.txt
+sha256  9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700  LICENSES/LicenseRef-Qt-Commercial.txt
+sha256  40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2  LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6coap/qt6coap.mk new file +35 -0
new file mode 100644
index 0000000000..af565ed5fa
@@ -0,0 +1,35 @@
+################################################################################
+#
+# qt6coap
+#
+################################################################################
+
+QT6COAP_VERSION = $(QT6_VERSION)
+QT6COAP_SITE = $(QT6_GIT)/qt/qtcoap.git
+
+QT6COAP_INSTALL_STAGING = YES
+
+QT6COAP_SUPPORTS_IN_SOURCE_BUILD = NO
+
+QT6COAP_CMAKE_BACKEND = ninja
+
+QT6COAP_LICENSE = \
+	BSD-3-Clause (examples), \
+	GFDL-1.3-invariants-only (docs), \
+	GPL-3.0
+
+QT6COAP_LICENSE_FILES = \
+	LICENSES/BSD-3-Clause.txt \
+	LICENSES/GFDL-1.3-no-invariants-only.txt \
+	LICENSES/GPL-3.0-only.txt
+
+QT6COAP_CONF_OPTS = \
+	-DQT_HOST_PATH=$(HOST_DIR) \
+	-DBUILD_WITH_PCH=OFF \
+	-DQT_BUILD_EXAMPLES=OFF \
+	-DQT_BUILD_TESTS=OFF
+
+QT6COAP_DEPENDENCIES = \
+	qt6base
+
+$(eval $(cmake-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 4 lines · Angelo Compagnucci

Qt CoAP implements the client side of the Constrained Application Protocol (CoAP), already available for Qt5 as qt5coap.

Applied to master, thanks!

Best regards,

Thomas Petazzoni

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot