Skip to content

Commit

Permalink
qt6: update to 6.5.3 - Part1
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiChinoune committed Sep 29, 2023
1 parent a7d2278 commit 0df1750
Show file tree
Hide file tree
Showing 15 changed files with 90 additions and 126 deletions.
10 changes: 5 additions & 5 deletions mingw-w64-qt6-5compat/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ _realname=qt6-5compat
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-debug")
_qtver=6.5.2
_qtver=6.5.3
pkgver=${_qtver/-/}
pkgrel=2
pkgrel=1
arch=(any)
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
license=(spdx:LGPL-3.0-only spdx:BSD-3-Clause spdx:GFDL-1.3-no-invariants-only spdx:GPL-2.0-only spdx:GPL-3.0-only spdx:Qt-GPL-exception-1.0)
pkgdesc='Module that contains unsupported Qt 5 APIs (mingw-w64)'
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-cmake"
Expand All @@ -19,10 +19,9 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-qt6-declarative"
"${MINGW_PACKAGE_PREFIX}-qt6-shadertools"
"rsync")
options=('!strip')
_pkgfn="${_realname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfn}.tar.xz")
sha256sums=('b9abe42ee2055c27a8e7579c7816069e91aae1f9b10649bf572db8ba96fa91c4')
sha256sums=('eeb2a9e27771e15aaa7935f61a8024b46cc8e2044ae0ceacff2754c0cb806464')

