[arch-commits] Commit in qt6-declarative/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon May 2 13:25:34 UTC 2022
Date: Monday, May 2, 2022 @ 13:25:34
Author: arojas
Revision: 444397
Fix build of qmlls (FS#74600)
Modified:
qt6-declarative/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-02 12:59:43 UTC (rev 444396)
+++ PKGBUILD 2022-05-02 13:25:34 UTC (rev 444397)
@@ -5,7 +5,7 @@
pkgname=qt6-declarative
_qtver=6.3.0
pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
@@ -19,9 +19,15 @@
groups=(qt6)
options=(debug)
_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
-source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
-sha256sums=('d294b029dc2b2d4f65da516fdc3b8088d32643eb7ff77db135a8b9ce904caa37')
+source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz
+ fix-qmlls-build.patch::https://code.qt.io/cgit/qt/qtdeclarative.git/patch/?id=95665d84)
+sha256sums=('d294b029dc2b2d4f65da516fdc3b8088d32643eb7ff77db135a8b9ce904caa37'
+ '4efef4778b5ac0380c50e5980396d432fe46b4b2f563eed56e2d60b07e88a014')
+prepare() {
+ patch -d $_pkgfn -p1 < fix-qmlls-build.patch
+}
+
build() {
export CXXFLAGS+=" -ffat-lto-objects"
cmake -B build -S $_pkgfn -G Ninja \
More information about the arch-commits
mailing list