# Template file for 'webrtc-audio-processing'
pkgname=webrtc-audio-processing
version=0.1
revision=3
build_style=gnu-configure
short_desc="AudioProcessing library based on Google's implementation of WebRTC"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
distfiles="$homepage/$pkgname-$version.tar.xz"
checksum=ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc

post_install() {
	vinstall COPYING 644 usr/share/licenses/${pkgname}
	vinstall PATENTS 644 usr/share/licenses/${pkgname}
}

webrtc-audio-processing-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
