Skip to contentSkip to conversation

package/qt6/qt6grpc: new package

PATCH Applied Jack Rubacha 2 participants 2 messages May 14 – May 18

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 package/qt6/qt6grpc: new package

Adds the QT GRPC module (containing Qt Protobuf as well).

---
Changes v3 -> v4:
- Update .hash to Qt 6.9.1

Changes v2 -> v3:
- Make license GPL-3.0-only
- Add newline for readability
- Alphabetize host dependencies

Changes v1 -> v2:
- Remove 'selects BR2_PACKAGE_HOST_QT6BASE' as it is a make dependency
- Changes help text to clearly state both modules
- Adds a git repository link to the help text
- Cleans up license files to show all necessary files, matches hashfile
- Make multiline clauses alphabetically ordered

---
 package/qt6/Config.in            |  1 +
 package/qt6/qt6grpc/Config.in    |  7 ++++++
 package/qt6/qt6grpc/qt6grpc.hash | 10 ++++++++
 package/qt6/qt6grpc/qt6grpc.mk   | 43 ++++++++++++++++++++++++++++++++
 4 files changed, 61 insertions(+)
 create mode 100644 package/qt6/qt6grpc/Config.in
 create mode 100644 package/qt6/qt6grpc/qt6grpc.hash
 create mode 100644 package/qt6/qt6grpc/qt6grpc.mk
package/qt6/Config.in +1 -0
index 10594691cf..9c297b321e 100644
@@ -48,6 +48,7 @@ source "package/qt6/qt6charts/Config.in"
 source "package/qt6/qt6core5compat/Config.in"
 source "package/qt6/qt6declarative/Config.in"
 source "package/qt6/qt6graphs/Config.in"
+source "package/qt6/qt6grpc/Config.in"
 source "package/qt6/qt6languageserver/Config.in"
 source "package/qt6/qt6mqtt/Config.in"
 source "package/qt6/qt6multimedia/Config.in"
package/qt6/qt6grpc/Config.in new file +7 -0
new file mode 100644
index 0000000000..3d82cfcb0c
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_QT6GRPC
+	bool "qt6grpc"
+	help
+	  This package provides the Qt GRPC and Protobuf modules:
+
+	  https://doc.qt.io/qt-6/qtgrpc-index.html
+	  https://code.qt.io/cgit/qt/qtgrpc.git/
package/qt6/qt6grpc/qt6grpc.hash new file +10 -0
new file mode 100644
index 0000000000..bbf30f2a2d
@@ -0,0 +1,10 @@
+# Hash from: https://download.qt.io/official_releases/qt/6.9/6.9.1/submodules/qtgrpc-everywhere-src-6.9.1.tar.xz.sha256
+sha256  c34c869e203289b0fd695a1e5391840bc51b919a8b55e1ed1ff36b4cb923a750  qtgrpc-everywhere-src-6.9.1.tar.xz
+
+# Hashes for license files:
+sha256  e3ba223bb1423f0aad8c3dfce0fe3148db48926d41e6fbc3afbbf5ff9e1c89cb  LICENSE.Apache-2.0.txt
+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  6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d  LICENSES/LicenseRef-protobuf.txt
+sha256  40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2  LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6grpc/qt6grpc.mk new file +43 -0

43 lines not on this page · raw message

Signature · 6 lines
2.54.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 3 lines · Jack Rubacha

Adds the QT GRPC module (containing Qt Protobuf as well).

Wow, an update after a year! Congratulations for your dedication.

Applied to next, thanks!

Regards,
Arnout

Quoted 105 lines

---
Changes v3 -> v4:
- Update .hash to Qt 6.9.1

Changes v2 -> v3:
- Make license GPL-3.0-only
- Add newline for readability
- Alphabetize host dependencies

Changes v1 -> v2:
- Remove 'selects BR2_PACKAGE_HOST_QT6BASE' as it is a make dependency
- Changes help text to clearly state both modules
- Adds a git repository link to the help text
- Cleans up license files to show all necessary files, matches hashfile
- Make multiline clauses alphabetically ordered

---
  package/qt6/Config.in            |  1 +
  package/qt6/qt6grpc/Config.in    |  7 ++++++
  package/qt6/qt6grpc/qt6grpc.hash | 10 ++++++++
  package/qt6/qt6grpc/qt6grpc.mk   | 43 ++++++++++++++++++++++++++++++++
  4 files changed, 61 insertions(+)

