aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 13:57:38 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:35 +0200
commita3273d86ab1cce0d7a2f4c31ee3ddc9de0c84fc3 (patch)
treecedc8529ab845ae6da4c691c588d828a27f0ec34
parentabdf7a13b0b8e1bedce7ea8d433f9fedb89c9a05 (diff)
downloadaports-a3273d86ab1cce0d7a2f4c31ee3ddc9de0c84fc3.tar.gz
aports-a3273d86ab1cce0d7a2f4c31ee3ddc9de0c84fc3.tar.bz2
aports-a3273d86ab1cce0d7a2f4c31ee3ddc9de0c84fc3.tar.xz
community/qt5-qtserialbus: apply latest KDE patches
-rw-r--r--community/qt5-qtserialbus/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtserialbus/APKBUILD b/community/qt5-qtserialbus/APKBUILD
index 36849270c4..1e9bc71787 100644
--- a/community/qt5-qtserialbus/APKBUILD
+++ b/community/qt5-qtserialbus/APKBUILD
@@ -1,22 +1,31 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtserialbus
-pkgver=5.15.2
-pkgrel=1
+pkgver=5.15.3_git20201028
+pkgrel=0
+_commit="8884c5e43df846deac5a0c7c290eeb633d6bfe32"
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 module for general purpose serial bus access"
makedepends="qt5-qtbase-dev"
subpackages="$pkgname-dev $pkgname-doc"
-builddir="$srcdir/qtserialbus-everywhere-src-$pkgver"
+builddir="$srcdir/qtserialbus-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="http://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtserialbus-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtserialbus/-/archive/$_commit/qtserialbus-$_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="c4793f5425ca0191435d75a8fd95a623cc847d41b8722421c0bf0fdfddda1a158fd2a00f5d997f00de4fcb271a158f3273d636ef2553ccd6b90b4d072b1eb55b qtserialbus-everywhere-src-5.15.2.tar.xz"
+sha512sums="ffe33ec823e2b24e883dc6527986622ead64e509bbae481647095b9eecd98bc17adb0d1797163f9ff19077c46cf284fac57e531306437d3a263010b54de60b13 qtserialbus-8884c5e43df846deac5a0c7c290eeb633d6bfe32.tar.gz"