aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt5-qtvirtualkeyboard/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qt5-qtvirtualkeyboard/APKBUILD')
-rw-r--r--community/qt5-qtvirtualkeyboard/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/qt5-qtvirtualkeyboard/APKBUILD b/community/qt5-qtvirtualkeyboard/APKBUILD
index 62c6c2940b..9572e7a35e 100644
--- a/community/qt5-qtvirtualkeyboard/APKBUILD
+++ b/community/qt5-qtvirtualkeyboard/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtvirtualkeyboard
-pkgver=5.15.2
-pkgrel=1
+pkgver=5.15.3_git20201214
+pkgrel=0
+_commit="2f0e9f98c6c6fdac09f762d41fddcc114f64b28a"
pkgdesc="Virtual keyboard framework"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
url="https://www.qt.io/developers/"
@@ -10,14 +11,22 @@ license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1
depends_dev="qt5-qtsvg-dev"
makedepends="$depends_dev hunspell-dev qt5-qtbase-dev qt5-qtdeclarative-dev"
subpackages="$pkgname-dev"
-builddir="$srcdir/qtvirtualkeyboard-everywhere-src-$pkgver"
+builddir="$srcdir/qtvirtualkeyboard-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="http://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtvirtualkeyboard-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtvirtualkeyboard/-/archive/$_commit/qtvirtualkeyboard-$_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 CONFIG+="lang-all handwriting arrow-key-navigation"
@@ -38,4 +47,4 @@ package() {
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
}
-sha512sums="3ba04d171756a5434424833c5198a23e0df53eeebe9ea542047e094f83f38492d93f901cac67cf7e55aca6a71289ce3c6f5d8ac10a8d051b291155ebb8432016 qtvirtualkeyboard-everywhere-src-5.15.2.tar.xz"
+sha512sums="67afa86666aa6f55263053f9b9e76fde94232cd65c44b0edcc91f4f2c1866f699f60122b31a97d5e577b1d9986211fa5e1e0bc0b2ea86cec488a07a462e88e40 qtvirtualkeyboard-2f0e9f98c6c6fdac09f762d41fddcc114f64b28a.tar.gz"