build() {
mkdir -p build-${MSYSTEM} && cd build-${MSYSTEM}
Expand Down Expand Up @@ -57,6 +56,7 @@ package_qt6-5compat-debug() {
depends=("${MINGW_PACKAGE_PREFIX}-qt6-base-debug"
"${MINGW_PACKAGE_PREFIX}-${_realname}")
groups=("${MINGW_PACKAGE_PREFIX}-qt6-debug")
options=('!strip')

cp -rf ${srcdir}/${MSYSTEM}-debug${MINGW_PREFIX} "${pkgdir}"/
}
Expand Down
8 changes: 4 additions & 4 deletions mingw-w64-qt6-activeqt/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _realname=qt6-activeqt
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-debug")
_qtver=6.5.2
_qtver=6.5.3
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
Expand All @@ -13,19 +13,18 @@ msys2_references=(
'aur: mingw-w64-qt6-activeqt'
)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
license=(spdx:GPL-3.0-only spdx:BSD-3-Clause spdx:GFDL-1.3-no-invariants-only spdx:Qt-GPL-exception-1.0)
pkgdesc='Qt5 ActiveQt Module - ActiveX components (mingw-w64)'
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-ninja"
"${MINGW_PACKAGE_PREFIX}-qt6-declarative"
"rsync")
options=('!strip')
_pkgfn="${_realname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfn}.tar.xz"
001-appending-qt6-to-remove-qt5-conflict.patch
002-Handle-win64-in-dumpcpp-and-MetaObjectGenerator-read.patch)
sha256sums=('5d0040ca776fe484fd19f09567bc5f2838faab409e38a15730855169215ff013'
sha256sums=('32ac51da95ed081f33f5644cd2f26b3a6714d303edb8f994c412f08225605cd1'
'66b9460aeb5dd1144a04448cc461811157b100cb765e84d6af24fd83476a4217'
'93e1c08068e45372fb02e9a33e3366b5067817ea7de4bba4e91b6c165645cb41')

Expand Down Expand Up @@ -78,6 +77,7 @@ package_qt6-activeqt-debug() {
depends=("${MINGW_PACKAGE_PREFIX}-qt6-base-debug"
"${MINGW_PACKAGE_PREFIX}-${_realname}")
groups=("${MINGW_PACKAGE_PREFIX}-qt6-debug")
options=('!strip')

cp -rf ${srcdir}/${MSYSTEM}-debug${MINGW_PREFIX} "${pkgdir}"/
}
Expand Down
11 changes: 4 additions & 7 deletions mingw-w64-qt6-base/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ _realname=qt6-base
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-debug")
_qtver=6.5.2
_qtver=6.5.3
pkgver=${_qtver/-/}
pkgrel=5
pkgrel=1
arch=(any)
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://www.qt.io'
license=('spdx:AFL-2.1 AND spdx:Apache-2.0 AND spdx:BSL-1.0 AND spdx:CC0-1.0 AND spdx:BSD-3-Clause AND spdx:CC-BY-4.0 AND spdx:GFDL-1.3-no-invariants-only AND spdx:GPL-2.0-only AND spdx:GPL-2.0-or-later AND spdx:GPL-3.0-only AND spdx:LGPL-3.0-only AND spdx:Qt-GPL-exception-1.0 AND custom')
license=(spdx:LGPL-3.0-only spdx:AFL-2.1 spdx:Apache-2.0 spdx:BSL-1.0 spdx:CC0-1.0 spdx:BSD-3-Clause spdx:CC-BY-4.0 spdx:GFDL-1.3-no-invariants-only spdx:GPL-2.0-only spdx:GPL-2.0-or-later spdx:GPL-3.0-only spdx:Qt-GPL-exception-1.0 custom)
pkgdesc="A cross-platform application and UI framework (mingw-w64)"
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-ninja"
Expand Down Expand Up @@ -46,21 +46,19 @@ source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/subm
005-Allow-overriding-CMAKE_FIND_LIBRARY_SUFFIXES-to-pref.patch
006-qt-6.2.0-dont-add-resource-files-to-qmake-libs.patch
007-Fix-crashes-in-rasterization-code-using-setjmp.patch
008-Fix-definition-of-QOSV-MacOSSonoma.patch::https://invent.kde.org/qt/qt/qtbase/-/commit/5d597f6a.patch
009-qfileinfo-undefine-mingw-stat.patch
010-export-some-constexpr-variables.patch
011-qt6-windeployqt-fixes.patch
012-fix-unicode-definitions-in-cmake-interface.patch
https://download.qt.io/official_releases/qt/6.5/CVE-2023-43114-6.5.patch)
sha256sums=('3db4c729b4d80a9d8fda8dd77128406353baff4755ca619177eda4cddae71269'
sha256sums=('df2f4a230be4ea04f9798f2c19ab1413a3b8ec6a80bef359f50284235307b546'
'bdfe9069b91f560d5cc0e0b05120b6051d804f10f96d4743ddf538c2db1379fc'
'3848318bccdfa21a139ccdb70f8226358c4a7ed3943231494aab3df83025d7c7'
'68156b8b7717a0ce19c4b991942469171bfa048cd5c90765115a546e65669a1d'
'142ed248e8025360a8a6b93bece2a13bef9f032d42723f36df730a5e2d00bcdd'
'b644586be741dabf66b79bcc2eed71727739f4b301e0ae7da35506b30605aeb5'
'4085a10b290b8e3d930de535cbad2ba3e643432cba433aa2b28fe664f86d38a3'
'3a256533401a48aff7e3c4b02118d62a0cccc2b3566c6e550e7b467aca3e496f'
'f86488d8c99883c1704b44c20351a5d68ba552dca704497252d9f550fc6e06d8'
'97a00b185fe6a952eeb3b8b154996e0527fd78a75150e908cd6acd61676fd453'
'b193d60fb3ecd97c297d797075d1c92f39dd2259a2288f45c2a39798866eb15d'
'7f1a0a14f423741956253690d16d635055a8e887fe39f7f0160d40c5c63ae1b1'
Expand Down Expand Up @@ -94,7 +92,6 @@ prepare() {
005-Allow-overriding-CMAKE_FIND_LIBRARY_SUFFIXES-to-pref.patch \
006-qt-6.2.0-dont-add-resource-files-to-qmake-libs.patch \
007-Fix-crashes-in-rasterization-code-using-setjmp.patch \
008-Fix-definition-of-QOSV-MacOSSonoma.patch \
009-qfileinfo-undefine-mingw-stat.patch \
011-qt6-windeployqt-fixes.patch \
CVE-2023-43114-6.5.patch
Expand Down
8 changes: 4 additions & 4 deletions mingw-w64-qt6-charts/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,23 @@ _realname=qt6-charts
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-debug")
_qtver=6.5.2
_qtver=6.5.3
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
license=(spdx:GPL-3.0-only spdx:BSD-3-Clause spdx:GFDL-1.3-no-invariants-only spdx:Qt-GPL-exception-1.0)
pkgdesc='Provides a set of easy to use chart components (mingw-w64)'
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-ninja"
"${MINGW_PACKAGE_PREFIX}-qt6-declarative"
"${MINGW_PACKAGE_PREFIX}-qt6-multimedia"
"rsync")
options=('!strip')
_pkgfn="${_realname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfn}.tar.xz")
sha256sums=('775af7be019cca698b27e5acffbc2def8f7a5b8f06f5c6db2a7015d578a6ad2d')
sha256sums=('4a9b800e0af5bfded97592aa5836cfd761bf4de1ada414a603951f021d752ed9')

build() {
mkdir -p build-${MSYSTEM} && cd build-${MSYSTEM}
Expand Down Expand Up @@ -56,6 +55,7 @@ package_qt6-charts-debug() {
depends=("${MINGW_PACKAGE_PREFIX}-qt6-base-debug"
"${MINGW_PACKAGE_PREFIX}-${_realname}")
groups=("${MINGW_PACKAGE_PREFIX}-qt6-debug")
options=('!strip')

cp -rf ${srcdir}/${MSYSTEM}-debug${MINGW_PREFIX} "${pkgdir}"/
}
Expand Down
8 changes: 4 additions & 4 deletions mingw-w64-qt6-connectivity/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,22 @@ _realname=qt6-connectivity
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-debug")
_qtver=6.5.2
_qtver=6.5.3
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
license=(spdx:LGPL-3.0-only spdx:Apache-2.0 spdx:BSD-3-Clause spdx:GFDL-1.3-no-invariants-only spdx:GPL-2.0-only spdx:GPL-3.0-only spdx:Qt-GPL-exception-1.0)
pkgdesc='Provides access to Bluetooth hardware (mingw-w64)'
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-ninja"
"${MINGW_PACKAGE_PREFIX}-qt6-declarative"
"rsync")
options=('!strip')
_pkgfn="${_realname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfn}.tar.xz")
sha256sums=('db2e4922352d253cafbb8f21eeca58da269c19e0e6d614420af19a7cd35fdc99')
sha256sums=('242231b06071eff72c8b2a39e54bf813f7eed3ef53473d2eb711603634be3f5b')

build() {
mkdir -p build-${MSYSTEM} && cd build-${MSYSTEM}
Expand Down Expand Up @@ -54,6 +53,7 @@ package_qt6-connectivity-debug() {
depends=("${MINGW_PACKAGE_PREFIX}-qt6-base-debug"
"${MINGW_PACKAGE_PREFIX}-${_realname}")
groups=("${MINGW_PACKAGE_PREFIX}-qt6-debug")
options=('!strip')

cp -rf ${srcdir}/${MSYSTEM}-debug${MINGW_PREFIX} "${pkgdir}"/
}
Expand Down
8 changes: 4 additions & 4 deletions mingw-w64-qt6-declarative/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,24 @@ _realname=qt6-declarative
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-debug")
_qtver=6.5.2
_qtver=6.5.3
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
license=(spdx:LGPL-3.0-only spdx:BSD-3-Clause spdx:GFDL-1.3-no-invariants-only spdx:GPL-2.0-only spdx:GPL-3.0-only spdx:Qt-GPL-exception-1.0)
pkgdesc='Classes for QML and JavaScript languages (mingw-w64)'
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-ninja"
"${MINGW_PACKAGE_PREFIX}-qt6-shadertools"
"${MINGW_PACKAGE_PREFIX}-qt6-languageserver"
"rsync")
options=('!strip')
_pkgfn="${_realname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfn}.tar.xz"
001-appending-qt6-to-remove-qt5-conflict.patch)
sha256sums=('f3a11fe54e9fac77c649e46e39f1cbe161e9efe89bad205115ba2861b1eb8719'
sha256sums=('404dd6d2d206bb882ecd6622f0c708c9d6bd724a4d83776e13c49761c159d215'
'b08b7a9cd263eaa2f09ec1b7718d79c253b4e30f3a1f47df6c89fa2e85d7659d')

# Helper macros to help make tasks easier #
Expand Down Expand Up @@ -79,6 +78,7 @@ package_qt6-declarative-debug() {
conflicts=("${MINGW_PACKAGE_PREFIX}-qt6-quickcontrols2-debug")
replaces=("${MINGW_PACKAGE_PREFIX}-qt6-quickcontrols2-debug")
groups=("${MINGW_PACKAGE_PREFIX}-qt6-debug")
options=('!strip')

cp -rf ${srcdir}/${MSYSTEM}-debug${MINGW_PREFIX} "${pkgdir}"/
}
Expand Down
4 changes: 2 additions & 2 deletions mingw-w64-qt6-grpc/001-fix-build-with-grpc-1.53.patch
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ index 3a750c5..520e2c5 100644

-#include <set>
#include <google/protobuf/compiler/code_generator.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/io/printer.h>
diff --git a/src/tools/qtgrpcgen/qgrpcgenerator.h b/src/tools/qtgrpcgen/qgrpcgenerator.h
index ea40438..5f842f0 100644
--- a/src/tools/qtgrpcgen/qgrpcgenerator.h
Expand Down
80 changes: 26 additions & 54 deletions mingw-w64-qt6-grpc/002-fix-build-with-protobuf-23.patch
Original file line number Diff line number Diff line change
@@ -1,68 +1,40 @@
diff --git a/src/tools/qtgrpcgen/clientdeclarationprinter.cpp b/src/tools/qtgrpcgen/clientdeclarationprinter.cpp
index 9bd57a1..eedb91f 100644
--- a/src/tools/qtgrpcgen/clientdeclarationprinter.cpp
+++ b/src/tools/qtgrpcgen/clientdeclarationprinter.cpp
@@ -8,7 +8,6 @@
#include <google/protobuf/io/printer.h>
#include <google/protobuf/io/zero_copy_stream.h>
#include <google/protobuf/stubs/common.h>
-#include <google/protobuf/stubs/logging.h>

#include <string>
#include <unordered_set>
diff --git a/src/tools/qtgrpcgen/qgrpcgenerator.cpp b/src/tools/qtgrpcgen/qgrpcgenerator.cpp
index 4cab74d..1d5e04d 100644
index ace0b68..bf90e52 100644
--- a/src/tools/qtgrpcgen/qgrpcgenerator.cpp
+++ b/src/tools/qtgrpcgen/qgrpcgenerator.cpp
@@ -12,7 +12,7 @@

#include <set>
#include <google/protobuf/compiler/code_generator.h>
+#include <google/protobuf/descriptor_legacy.h>
-#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/io/zero_copy_stream.h>
@@ -35,7 +34,7 @@ bool QGrpcGenerator::Generate(const FileDescriptor *file,
std::string *error) const
@@ -30,13 +30,9 @@ QGrpcGenerator::~QGrpcGenerator() = default;
bool QGrpcGenerator::Generate(const FileDescriptor *file,
[[maybe_unused]] const std::string &parameter,
GeneratorContext *generatorContext,
- std::string *error) const
+ [[maybe_unused]] std::string *error) const
{
assert(file != nullptr && generatorContext != nullptr);
- if (file->syntax() != FileDescriptor::SYNTAX_PROTO3) {
+ if (FileDescriptorLegacy(file).syntax() != FileDescriptorLegacy::SYNTAX_PROTO3) {
*error = "Invalid proto used. qtgrpcgen only supports 'proto3' syntax";
return false;
}
- *error = "Invalid proto used. qtgrpcgen only supports 'proto3' syntax";
- return false;
- }

// Check if .proto files contain client side or bidirectional streaming
// methods which are not supported.
diff --git a/src/tools/qtprotobufgen/qprotobufgenerator.cpp b/src/tools/qtprotobufgen/qprotobufgenerator.cpp
index 5a1ccc2..e0d8981 100644
index 3969d1e..288ac64 100644
--- a/src/tools/qtprotobufgen/qprotobufgenerator.cpp
+++ b/src/tools/qtprotobufgen/qprotobufgenerator.cpp
@@ -17,7 +17,7 @@
#include <array>
#include <numeric>
#include <set>
+#include <google/protobuf/descriptor_legacy.h>
-#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/io/zero_copy_stream.h>
@@ -41,7 +40,7 @@ bool QProtobufGenerator::Generate(const FileDescriptor *file,
@@ -36,15 +36,10 @@ QProtobufGenerator::~QProtobufGenerator() = default;
bool QProtobufGenerator::Generate(const FileDescriptor *file,
[[maybe_unused]] const std::string &parameter,
GeneratorContext *generatorContext,
- std::string *error) const
+ [[maybe_unused]] std::string *error) const
{
assert(file != nullptr && generatorContext != nullptr);

- if (file->syntax() != FileDescriptor::SYNTAX_PROTO3) {
+ if (FileDescriptorLegacy(file).syntax() != FileDescriptorLegacy::SYNTAX_PROTO3) {
*error = "Invalid proto used. qtprotobufgen only supports 'proto3' syntax";
return false;
}
diff --git a/src/tools/qtprotoccommon/generatorbase.cpp b/src/tools/qtprotoccommon/generatorbase.cpp
index bc51206..1004c61 100644
--- a/src/tools/qtprotoccommon/generatorbase.cpp
+++ b/src/tools/qtprotoccommon/generatorbase.cpp
@@ -5,7 +5,6 @@
#include "generatorbase.h"
- *error = "Invalid proto used. qtprotobufgen only supports 'proto3' syntax";
- return false;
- }
-
return GenerateMessages(file, generatorContext);
}

#include <google/protobuf/descriptor.h>
-#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/io/zero_copy_stream.h>
19 changes: 11 additions & 8 deletions mingw-w64-qt6-grpc/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ _realname=qt6-grpc
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-debug")
_qtver=6.5.2
_qtver=6.5.3
pkgver=${_qtver/-/}
pkgrel=2
pkgrel=1
arch=(any)
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
license=(spdx:LGPL-3.0-only spdx:BSD-3-Clause spdx:GFDL-1.3-no-invariants-only spdx:GPL-2.0-only spdx:GPL-3.0-only spdx:Qt-GPL-exception-1.0)
pkgdesc='Qt gRPC and Protobuf generator and bindings. (mingw-w64)'
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-cmake"
Expand All @@ -19,14 +19,13 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-grpc"
"${MINGW_PACKAGE_PREFIX}-protobuf"
"rsync")
options=('!strip')
_pkgfn="${_realname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfn}.tar.xz"
"001-fix-build-with-grpc-1.53.patch"
"002-fix-build-with-protobuf-23.patch")
sha256sums=('7ab2969b07cde418cce87a8aa7904e218d235222ea927949f153dde3ade0d204'
'6318facf1729903a53ba6c1785e5b89277001b5a51182a24c6e91db52766fa55'
'353774a32444def3db3a8d6056820b758750b47579b683a2c42105191121c281')
sha256sums=('6ebf7a73daa6388e15e95a1de021dc4d097fe0f6b71b106178c388cc7ec18b83'
'506c2f883c563dacc8bf223446619bfbe3fb3bd3a13737978b90416b6246c774'
'a5547d6e489f8a76a507ad3f4650aa1a5e2c68c078cd51a25cc0f980a77792b2')

# Helper macros to help make tasks easier #
apply_patch_with_msg() {
Expand All @@ -40,8 +39,11 @@ apply_patch_with_msg() {
prepare() {
cd $srcdir/${_pkgfn}

# https://code.qt.io/cgit/qt/qtgrpc.git/commit/?h=6.6.0&id=65a87960
apply_patch_with_msg \
001-fix-build-with-grpc-1.53.patch
# https://code.qt.io/cgit/qt/qtgrpc.git/commit/?h=6.6.0&id=e55cc9de
apply_patch_with_msg \
001-fix-build-with-grpc-1.53.patch \
002-fix-build-with-protobuf-23.patch
}

Expand Down Expand Up @@ -80,6 +82,7 @@ package_qt6-grpc-debug() {
depends=("${MINGW_PACKAGE_PREFIX}-qt6-base-debug"
"${MINGW_PACKAGE_PREFIX}-${_realname}")
groups=("${MINGW_PACKAGE_PREFIX}-qt6-debug")
options=('!strip')

cp -rf ${srcdir}/${MSYSTEM}-debug${MINGW_PREFIX} "${pkgdir}"/
}
Expand Down
Loading

0 comments on commit 0df1750

Please sign in to comment.