# Contributor: ITmodulo # Maintainer: ITmodulo pkgname=phosh-osk-stub pkgver=0.35.0 pkgrel=1 pkgdesc="Alternative experimental on-screen keyboard for phosh" arch="all" url="https://gitlab.gnome.org/guidog/phosh-osk-stub" license="GPL-3.0-or-later" subpackages="$pkgname-doc" makedepends=" cmd:rst2man elogind-dev feedbackd-dev glib-dev gnome-desktop-dev gtk+3.0-dev hunspell-dev json-glib-dev libhandy1-dev meson cmake cmake-extras wayland-dev wayland-protocols fzf presage-dev appstream " checkdepends="xvfb-run" source="https://gitlab.gnome.org/guidog/phosh-osk-stub/-/archive/v$pkgver/phosh-osk-stub-v$pkgver.tar.gz" builddir="$srcdir/$pkgname-v$pkgver" provides="phosh-keyboard" provider_priority=1 replaces="phosh squeekboard" build() { abuild-meson \ -Db_lto=true \ -Dman=true \ . output meson compile -C output } check() { xvfb-run -a meson test --no-rebuild --print-errorlogs -C output } package() { depends="!squeekboard" DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums= sha512sums=" 61aad8de4b6faf0d696fa5e3656de3a611bf0b4e954b1a3a20ead4db4cf2415443dcc95dc07a44b29b131abf22dafc9e63e2d84e29e3c479ee58cb8e2494a9fe phosh-osk-stub-v0.35.0.tar.gz "