create mode 100644 package/qt6/qt6grpc/Config.in create mode 100644 package/qt6/qt6grpc/qt6grpc.hash create mode 100644 package/qt6/qt6grpc/qt6grpc.mk

package/qt6/Config.in +1 -0
index 10594691cf..9c297b321e 100644
@@ -48,6 +48,7 @@ source "package/qt6/qt6charts/Config.in"
  source "package/qt6/qt6core5compat/Config.in"
  source "package/qt6/qt6declarative/Config.in"
  source "package/qt6/qt6graphs/Config.in"
+source "package/qt6/qt6grpc/Config.in"
  source "package/qt6/qt6languageserver/Config.in"
  source "package/qt6/qt6mqtt/Config.in"
  source "package/qt6/qt6multimedia/Config.in"
package/qt6/qt6grpc/Config.in new file +7 -0
new file mode 100644
index 0000000000..3d82cfcb0c
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_QT6GRPC
+	bool "qt6grpc"
+	help
+	  This package provides the Qt GRPC and Protobuf modules:
+
+	  https://doc.qt.io/qt-6/qtgrpc-index.html
+	  https://code.qt.io/cgit/qt/qtgrpc.git/
package/qt6/qt6grpc/qt6grpc.hash new file +10 -0
new file mode 100644
index 0000000000..bbf30f2a2d
@@ -0,0 +1,10 @@
+# Hash from: https://download.qt.io/official_releases/qt/6.9/6.9.1/submodules/qtgrpc-everywhere-src-6.9.1.tar.xz.sha256
+sha256  c34c869e203289b0fd695a1e5391840bc51b919a8b55e1ed1ff36b4cb923a750  qtgrpc-everywhere-src-6.9.1.tar.xz
+
+# Hashes for license files:
+sha256  e3ba223bb1423f0aad8c3dfce0fe3148db48926d41e6fbc3afbbf5ff9e1c89cb  LICENSE.Apache-2.0.txt
+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  6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d  LICENSES/LicenseRef-protobuf.txt
+sha256  40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2  LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6grpc/qt6grpc.mk new file +33 -0
new file mode 100644
index 0000000000..8b1c511fef
@@ -0,0 +1,43 @@
+################################################################################
+#
+# qt6grpc
+#
+################################################################################
+
+QT6GRPC_VERSION = $(QT6_VERSION)
+QT6GRPC_SITE = $(QT6_SITE)
+QT6GRPC_SOURCE = qtgrpc-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6GRPC_VERSION).tar.xz
+QT6GRPC_INSTALL_STAGING = YES
+QT6GRPC_SUPPORTS_IN_SOURCE_BUILD = NO
+QT6GRPC_CMAKE_BACKEND = ninja
+QT6GRPC_LICENSE = GPL-3.0-only
+
+QT6GRPC_LICENSE_FILES = \
+	LICENSE.Apache-2.0.txt \
+	LICENSES/BSD-3-Clause.txt \
+	LICENSES/GFDL-1.3-no-invariants-only.txt \
+	LICENSES/GPL-3.0-only.txt \
+	LICENSES/LicenseRef-protobuf.txt \
+	LICENSES/Qt-GPL-exception-1.0.txt
+
+QT6GRPC_CONF_OPTS = \
+	-DBUILD_WITH_PCH=OFF \
+	-DQT_BUILD_EXAMPLES=OFF \
+	-DQT_BUILD_TESTS=OFF \
+	-DQT_HOST_PATH=$(HOST_DIR)
+
+QT6GRPC_DEPENDENCIES = \
+	host-pkgconf \
+	host-qt6grpc \
+	qt6base
+

package/qt6/qt6grpc/qt6grpc.mk line 43

Quoted 10 lines
package/qt6/qt6grpc/qt6grpc.mk new file +10 -0
+ifeq ($(BR2_PACKAGE_QT6DECLARATIVE),y)
+QT6GRPC_DEPENDENCIES += qt6declarative
+endif
+
+HOST_QT6GRPC_DEPENDENCIES = \
+	host-protobuf \
+	host-qt6base
+
+$(eval $(cmake-package))
+$(eval $(host-cmake-package))

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