[Buildroot] [PATCH 1/1] package/qt5/qt5opcua: new package
Arnout Vandecappelle
arnout at mind.be
Sun Aug 29 16:52:33 UTC 2021
On 04/08/2021 16:02, Andreas Naumann wrote:
> 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 at ultratronik.de>
Applied to master, thanks.
Regards,
Arnout
> ---
> DEVELOPERS | 1 +
> package/qt5/Config.in | 1 +
> package/qt5/qt5opcua/Config.in | 9 +++++++++
> package/qt5/qt5opcua/qt5opcua.hash | 10 ++++++++++
> package/qt5/qt5opcua/qt5opcua.mk | 19 +++++++++++++++++++
> 5 files changed, 40 insertions(+)
> create mode 100644 package/qt5/qt5opcua/Config.in
> create mode 100644 package/qt5/qt5opcua/qt5opcua.hash
> create mode 100644 package/qt5/qt5opcua/qt5opcua.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 1547ff123b..7427f3cc82 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1985,6 +1985,7 @@ N: Naumann Andreas <ANaumann at ultratronik.de>
> F: package/evemu/
> F: package/libevdev/
> F: package/pkg-qmake.mk
> +F: package/qt5/qt5opcua/
>
> N: Nicola Di Lieto <nicola.dilieto at gmail.com>
> F: package/uacme/
> diff --git a/package/qt5/Config.in b/package/qt5/Config.in
> index 6714c6271d..6f2428d800 100644
> --- a/package/qt5/Config.in
> +++ b/package/qt5/Config.in
> @@ -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
> index 0000000000..2b0ba37af3
> --- /dev/null
> +++ b/package/qt5/qt5opcua/Config.in
> @@ -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
> index 0000000000..e55fb17743
> --- /dev/null
> +++ b/package/qt5/qt5opcua/qt5opcua.hash
> @@ -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
> index 0000000000..a58c4c5e14
> --- /dev/null
> +++ b/package/qt5/qt5opcua/qt5opcua.mk
> @@ -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))
>
More information about the buildroot
mailing list