extra/qt6-base to 6.2.1-2

This commit is contained in:
David Beauchamp 2021-10-29 15:04:14 -04:00
parent 2b7d4da034
commit d0a76b3580

View file

@ -9,7 +9,7 @@
pkgname=qt6-base
_qtver=6.2.1
pkgver=${_qtver/-/}
pkgrel=1
pkgrel=2
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
@ -30,14 +30,17 @@ groups=(qt6)
_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)
qt6-base-nostrip.patch
qtbug-97811.patch::https://code.qt.io/cgit/qt/qtbase.git/patch/?id=ffc93236)
sha256sums=('2c5f07b5c3ea27d3fc1a46686ea3fb6724f94dddf1fb007de3eb0bdb87429079'
'cf707cd970650f8b60f8897692b36708ded9ba116723ec8fcd885576783fe85c'
'4b93f6a79039e676a56f9d6990a324a64a36f143916065973ded89adc621e094')
'4b93f6a79039e676a56f9d6990a324a64a36f143916065973ded89adc621e094'
'98b6871dabbf2cc6ed1742bed7b53248e1051340015d7f0974f6f1bf92a7aa9b')
prepare() {
patch -d $_pkgfn -p1 -i ../qt6-base-cflags.patch # Use system CFLAGS
patch -d $_pkgfn -p1 -i ../qt6-base-nostrip.patch # Don't strip binaries with qmake
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 < qtbug-97811.patch # Fix performance regression in scrollbars
}
build() {