linux_alpine/srcpkgs/phosh-osk-stub/APKBUILD

58 lines
1.2 KiB
Plaintext

# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=phosh-osk-stub
pkgver=0.36.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
"
depends="!squeekboard"
checkdepends="xvfb-run"
builddir="$srcdir/$pkgname-v$pkgver"
provides="phosh-keyboard"
source="https://gitlab.gnome.org/guidog/phosh-osk-stub/-/archive/v$pkgver/phosh-osk-stub-v$pkgver.tar.gz"
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="
4d2097c67e7637c8173565dbabff536a346b16eac260e557b06764cee8c696928308724eecc5cd2f1ce51b4def46fd4c69677df48d06489809adedb4e55bb2fb phosh-osk-stub-v0.36.0.tar.gz
"