diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4,7 +4,7 @@ # you also find the URL of a binary repository. pkgname=mingw-w64-qt6-5compat-static -_qtver=6.9.0 +_qtver=6.9.1 pkgver=${_qtver/-/} pkgrel=1 arch=(any) @@ -17,13 +17,17 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') groups=(mingw-w64-qt6) _pkgfqn="qt5compat-everywhere-src-${_qtver}" source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('55be0539d3a12071fbe0cd57af17d6dc3fc52578b1649824975e26301f710763') +sha256sums=('96c726ac3f0d5c40570e75196e4ab5c95d3de7c85d15604fe97ac2a6573d917a') _architectures=${MINGW_W64_QT6_ARCHS:-x86_64-w64-mingw32} build() { for _arch in ${_architectures}; do export PKG_CONFIG=/usr/bin/$_arch-pkg-config + + # workaround https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120495 + [[ $pkgname =~ .*-clang-.* ]] || export CXXFLAGS+=' -Wno-template-body -fcoroutines' + $_arch-cmake-static -G Ninja -B build-$_arch -S $_pkgfqn \ -DCMAKE_INSTALL_PREFIX:PATH="/usr/$_arch/static" \ -DCMAKE_DISABLE_FIND_PACKAGE_harfbuzz=TRUE \ |