From f0ce6a7d3e750357c6f25f5829d2acb5e8c0d06b Mon Sep 17 00:00:00 2001 From: itmodulo Date: Mon, 29 Jan 2024 13:39:14 +0100 Subject: [PATCH] Add phosh-osk-stub --- srcpkgs/phosh-osk-stub/APKBUILD | 58 +++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 srcpkgs/phosh-osk-stub/APKBUILD diff --git a/srcpkgs/phosh-osk-stub/APKBUILD b/srcpkgs/phosh-osk-stub/APKBUILD new file mode 100644 index 0000000..176afdf --- /dev/null +++ b/srcpkgs/phosh-osk-stub/APKBUILD @@ -0,0 +1,58 @@ +# 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 +" \ No newline at end of file