aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt5-qtwayland/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qt5-qtwayland/APKBUILD')
-rw-r--r--community/qt5-qtwayland/APKBUILD24
1 files changed, 15 insertions, 9 deletions
diff --git a/community/qt5-qtwayland/APKBUILD b/community/qt5-qtwayland/APKBUILD
index a4bcd04b75..c9fbad9a8c 100644
--- a/community/qt5-qtwayland/APKBUILD
+++ b/community/qt5-qtwayland/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtwayland
-pkgver=5.15.2
-pkgrel=2
+pkgver=5.15.3_git20210510
+pkgrel=0
+_commit="d5186701e27ad6f09f3944809cec2a25c5328026"
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"
@@ -24,14 +25,17 @@ subpackages="$pkgname-dev"
# Wayland session is available on the system
install_if="wayland-libs-client qt5-qtbase"
-builddir="$srcdir/qtwayland-everywhere-src-$pkgver"
+builddir="$srcdir/qtwayland-$_commit"
-case $pkgver in
- *_beta*|*_rc*) _rel=development_releases;;
- *) _rel=official_releases;;
-esac
+source="https://invent.kde.org/qt/qt/qtwayland/-/archive/$_commit/qtwayland-$_commit.tar.gz"
-source="http://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtwayland-everywhere-src-$pkgver.tar.xz"
+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
@@ -49,4 +53,6 @@ package() {
find "$pkgdir/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
}
-sha512sums="e8657ed676873da7b949e6a1605d025918a03336af9c68f32741945ec3c71a604def55bb00737ba4d97b91c00d0e2df1a83cdcedcf5795c6b2a1ef2caa21c91c qtwayland-everywhere-src-5.15.2.tar.xz"
+sha512sums="
+bbd8b427582e982c01a9510e8f4d6274639d757e428b8fdc09354cf359ec76baa56898dfbfb96f95d08acb1cf9fc93bf1fc8b831fd632e13d9ccee52295d6801 qtwayland-d5186701e27ad6f09f3944809cec2a25c5328026.tar.gz
+"