extra/qt6-base to 6.2.3-5

This commit is contained in:
Kevin Mihelich 2022-02-11 21:19:39 +00:00
parent 3b78d5dac7
commit 23f5a962c4
3 changed files with 7 additions and 7 deletions

View file

@ -9,7 +9,7 @@
pkgname=qt6-base
_qtver=6.2.3
pkgver=${_qtver/-/}
pkgrel=4
pkgrel=5
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
@ -31,15 +31,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
qt6-base-cflags.patch
qt6-base-nostrip.patch)
qmake-cflags.patch
qmake-config.patch)
sha256sums=('34d6d0072e197241463c417ad72610c3d44e2efd6062868e9a95283103d75df4'
'5411edbe215c24b30448fac69bd0ba7c882f545e8cf05027b2b6e2227abc5e78'
'4b93f6a79039e676a56f9d6990a324a64a36f143916065973ded89adc621e094')
'4abc22150fa3e06b2fdcec32146abc9be4e316692aa4d5bd5aa53b4b726783fa')
prepare() {
patch -d $_pkgfn -p1 < qt6-base-cflags.patch # Use system CFLAGS
patch -d $_pkgfn -p1 < qt6-base-nostrip.patch # Don't strip binaries with qmake
patch -d $_pkgfn -p1 < qmake-cflags.patch # Use system CFLAGS
patch -d $_pkgfn -p1 < qmake-config.patch # Don't strip binaries with qmake and use -ltcg, cf. QTBUG-73834
}
build() {

View file

@ -6,7 +6,7 @@ index 99d77156fd..fc840fe9f6 100644
# you can use the manual test in tests/manual/mkspecs.
#
+CONFIG += nostrip
+CONFIG += nostrip ltcg
+
QMAKE_CFLAGS_OPTIMIZE = -O2
QMAKE_CFLAGS_OPTIMIZE_FULL = -O3