aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt6-qtvirtualkeyboard/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qt6-qtvirtualkeyboard/APKBUILD')
-rw-r--r--community/qt6-qtvirtualkeyboard/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/qt6-qtvirtualkeyboard/APKBUILD b/community/qt6-qtvirtualkeyboard/APKBUILD
new file mode 100644
index 0000000000..1e4940ced2
--- /dev/null
+++ b/community/qt6-qtvirtualkeyboard/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=qt6-qtvirtualkeyboard
+pkgver=6.1.1
+pkgrel=0
+pkgdesc="Virtual keyboard framework"
+url="https://qt.io/"
+arch="all"
+license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
+depends_dev="
+ hunspell-dev
+ qt6-qtbase-dev
+ qt6-qtdeclarative-dev
+ qt6-qtquickcontrols2-dev
+ qt6-qtsvg-dev
+ "
+makedepends="$depends_dev
+ cmake
+ perl
+ "
+subpackages="$pkgname-dev"
+options="!check" # No tests
+builddir="$srcdir/qtvirtualkeyboard-everywhere-src-${pkgver/_/-}"
+
+case $pkgver in
+ *_alpha*|*_beta*|*_rc*) _rel=development_releases;;
+ *) _rel=official_releases;;
+esac
+
+source="https://download.qt.io/$_rel/qt/${pkgver%.*}/${pkgver/_/-}/submodules/qtvirtualkeyboard-everywhere-src-${pkgver/_/-}.tar.xz"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+
+sha512sums="
+3381f3638daecc6c860756dd4654dff5a8738405aba051dde3bc044077f1bc92f40acc47fb97047fb592d1bb6082f2c633993ed6e4e75d73a26bee75529cd86c qtvirtualkeyboard-everywhere-src-6.1.1.tar.xz
+"