package/qt5/qt5opcua: new package
authorAndreas Naumann <anaumann@ultratronik.de>
Wed, 4 Aug 2021 14:02:11 +0000 (16:02 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 29 Aug 2021 16:29:23 +0000 (18:29 +0200)
The Qt OPC UA module implements a Qt API to interact with OPC UA on
top of a 3rd party OPC UA stack.
The default is open62541, which is bundled by qt5opcua in version 1.0,
so we dont need to provide/depend on br's own open62541 package.

Another dependency is mbedtls, but it's optional.

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
DEVELOPERS
package/qt5/Config.in
package/qt5/qt5opcua/Config.in [new file with mode: 0644]
package/qt5/qt5opcua/qt5opcua.hash [new file with mode: 0644]
package/qt5/qt5opcua/qt5opcua.mk [new file with mode: 0644]

index 66c5a6703cb2e0dc14bdb74de1bba51213d95e16..1bc4a1370c0fc0921fcc3cf42d710c54826c60e8 100644 (file)
@@ -1962,6 +1962,7 @@ N:        Naumann Andreas <ANaumann@ultratronik.de>
 F:     package/evemu/
 F:     package/libevdev/
 F:     package/pkg-qmake.mk
+F:     package/qt5/qt5opcua/
 
 N:     Nicola Di Lieto <nicola.dilieto@gmail.com>
 F:     package/uacme/
index 6714c6271dbac3f21f2f2a2035b21f323f49d735..6f2428d800b6805b4dedb8f9e3e37b1dbc71a31b 100644 (file)
@@ -51,6 +51,7 @@ source "package/qt5/qt5location/Config.in"
 source "package/qt5/qt5lottie/Config.in"
 source "package/qt5/qt5mqtt/Config.in"
 source "package/qt5/qt5multimedia/Config.in"
+source "package/qt5/qt5opcua/Config.in"
 source "package/qt5/qt5quickcontrols/Config.in"
 source "package/qt5/qt5quickcontrols2/Config.in"
 source "package/qt5/qt5quicktimeline/Config.in"
diff --git a/package/qt5/qt5opcua/Config.in b/package/qt5/qt5opcua/Config.in
new file mode 100644 (file)
index 0000000..2b0ba37
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_QT5OPCUA
+       bool "qt5opcua"
+       depends on BR2_PACKAGE_QT5
+       help
+         Qt is a cross-platform application and UI framework for
+         developers using C++.
+
+         The Qt OPC UA module implements a Qt API to interact with
+         OPC UA on top of a 3rd party OPC UA stack.
diff --git a/package/qt5/qt5opcua/qt5opcua.hash b/package/qt5/qt5opcua/qt5opcua.hash
new file mode 100644 (file)
index 0000000..e55fb17
--- /dev/null
@@ -0,0 +1,10 @@
+# Hash locally calculated
+sha256  562171c6dfd6f4f072316ddb6d7c5bcc8907a68ba31005cb8c20ed75beff34fb  qt5opcua-5.15.2-br1.tar.gz
+
+# Hashes for license files:
+sha256  d93cc415382f0013088fa276d9cf82373badf244c78220a926f15ee46f0fe3c4  LICENSE-CC0
+sha256  f827ad079686ba92cc94811e35492d0e8966f704008b6da9eeda0b659fb58a8d  LICENSE.FDL
+sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSE.GPL3
+sha256  0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652  LICENSE.GPL3-EXCEPT
+sha256  6c3f3c31b93985f1b93bfbb35fb609d37281697d0efc220c9f91cf4b59eaabde  LICENSE.GPLv2
+sha256  75d800e60c8d58c2e7f0338e8552ea6123a9ce7e5dd8e1cdf2095e013b737488  LICENSE.LGPLv3
diff --git a/package/qt5/qt5opcua/qt5opcua.mk b/package/qt5/qt5opcua/qt5opcua.mk
new file mode 100644 (file)
index 0000000..a58c4c5
--- /dev/null
@@ -0,0 +1,19 @@
+################################################################################
+#
+# qt5opcua
+#
+################################################################################
+
+QT5OPCUA_VERSION = $(QT5_VERSION)
+QT5OPCUA_SITE = https://code.qt.io/qt/qtopcua.git
+QT5OPCUA_SITE_METHOD = git
+QT5OPCUA_INSTALL_STAGING = YES
+QT5OPCUA_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) CC0-1.0
+QT5OPCUA_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL LICENSE-CC0
+QT5OPCUA_SYNC_QT_HEADERS = YES
+
+ifeq ($(BR2_PACKAGE_MBEDTLS),y)
+QT5OPCUA_DEPENDENCIES += mbedtls
+endif
+
+$(eval $(qmake-package))