extra/qt6-base to 6.7.0-2

This commit is contained in:
Kevin Mihelich 2024-04-11 19:20:57 +00:00
parent 9d9070ab3a
commit 7a20333fd0
2 changed files with 19 additions and 12 deletions

View file

@ -1,7 +1,7 @@
pkgbase = qt6-base
pkgdesc = A cross-platform application and UI framework
pkgver = 6.6.3
pkgrel = 1
pkgver = 6.7.0
pkgrel = 2
url = https://www.qt.io
arch = x86_64
groups = qt6
@ -13,6 +13,7 @@ pkgbase = qt6-base
makedepends = cmake
makedepends = cups
makedepends = freetds
makedepends = git
makedepends = gst-plugins-base-libs
makedepends = gtk3
makedepends = libfbclient
@ -75,12 +76,14 @@ pkgbase = qt6-base
optdepends = postgresql-libs: PostgreSQL driver
optdepends = qt6-wayland: to run Qt6 applications in a Wayland session
optdepends = unixodbc: ODBC driver
source = https://download.qt.io/official_releases/qt/6.6/6.6.3/submodules/qtbase-everywhere-src-6.6.3.tar.xz
source = git+https://code.qt.io/qt/qtbase#tag=v6.7.0
source = qt6-base-cflags.patch
source = qt6-base-nostrip.patch
sha256sums = 0493fd0b380c4edf8872f011a7f26d245aa4cdd75b349904ef340a22dedf7462
source = fix-wrong-cpp-if.patch
sha256sums = ee87abbfdf2d5bb204056bcb6c53e21c03e1abd779e3669faa56db7249c5e39e
sha256sums = 5411edbe215c24b30448fac69bd0ba7c882f545e8cf05027b2b6e2227abc5e78
sha256sums = 4b93f6a79039e676a56f9d6990a324a64a36f143916065973ded89adc621e094
sha256sums = b5cb3a29738a2783242a96c9d94298421875dcabec4fc2b5d8c5329b66e63070
pkgname = qt6-base
pkgdesc = A cross-platform application and UI framework
@ -132,5 +135,5 @@ pkgname = qt6-base
pkgname = qt6-xcb-private-headers
pkgdesc = Private headers for Qt6 Xcb
groups =
depends = qt6-base=6.6.3
depends = qt6-base=6.7.0
optdepends =

View file

@ -8,9 +8,9 @@
pkgbase=qt6-base
pkgname=(qt6-base qt6-xcb-private-headers)
_qtver=6.6.3
_qtver=6.7.0
pkgver=${_qtver/-/}
pkgrel=1
pkgrel=2
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
@ -62,6 +62,7 @@ makedepends=(alsa-lib
cmake
cups
freetds
git
gst-plugins-base-libs
gtk3
libfbclient
@ -82,17 +83,20 @@ optdepends=('freetds: MS SQL driver'
'qt6-wayland: to run Qt6 applications in a Wayland session'
'unixodbc: ODBC driver')
groups=(qt6)
_pkgfn=${pkgbase/6-/}-everywhere-src-$_qtver
source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz
_pkgfn=${pkgbase/6-/}
source=(git+https://code.qt.io/qt/$_pkgfn#tag=v$pkgver
qt6-base-cflags.patch
qt6-base-nostrip.patch)
sha256sums=('0493fd0b380c4edf8872f011a7f26d245aa4cdd75b349904ef340a22dedf7462'
qt6-base-nostrip.patch
fix-wrong-cpp-if.patch::https://code.qt.io/cgit/qt/qtbase.git/patch/?id=68102202)
sha256sums=('ee87abbfdf2d5bb204056bcb6c53e21c03e1abd779e3669faa56db7249c5e39e'
'5411edbe215c24b30448fac69bd0ba7c882f545e8cf05027b2b6e2227abc5e78'
'4b93f6a79039e676a56f9d6990a324a64a36f143916065973ded89adc621e094')
'4b93f6a79039e676a56f9d6990a324a64a36f143916065973ded89adc621e094'
'81c4821fb1c258603474771a267d450aa8b5d1d298443bc04620d70719c7eab7')
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 < fix-wrong-cpp-if.patch # https://bugreports.qt.io/browse/QTBUG-123937
}
build() {