extra/qt6-base to 6.5.1-2

This commit is contained in:
David Beauchamp 2023-06-07 16:01:47 -04:00
parent 64750dd6ca
commit 514b60871a

View file

@ -9,7 +9,7 @@
pkgname=qt6-base pkgname=qt6-base
_qtver=6.5.1 _qtver=6.5.1
pkgver=${_qtver/-/} pkgver=${_qtver/-/}
pkgrel=1 pkgrel=2
arch=(x86_64) arch=(x86_64)
url='https://www.qt.io' url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom) license=(GPL3 LGPL3 FDL custom)
@ -30,15 +30,18 @@ optdepends=('qt6-wayland: to run Qt6 applications in a Wayland session'
groups=(qt6) groups=(qt6)
_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver _pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz
qtbug-114204.patch::https://code.qt.io/cgit/qt/qtbase.git/patch/?id=9177dbd8
qt6-base-cflags.patch qt6-base-cflags.patch
qt6-base-nostrip.patch) qt6-base-nostrip.patch)
sha256sums=('db56fa1f4303a1189fe33418d25d1924931c7aef237f89eea9de58e858eebfed' sha256sums=('db56fa1f4303a1189fe33418d25d1924931c7aef237f89eea9de58e858eebfed'
'1730b675ede24d80c2e73a2f662cc73718f3060c0b8a707784d188bb11297c4e'
'5411edbe215c24b30448fac69bd0ba7c882f545e8cf05027b2b6e2227abc5e78' '5411edbe215c24b30448fac69bd0ba7c882f545e8cf05027b2b6e2227abc5e78'
'4b93f6a79039e676a56f9d6990a324a64a36f143916065973ded89adc621e094') '4b93f6a79039e676a56f9d6990a324a64a36f143916065973ded89adc621e094')
prepare() { prepare() {
patch -d $_pkgfn -p1 < qt6-base-cflags.patch # Use system CFLAGS 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 < qt6-base-nostrip.patch # Don't strip binaries with qmake
patch -d $_pkgfn -p1 < qtbug-114204.patch # Fix vertical tabbar regression
} }
build() { build() {