aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 13:38:05 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:34 +0200
commitf0b139a80fd7a9845d05281e869b61d0121ee629 (patch)
treefc614d1bb208824257a1de6a167e75deec6dda54
parentdb4b982e71922ed3275ca57190f1115e6f4e9c98 (diff)
downloadaports-f0b139a80fd7a9845d05281e869b61d0121ee629.tar.gz
aports-f0b139a80fd7a9845d05281e869b61d0121ee629.tar.bz2
aports-f0b139a80fd7a9845d05281e869b61d0121ee629.tar.xz
community/qt5-qtnetworkauth: apply latest KDE patches
-rw-r--r--community/qt5-qtnetworkauth/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtnetworkauth/APKBUILD b/community/qt5-qtnetworkauth/APKBUILD
index 62eec2a881..8add3949c7 100644
--- a/community/qt5-qtnetworkauth/APKBUILD
+++ b/community/qt5-qtnetworkauth/APKBUILD
@@ -1,22 +1,31 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtnetworkauth
-pkgver=5.15.2
-pkgrel=1
+pkgver=5.15.3_git20201028
+pkgrel=0
+_commit="53870ee9bb9117702cd1f11cb1c5d1cfc2d5394a"
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="Network authentication module"
makedepends="qt5-qtbase-dev"
subpackages="$pkgname-dev $pkgname-doc"
-builddir="$srcdir/qtnetworkauth-everywhere-src-$pkgver"
+builddir="$srcdir/qtnetworkauth-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="http://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtnetworkauth-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtnetworkauth/-/archive/$_commit/qtnetworkauth-$_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
@@ -33,4 +42,4 @@ package() {
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
}
-sha512sums="94843a74ae188eb0eff9559be6b246f61f87104479f6f52fe943b31a9263461a7051d967072d9061124b2bd056d7265645892104653c93dfcf68b11521f1c33d qtnetworkauth-everywhere-src-5.15.2.tar.xz"
+sha512sums="7a8297dcd699337ef5ac9feefc3246b81f962f5f8bb55353b4ec4ca9cd8591ff0370e733e5073fe4caeb17fbccadaa044dd9dee0ead122b6308a2f2ec9789ffd qtnetworkauth-53870ee9bb9117702cd1f11cb1c5d1cfc2d5394a.tar.gz"