# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=easyeffects
pkgver=7.1.9
pkgrel=0
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="
95603eedb83ff924d754f8557bfc8556018abb1aa2f016b787ca74fbeda2c94964307f6d8ac84cb0225d5b73a087c7b665f77a10edfab03163c30ec2faa3001c  easyeffects-7.1.9.tar.gz
"
