# Template file for 'SDL_sound'
pkgname=SDL_sound
version=1.0.3
revision=9
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="sdl12-compat-devel libmikmod-devel libvorbis-devel
 libflac-devel speex-devel smpeg-devel"
short_desc="Library to decode several popular sound file formats"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://icculus.org/SDL_sound/"
distfiles="http://icculus.org/${pkgname}/downloads/${pkgname}-${version}.tar.gz"
checksum=3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df

SDL_sound-devel_package() {
	depends="sdl12-compat-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
	}
}
