# mako - Notification daemon for Wayland
# Generated from manifest.tsv by gen-ports.py. Edit the manifest, not this file,
# unless the package needs something the template cannot express - in which case
# drop a `recipe.local` beside it and it will be preserved.
name=mako
version=1.11.0
release=1
desc="Notification daemon for Wayland"
url="https://github.com/emersion/mako"
license="MIT"
depend="wayland pango cairo libxkbcommon dbus"
makedepend="meson ninja"
source="https://github.com/emersion/mako/archive/refs/tags/v1.11.0.tar.gz"
sha256="SKIP"

build() {
	cd "mako-1.11.0"
	meson setup build \
		--prefix=/usr \
		--libdir=/usr/lib \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--buildtype=release \
		--wrap-mode=nodownload \
		-Db_lto=true
	ninja -C build -j"$JOBS"
}

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