# Description: Audio Effects for Pulseaudio Applications
# URL: https://github.com/wwmm/easyeffects
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: appstream-glib desktop-file-utils fmt gsl gtk4 libadwaita libbs2b libebur128 libsigc++ lilv nlohmann-json onetbb pipewire rnnoise rubberband soundtouch speex speexdsp zita-convolver
# Optional: calf desktop-file-utils mda-lv2 vamp-plugin-sdk zam-plugins

name=easyeffects
version=7.0.6
release=1
source=(https://github.com/wwmm/easyeffects/archive/v$version/$name-$version.tar.gz)

build() {
  meson setup easyeffects-$version build \
    --prefix=/usr \
    --sysconfdir=/etc \
    --buildtype plain \
    --wrap-mode nodownload \
    -D b_lto=true \
    -D b_pie=true
  meson compile -C build
  DESTDIR=$PKG meson install -C build

  rm -fr $PKG/usr/share/{locale,help}
}
