linux_alpine/srcpkgs/phosh-osk-stub/APKBUILD

60 lines
1.3 KiB
Plaintext

# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=phosh-osk-stub
pkgver=0.37.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
gtk+3.0-dev
gobject-introspection-dev
gi-docgen
libmarisa
"
depends="!squeekboard libmarisa"
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"
build() {
abuild-meson \
-Dgtk_doc=true \
-Db_lto=true \
-Dman=true \
. output
meson compile -C output
}
check() {
xvfb-run -a meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
880f0cd0c76dc45ca55b1e3f6aadc0488f4bd475ccfadcb11d628e8e0003a2413f14e44e00c75b21837dfc51ba0a6259965d6978eec7be75655bcc20bfe221b1 phosh-osk-stub-v0.37.0.tar.gz
"