# Contributor: Peter Shkenev <santurysim@gmail.com>
# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=waycheck
pkgver=1.4.0
pkgrel=0
pkgdesc="Simple GUI that displays the protocols implemented by a Wayland compositor"
url="https://gitlab.freedesktop.org/serebit/waycheck"
arch="all"
license="Apache-2.0"
options="!check"  # no test suite
makedepends="meson qt6-qtwayland-dev"
source="https://gitlab.freedesktop.org/serebit/waycheck/-/archive/v$pkgver/waycheck-v$pkgver.tar.bz2"
builddir="$srcdir/waycheck-v$pkgver"

build() {
	abuild-meson \
		output .
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
21775f283a361aaf00d12732480a59e411edc99fdb36680e8680bdbeca5179a6bf28645a90e50adde06583b4f7ef0e2d0bdf7957a3e7b3697b09209ef5d5d968  waycheck-v1.4.0.tar.bz2
"
