# swayfx - Sway with eye candy
# 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=swayfx
version=0.5
release=1
desc="Sway with eye candy"
url="https://github.com/WillPower3309/swayfx"
license="MIT"
depend="wlroots wayland libxkbcommon pango cairo json-c scenefx"
makedepend="meson ninja"
source="https://github.com/WillPower3309/swayfx/archive/refs/tags/0.5.tar.gz"
sha256="SKIP"

build() {
	cd "swayfx-0.5"
	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 "swayfx-0.5"
	DESTDIR="$pkgdir" ninja -C build install
}
