aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-08 14:00:52 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-09 09:31:35 +0200
commit34fee809a87ae4630abd3b23a583b4544f2ed181 (patch)
tree04e1b5cd11be2336b57a935997c23bfe5b7842f5
parent0b31edd24f6d63adf757fe2aafc0e84e35f6c209 (diff)
downloadaports-34fee809a87ae4630abd3b23a583b4544f2ed181.tar.gz
aports-34fee809a87ae4630abd3b23a583b4544f2ed181.tar.bz2
aports-34fee809a87ae4630abd3b23a583b4544f2ed181.tar.xz
community/qt5-qtspeech: apply latest KDE patches
-rw-r--r--community/qt5-qtspeech/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtspeech/APKBUILD b/community/qt5-qtspeech/APKBUILD
index 94b11a8ebe..b09629b8c8 100644
--- a/community/qt5-qtspeech/APKBUILD
+++ b/community/qt5-qtspeech/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtspeech
-pkgver=5.15.2
-pkgrel=1
+pkgver=5.15.3_git20201028
+pkgrel=0
+_commit="a0efc38377e5bf7eed2d354d1cb4d7a0d5dc7e1b"
pkgdesc="Qt module to make text to speech and speech recognition easy"
url="https://qt.io"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
@@ -10,14 +11,22 @@ license="(LGPL-2.0-or-later OR GPL-3.0-only OR GPL-2.0-or-later) AND Qt-GPL-exce
depends="qt5-qtmultimedia"
makedepends="qt5-qtbase-dev"
subpackages="$pkgname-dev"
-builddir="$srcdir/qtspeech-everywhere-src-$pkgver"
+builddir="$srcdir/qtspeech-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="http://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtspeech-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtspeech/-/archive/$_commit/qtspeech-$_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="78a13218a639276c9b253566a1df52e2363847eac76df3962ba2a7178800206beb57859d22c7c99fa1579cb3aa7ab94baed1a6319ba946d4a64cba9e3bf52b05 qtspeech-everywhere-src-5.15.2.tar.xz"
+sha512sums="290760fff67f9ccaf88bc6d9dd47e5bb968ae708a460b1129589cb5f9af5f7187f67e210f66c569943eb417aae1a55f11990489da6296c7ec24c5d0fe8d189a7 qtspeech-a0efc38377e5bf7eed2d354d1cb4d7a0d5dc7e1b.tar.gz"