# Template build file for 'alsa-plugins'.
pkgname=alsa-plugins
version=1.0.27
revision=1
build_style=gnu-configure
configure_args="--disable-maemo-plugin --with-speex=lib"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel speex-devel ffmpeg-devel>=1.0.1
 libsamplerate-devel pulseaudio-devel jack-devel"
short_desc="Advanced Linux Sound Architecture (ALSA) extra plugins"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://www.alsa-project.org"
distfiles="ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$version.tar.bz2"
checksum=0bbd0c37c2dd7baf16363afb2e58169ffb0f9c0a70031b3b6235594630f3ab35
long_desc="
 The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
 functionality to the Linux operating system.

 This package includes some ALSA extra plugins for PulseAudio, Speex,
 FFmpeg's libavcodec library and libsamplerate."

post_install() {
	vinstall ${FILESDIR}/asound.conf 644 etc
}

alsa-plugins_package() {
	conf_files="/etc/asound.conf"
	pkg_install() {
		vmove etc
		vmove usr
	}
}
