author | Antonio Rojas
<arojas@archlinux.org> 2022-03-04 11:12:39 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2022-03-04 11:12:39 UTC |
parent | 22255d7ce8e5b699d0e49f84af6b5aa121cbc97c |
PKGBUILD | +5 | -7 |
diff --git a/PKGBUILD b/PKGBUILD index e9da6e0..9083950 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,9 +3,10 @@ pkgbase=qt5-base pkgname=(qt5-base qt5-xcb-private-headers) -pkgver=5.15.2+kde+r305 +_basever=5.15.3 +pkgver=5.15.3+kde+r120 pkgrel=1 -_commit=77c620f0a1f8a5e8e126fd00a7beba6ac8005ad0 +_commit=6c11375ecad82026c029d6118ee84cf75e1d833c arch=('x86_64') url='https://www.qt.io' license=('GPL3' 'LGPL3' 'FDL' 'custom') @@ -27,7 +28,7 @@ optdepends=('qt5-svg: to use SVG icon themes' 'perl: for fixqt4headers and syncqt') conflicts=('qtchooser') groups=('qt' 'qt5') -_pkgfqn=qtbase +_pkgfqn=${pkgbase/5-/} source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit qmake-cflags.patch qmake-config.patch) @@ -38,14 +39,11 @@ options=(debug) pkgver() { cd $_pkgfqn - echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$_commit` + echo "$_basever+kde+r"`git rev-list --count v$_basever-lts-lgpl..$_commit` } prepare() { cd ${_pkgfqn} - - git revert -n 6344955d17e17e2398720fe60c34cfc2a4a95208 # Revert version bump - patch -p1 < ../qmake-cflags.patch # Use system CFLAGS in qmake patch -p1 < ../qmake-config.patch # Don't strip binaries with qmake and use -ltcg, cf. QTBUG-73834 }