# Maintainer: Alexandros Theodotou pkgname=zrythm pkgver=0.5.162 pkgrel=1 pkgdesc='An highly automated, intuitive, Digital Audio Workstation (DAW)' arch=('x86_64') url='https://www.zrythm.org' license=('AGPL3') depends=('gtk3' 'lv2' 'lilv' 'libx11' 'jack' 'libsndfile' 'libyaml' 'gettext' 'libsamplerate' 'alsa-lib' 'ladspa' 'fftw') makedepends=('python' 'gettext' 'sed' 'meson' 'ninja') optdepends=('portaudio: portaudio backend' 'qt5-base: for embedding qt5 plugin UIs') conflicts=('zrythm-git') source=("https://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}) sha256sums=('2b4cbd75e347df5fed8af7545bb56baefe2d5413496534ba056f47e4676ec232' 'SKIP') validpgpkeys=('48132384AD3DF7D86E254B83022EAE42313D70F3') rootdir="${pkgname}-${pkgver}" build() { cd ${rootdir}/ mkdir -p build cd build && meson --prefix=/usr .. -Denable_tests=true ninja } check() { cd ${rootdir}/ cd build && ninja test } package() { cd ${rootdir}/ cd build && DESTDIR="${pkgdir}/" ninja install }