# Template file for 'speexdsp'.
pkgname=speexdsp
version=1.2rc3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="A free codec for free speech - DSP"
homepage="http://www.speex.org"
license="BSD"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://downloads.xiph.org/releases/speex/$pkgname-$version.tar.gz"
checksum=4ae688600039f5d224bdf2e222d2fbde65608447e4c2f681585e4dca6df692f1

case "$XBPS_TARGET_MACHINE" in
	aarch64*) configure_args+=" --disable-neon";;
esac

speexdsp-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
		vmove usr/share/doc
	}
}
