aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 14:13:12 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:35 +0200
commitb4d4a64415e53ba6c3b3090522f4f7dc09d14b06 (patch)
tree700719e56b390007590f30af4ad6a10d3caf9d7c
parent9b8f285598b22401950ec3a1e68a5a1d1d3504ef (diff)
downloadaports-b4d4a64415e53ba6c3b3090522f4f7dc09d14b06.tar.gz
aports-b4d4a64415e53ba6c3b3090522f4f7dc09d14b06.tar.bz2
aports-b4d4a64415e53ba6c3b3090522f4f7dc09d14b06.tar.xz
community/qt5-qtx11extras: apply latest KDE patches
-rw-r--r--community/qt5-qtx11extras/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtx11extras/APKBUILD b/community/qt5-qtx11extras/APKBUILD
index 0ca49d7019..7ad991cbd4 100644
--- a/community/qt5-qtx11extras/APKBUILD
+++ b/community/qt5-qtx11extras/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtx11extras
-pkgver=5.15.2
-pkgrel=1
+pkgver=5.15.3_git20201027
+pkgrel=0
+_commit="3898f5484fd4864b047729bfeda9a1222f32364f"
pkgdesc="Provides platform-specific APIs for X11"
url="https://www.qt.io/developers/"
arch="all"
@@ -10,14 +11,22 @@ license="(LGPL-3.0-or-later OR GPL-3.0-only OR GPL-2.0-or-later) AND Qt-GPL-exce
makedepends="qt5-qtbase-dev"
subpackages="$pkgname-dev"
replaces="qt5-x11extras"
-builddir="$srcdir/qtx11extras-everywhere-src-$pkgver"
+builddir="$srcdir/qtx11extras-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtx11extras-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtx11extras/-/archive/$_commit/qtx11extras-$_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
@@ -39,4 +48,4 @@ package() {
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
}
-sha512sums="beaefc865299f4e7c637baa96eb3a69adbe1a41fc7735b46cfec0768c9243391600e69078630fffb4aceba106b7512fd802e745abc38ddab5253233301c93ed9 qtx11extras-everywhere-src-5.15.2.tar.xz"
+sha512sums="3fd49498c92c37feb1d36cd94a76b37aade8a925efedd9f07046c7fcf1a0692e2f72d48c0b3263810ae69f5cd704cfce808e9714eb6a14fc0e228e05c88bf137 qtx11extras-3898f5484fd4864b047729bfeda9a1222f32364f.tar.gz"