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-svg -_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="qtsvg-everywhere-src-${_qtver}" source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('ec359d930c95935ea48af58b100c2f5d0d275968ec8ca1e0e76629b7159215fc') +sha256sums=('2dfc5de5fd891ff2afd9861e519bf1a26e6deb729b3133f68a28ba763c9abbd5') _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 -G Ninja -B build-$_arch -S $_pkgfqn \ -DFEATURE_pkg_config=ON cmake --build build-$_arch |