# Contributor: Magnus Sandin <magnus.sandin@gmail.com>
# Maintainer: Magnus Sandin <magnus.sandin@gmail.com>
pkgname=eq10q
pkgver=2.2
pkgrel=3
pkgdesc="Audio plugin bundle over the LV2 standard for Linux"
url="https://eq10q.sourceforge.net/"
options="!check" # No tests available
arch="x86 x86_64"
license="GPL-3.0-only"
makedepends="
	cmake
	fftw-dev
	gtkmm-dev
	lv2-dev
	samurai
	"
source="https://downloads.sourceforge.net/project/eq10q/eq10q-$pkgver.tar.gz
	fix_lv2ui_descriptor.patch
	"

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=Release
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build --prefix=/usr/lib/lv2
}

sha512sums="
4c6a79e9f1faeb431abd4e94b6bfa153b1ff5f55b3c2734d35a865ba23e3a7786ee45ee122cdcc26c9a8de915f1c4e2ec588a4c219ad6daf0ccf4a2b474b1e24  eq10q-2.2.tar.gz
d881116ee2383451b9ec7f4c28ac01d9e0e293829b6ba013554b2c2a09c42343832d874479f6432579e99674415ec13f5f0ddb78641a23e9f9cd5b4487f74916  fix_lv2ui_descriptor.patch
"
