# Description: ALSA Plugins contains plugins for various audio libraries and sound servers
# URL: https://www.alsa-project.org/wiki/Main_Page
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: alsa-lib
# Optional: dbus ffmpeg jack libsamplerate pulseaudio speexdsp

name=alsa-plugins
version=1.2.7.1
release=2
source=(ftp://ftp.alsa-project.org/pub/plugins/$name-$version.tar.bz2
  pulse-sysdefault.diff)

build() {
  cd $name-$version

  patch -Np1 -i $SRC/pulse-sysdefault.diff

  ./configure --prefix=/usr --sysconfdir=/etc

  make
  make DESTDIR=$PKG install
}
