aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 14:20:32 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:36 +0200
commita376010db583909e7f4a24ca57b244e7dd30950a (patch)
treedbbb2d87d7f14bb525eb292698ab738b5892aedc
parentd475e463e8b15d2c571d50ec7caef8c0523492b8 (diff)
downloadaports-a376010db583909e7f4a24ca57b244e7dd30950a.tar.gz
aports-a376010db583909e7f4a24ca57b244e7dd30950a.tar.bz2
aports-a376010db583909e7f4a24ca57b244e7dd30950a.tar.xz
community/qt5-qtquickcontrols: apply latest KDE patches
-rw-r--r--community/qt5-qtquickcontrols/APKBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/community/qt5-qtquickcontrols/APKBUILD b/community/qt5-qtquickcontrols/APKBUILD
index a881d0664b..f607aa899a 100644
--- a/community/qt5-qtquickcontrols/APKBUILD
+++ b/community/qt5-qtquickcontrols/APKBUILD
@@ -1,20 +1,29 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtquickcontrols
-pkgver=5.15.2
+pkgver=5.15.3_git20201110
pkgrel=0
+_commit="cf3f6d7fec824cdf01f9b329ab3b92b1c0e0a420"
pkgdesc="Qt5 - module with set of QtQuick controls"
url="https://www.qt.io/developers/"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"
-builddir="$srcdir/qtquickcontrols-everywhere-src-$pkgver"
+builddir="$srcdir/qtquickcontrols-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtquickcontrols-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtquickcontrols/-/archive/$_commit/qtquickcontrols-$_commit.tar.gz"
+
+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() {
qmake-qt5
@@ -36,4 +45,4 @@ package() {
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
}
-sha512sums="52839e7442f4b6b5cbbb741d29ce28e9d2d9f5573499363d17252b166c1f318f37a19ecf1bf17f5cf6940bc29cc2987180b740ce036d924ff329dee9c37823a2 qtquickcontrols-everywhere-src-5.15.2.tar.xz"
+sha512sums="ca2d02bf01234a55ac22ff4fc5c1250d262acd7da273c796b192806b83ada57e94c8eb0eca68a1f9e491ac450f5bf6e6083fece9881883a92bffea1c9c6ce1fc qtquickcontrols-cf3f6d7fec824cdf01f9b329ab3b92b1c0e0a420.tar.gz"