* update qt6-base to 6.1.0-1

This commit is contained in:
Alexander Baldeck 2021-05-28 12:57:55 +02:00
parent 4731a861fb
commit d0cbc5345f

View File

@ -4,9 +4,9 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=qt6-base
_qtver=6.0.3
_qtver=6.1.0
pkgver=${_qtver/-/}
pkgrel=3
pkgrel=1
arch=(x86_64 powerpc64le)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
@ -27,11 +27,11 @@ depends_x86_64=(libb2)
makedepends_x86_64=(libfbclient)
optdepends_x86_64=('libfbclient: Firebird/iBase driver')
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)
sha256sums=('1a45b61c2a349964625c50e3ea40cbb309e269762dd0786397e0e18e7e10d394'
_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)
sha256sums=('f7af3c87e96051d09b5abce6c88277c33031bef241ebfe1db4106d33ed0814c4'
'cf707cd970650f8b60f8897692b36708ded9ba116723ec8fcd885576783fe85c'
'4b93f6a79039e676a56f9d6990a324a64a36f143916065973ded89adc621e094')
@ -44,6 +44,7 @@ build() {
cmake -B build -S $_pkgfn \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_BINDIR=lib/qt6/bin \
-DINSTALL_PUBLICBINDIR=usr/bin \
-DINSTALL_LIBEXECDIR=lib/qt6 \
-DINSTALL_DOCDIR=share/doc/qt6 \
-DINSTALL_ARCHDATADIR=lib/qt6 \
@ -62,9 +63,10 @@ package() {
install -Dm644 $_pkgfn/LICENSE* -t "$pkgdir"/usr/share/licenses/$pkgbase
# Symlinks for backwards compatibility
mkdir -p "$pkgdir"/usr/bin
for _b in qmake androidqt androidtestrunner; do
ln -s /usr/lib/qt6/bin/$_b "$pkgdir"/usr/bin/${_b}6
done
# Install symlinks for user-facing tools
cd "$pkgdir"
mkdir usr/bin
while read _line; do
ln -s $_line
done < "$srcdir"/build/user_facing_tool_links.txt
}