# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=easyeffects
pkgver=7.2.3
pkgrel=1
pkgdesc="audio plugins for PipeWire applications"
url="https://github.com/wwmm/easyeffects"
arch="all"
license="GPL-3.0-or-later"
install="$pkgname.post-install"
depends="lv2"
makedepends="
	appstream-glib-dev
	desktop-file-utils
	fftw-dev
	fmt-dev
	gsl-dev
	gtk4.0-dev
	itstool
	libadwaita-dev
	libbs2b-dev
	libebur128-dev
	libsamplerate-dev
	libsigc++3-dev
	libsndfile-dev
	lilv-dev
	lv2-dev
	meson
	ladspa-dev
	nlohmann-json
	onetbb-dev
	pipewire-dev
	rnnoise-dev
	soundtouch-dev
	speexdsp-dev
	zita-convolver-dev
	"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/wwmm/easyeffects/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # no testsuite

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

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

sha512sums="
4bb7fd19f51fd503773ab584ad1b376bd71bf5e43751dc8e220ac4191a3d6237002b1cf105efc38f596c0046006d36649f73778497cd32c9c024a88ed4f433d3  easyeffects-7.2.3.tar.gz
"
