aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 12:50:02 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:33 +0200
commit9376424fbf8ad5a504775315c8927e9d52010ec3 (patch)
treefa8c34edac21167458488ed747e9cfcd6c6d0687
parentba54c04d7912285b68dda98e2e8a392620dcec85 (diff)
downloadaports-9376424fbf8ad5a504775315c8927e9d52010ec3.tar.gz
aports-9376424fbf8ad5a504775315c8927e9d52010ec3.tar.bz2
aports-9376424fbf8ad5a504775315c8927e9d52010ec3.tar.xz
community/qt5-qtdatavis3d: apply latest KDE patches
-rw-r--r--community/qt5-qtdatavis3d/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtdatavis3d/APKBUILD b/community/qt5-qtdatavis3d/APKBUILD
index aa66425a0f..e7faad9294 100644
--- a/community/qt5-qtdatavis3d/APKBUILD
+++ b/community/qt5-qtdatavis3d/APKBUILD
@@ -1,22 +1,31 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtdatavis3d
-pkgver=5.15.2
-pkgrel=1
+pkgver=5.15.3_git20201028
+pkgrel=0
+_commit="c085311c02dd216e5a041b90c164d55b3cf3ce92"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
url="https://www.qt.io/developers/"
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
pkgdesc="Qt Data Visualization module"
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"
subpackages="$pkgname-dev $pkgname-doc"
-builddir="$srcdir/qtdatavis3d-everywhere-src-$pkgver"
+builddir="$srcdir/qtdatavis3d-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="http://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtdatavis3d-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtdatavis3d/-/archive/$_commit/qtdatavis3d-$_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
@@ -37,4 +46,4 @@ package() {
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
}
-sha512sums="340b5ce1b1c2d8849b665e7bc84430fdf48e443fc149530ee132f325067f57d35594a23e3a8b920e1928ca5c429dcacfa098dadcbde63d4993f748c436af4cc3 qtdatavis3d-everywhere-src-5.15.2.tar.xz"
+sha512sums="f33a674f7c56627fcbffa3527f968c59c74983a2c7d4ce3ce3724432367abd0a7feb4bfaa5864b01f5639a40a2569e5bc861b0a35966e6aeb7570ffde7782681 qtdatavis3d-c085311c02dd216e5a041b90c164d55b3cf3ce92.tar.gz"