aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 14:08:51 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:35 +0200
commit2120618c327a3ea154107c421b8d037928a561db (patch)
tree1424d167852d627c0a884893e00dcc469552101a
parentac92eb2ea26fd69580018007cbc6c2035232ac2f (diff)
downloadaports-2120618c327a3ea154107c421b8d037928a561db.tar.gz
aports-2120618c327a3ea154107c421b8d037928a561db.tar.bz2
aports-2120618c327a3ea154107c421b8d037928a561db.tar.xz
community/qt5-qtwebsockets: apply latest KDE patches
-rw-r--r--community/qt5-qtwebsockets/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtwebsockets/APKBUILD b/community/qt5-qtwebsockets/APKBUILD
index 6156a1087e..02b52691b7 100644
--- a/community/qt5-qtwebsockets/APKBUILD
+++ b/community/qt5-qtwebsockets/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtwebsockets
-pkgver=5.15.2
-pkgrel=1
+pkgver=5.15.3_git20201221
+pkgrel=0
+_commit="e7883bc64440b1ff4666272ac6eb710ee4bc221b"
pkgdesc="Provides WebSocket communication compliant with RFC 6455"
url="https://www.qt.io/developers/"
arch="all"
@@ -11,14 +12,22 @@ makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"
subpackages="$pkgname-dev"
replaces="qt5-websockets"
options="!check" # No tests
-builddir="$srcdir/qtwebsockets-everywhere-src-$pkgver"
+builddir="$srcdir/qtwebsockets-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtwebsockets-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtwebsockets/-/archive/$_commit/qtwebsockets-$_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="1b23b79bff4289e785daf51441daaecf6de66ca5a3febfdd8fdb8ce871471bca4faf7663d68b23aaf562b1ebd6e9c8c27b3074f4b93bc9fcd3a0c54f7f79a9c4 qtwebsockets-everywhere-src-5.15.2.tar.xz"
+sha512sums="35b1caed6462083014bbb83c6aa81b441f67da7f0e3813fc47997ca4fecfe5423eaef5dd4ed3c37f42dd311eded0e6b36cce6725c7028047ca21b454ded9257f qtwebsockets-e7883bc64440b1ff4666272ac6eb710ee4bc221b.tar.gz"