# Maintainer: Maarten van Gompel <proycon@anaproy.nl>
pkgname=wf-shell
pkgver=0.8.1
pkgrel=0
pkgdesc="A GTK3-based panel for wayfire"
url="https://wayfire.org"
arch="all"
license="MIT"
install="$pkgname.post-install"
makedepends="
	meson
	wayfire-dev
	gtk-layer-shell-dev
	libdbusmenu-gtk3-dev
	pulseaudio-dev
	alsa-lib-dev
	gtkmm3-dev
	"
options="!check" # no testsuite
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/WayfireWM/wf-shell/releases/download/v$pkgver/wf-shell-$pkgver.tar.xz"

build() {
	abuild-meson -Dpulse=enabled -Dwayland-logout=true . output
	meson compile -C output
}

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

sha512sums="
b0d283dee712ed01bdabb373f8144e6c231aa68669be8851e6603678972d9f2bdcadda773df49510c902f8e8845fdb767f9da65356640fe37843dd92d0c240f2  wf-shell-0.8.1.tar.xz
"
