aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 13:59:17 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:35 +0200
commit0b31edd24f6d63adf757fe2aafc0e84e35f6c209 (patch)
treee677856b82a3014de4ee7d44f21ab9be4102d2cf
parenta3273d86ab1cce0d7a2f4c31ee3ddc9de0c84fc3 (diff)
downloadaports-0b31edd24f6d63adf757fe2aafc0e84e35f6c209.tar.gz
aports-0b31edd24f6d63adf757fe2aafc0e84e35f6c209.tar.bz2
aports-0b31edd24f6d63adf757fe2aafc0e84e35f6c209.tar.xz
community/qt5-qtserialport: apply latest KDE patches
-rw-r--r--community/qt5-qtserialport/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtserialport/APKBUILD b/community/qt5-qtserialport/APKBUILD
index 5eb052494f..906beee1e9 100644
--- a/community/qt5-qtserialport/APKBUILD
+++ b/community/qt5-qtserialport/APKBUILD
@@ -1,22 +1,31 @@
# Contributor: Denis Ryabyy <vv1r0x@gmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtserialport
-pkgver=5.15.2
-pkgrel=1
+pkgver=5.15.3_git20201028
+pkgrel=0
+_commit="941d1d8560d1f3e40077c251fbde6fd6a5b0f0d4"
pkgdesc="Qt5 - QtSerialPort module"
url="https://wiki.qt.io/QtSerialPort"
arch="all"
license="(LGPL-2.0-or-later OR GPL-3.0-only OR GPL-2.0-or-later) AND Qt-GPL-exception-1.0"
makedepends="qt5-qtbase-dev eudev-dev"
subpackages="$pkgname-dev"
-builddir="$srcdir/qtserialport-everywhere-src-$pkgver"
+builddir="$srcdir/qtserialport-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtserialport-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtserialport/-/archive/$_commit/qtserialport-$_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
@@ -38,4 +47,4 @@ package() {
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
}
-sha512sums="353cc5f708367d646bd312f7d675b417bad4df44356f1dfc8b6ce846a86fd6d5955ec4d26f943e50f4a7b94cc6389fe658959e90bbb5ab3cdaefed0efe6ae72b qtserialport-everywhere-src-5.15.2.tar.xz"
+sha512sums="586f919f1e23c3b06c8bf1651cf2c9884f6ebf458b7abf135dc98cb4e55ee039b7d0513ab5941c386f70c6b26ae86fd0007911d700804651c68ea3938af44855 qtserialport-941d1d8560d1f3e40077c251fbde6fd6a5b0f0d4.tar.gz"