void-packages/srcpkgs/SDL_sound/template
2013-04-16 11:52:17 +02:00

39 lines
1.5 KiB
Text

# Template file for 'SDL_sound'
pkgname=SDL_sound
version=1.0.3
revision=3
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="SDL-devel libmikmod-devel>=3.2.0 libvorbis-devel
libflac-devel speex-devel smpeg-devel"
short_desc="A library to decode several popular sound file formats, such as .WAV and .MP3"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://icculus.org/SDL_sound/"
license="LGPL-2.1"
distfiles="http://icculus.org/${pkgname}/downloads/${pkgname}-${version}.tar.gz"
checksum="3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df"
long_desc="
SDL_sound is a library that handles the decoding of several popular sound
file formats, such as .WAV and .MP3. It is meant to make the programmer's
sound playback tasks simpler. The programmer gives SDL_sound a filename, or
feeds it data directly from one of many sources, and then reads the decoded
waveform data back at her leisure. If resource constraints are a concern,
SDL_sound can process sound data in programmer-specified blocks. Alternately,
SDL_sound can decode a whole sound file and hand back a single pointer to the
whole waveform. SDL_sound can also handle sample rate, audio format, and
channel conversion on-the-fly and behind-the-scenes, if the programmer desires."
SDL_sound-devel_package() {
depends="SDL_sound>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
}
}
SDL_sound_package() {
pkg_install() {
vmove usr
}
}