aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 13:41:35 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:34 +0200
commit3dcd2022e3424c1af3d6c127c8eafb427adc6ce3 (patch)
tree7bf5ef51bcdf425f5f5e89b18356f126970c5b91
parentf0b139a80fd7a9845d05281e869b61d0121ee629 (diff)
downloadaports-3dcd2022e3424c1af3d6c127c8eafb427adc6ce3.tar.gz
aports-3dcd2022e3424c1af3d6c127c8eafb427adc6ce3.tar.bz2
aports-3dcd2022e3424c1af3d6c127c8eafb427adc6ce3.tar.xz
community/qt5-qtpurchasing: apply latest KDE patches
-rw-r--r--community/qt5-qtpurchasing/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtpurchasing/APKBUILD b/community/qt5-qtpurchasing/APKBUILD
index af1c69faff..3d65346b12 100644
--- a/community/qt5-qtpurchasing/APKBUILD
+++ b/community/qt5-qtpurchasing/APKBUILD
@@ -1,22 +1,31 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtpurchasing
-pkgver=5.15.2
-pkgrel=1
+pkgver=5.15.3_git20201028
+pkgrel=0
+_commit="cbf444fb570ca4f4ca21d963d2ae4010f10d473e"
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 In-app purchasing API"
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"
subpackages="$pkgname-dev $pkgname-doc"
-builddir="$srcdir/qtpurchasing-everywhere-src-$pkgver"
+builddir="$srcdir/qtpurchasing-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="http://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtpurchasing-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtpurchasing/-/archive/$_commit/qtpurchasing-$_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="1a40fd3ca149f9c8fc98a45562b37fc97c7addc513d40f50997576648d441d379179370c6491a003982feafe96736047a8faf09caf36eaeea5a97553f75d1255 qtpurchasing-everywhere-src-5.15.2.tar.xz"
+sha512sums="2cbd111643296d7e2341d872e4705973dc92ba3f9018739c9d7b018c119e786ce15b17818c218bba3d1a375542078a37a2d79d5319e47d399b81838268f9b085 qtpurchasing-cbf444fb570ca4f4ca21d963d2ae4010f10d473e.tar.gz"