# Contributor: Maarten van Gompel <proycon@anaproy.nl>
# Maintainer: Maarten van Gompel <proycon@anaproy.nl>
pkgname=wayout
pkgver=0.1.4
pkgrel=0
pkgdesc="Outputs text to a wayland desktop (e.g. OSD or desktop widget)"
url="https://git.sr.ht/~proycon/wayout"
arch="all"
license="GPL-3.0-or-later"
options="!check" # has no tests
makedepends="meson ninja wayland-protocols wayland-dev pango-dev cairo-dev scdoc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~proycon/wayout/archive/$pkgver.tar.gz"

build() {
	abuild-meson . build
	ninja -C build
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="
8cca905cb36170fba1dc71d4762353de77971bc99a3d6f804b3b3c6347d0128a068bea9fc2038b5995b0110f807901016f3c04bb6c38224d1a749e198610486c  wayout-0.1.4.tar.gz
"