aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 12:34:30 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:33 +0200
commit6c17978eb2763444eb24b07381f7317b74cc6f98 (patch)
treeec14e4d5d7fbe73b0913ab939811789133abbc11
parentbf3ae066b9528b180cf9bd90f974ee40860f0754 (diff)
downloadaports-6c17978eb2763444eb24b07381f7317b74cc6f98.tar.gz
aports-6c17978eb2763444eb24b07381f7317b74cc6f98.tar.bz2
aports-6c17978eb2763444eb24b07381f7317b74cc6f98.tar.xz
community/qt5-qtdeclarative: apply latest KDE patches
-rw-r--r--community/qt5-qtdeclarative/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtdeclarative/APKBUILD b/community/qt5-qtdeclarative/APKBUILD
index a8d325902a..e45cda8343 100644
--- a/community/qt5-qtdeclarative/APKBUILD
+++ b/community/qt5-qtdeclarative/APKBUILD
@@ -1,7 +1,8 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtdeclarative
-pkgver=5.15.2
-pkgrel=3
+pkgver=5.15.3_git20210104
+pkgrel=0
+_commit="e203a185cfab199a89a33b903096d6d0023a8a88"
pkgdesc="Qt5 - QtDeclarative component"
# Broken on armhf, upstream bug report https://bugreports.qt.io/browse/QTBUG-65246
arch="all"
@@ -13,19 +14,27 @@ makedepends="
vulkan-headers
"
subpackages="$pkgname-dev $pkgname-dbg"
-builddir="$srcdir/qtdeclarative-everywhere-src-$pkgver"
+builddir="$srcdir/qtdeclarative-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtdeclarative-everywhere-src-$pkgver.tar.xz
+source="https://invent.kde.org/qt/qt/qtdeclarative/-/archive/$_commit/qtdeclarative-$_commit.tar.gz
qt-musl-stackbottom.patch
"
_qt5_prefix=/usr/lib/qt5
+prepare() {
+ default_prepare
+
+ # We need to make the build system think we're running in a git repository
+ # so it correctly symlinks during the build
+ mkdir .git
+}
+
build() {
# HACK so calls to "python" get what we want
ln -s /usr/bin/python3 python
@@ -62,5 +71,5 @@ dev() {
done
}
-sha512sums="a084e4ace0d6868668c95f1b62598a7dd0f455bfb0943ac8956802d7041436686f20c7ccdde7d6fd6c4b8173c936dd8600cf3b87bf8575f55514edfbb51111d3 qtdeclarative-everywhere-src-5.15.2.tar.xz
+sha512sums="e19285d66904246dadfd6b0742db03ce4f5f0dff33b7761d5b1da9d4adc3451f65ebb1f1ed7db8b123dd5362f832c2e439d9fd225932c8d2d48ea91c6b6a1ea1 qtdeclarative-e203a185cfab199a89a33b903096d6d0023a8a88.tar.gz
235091cc1da51c31165a99932c95543d999c0f21b2c6b4318306b647662d420f88d7270ec21db7417fe9f8d87bfa3e5f01b6465c3542da024dd1623ef0a87681 qt-musl-stackbottom.patch"