2012-09-18 12:57:35 +00:00
|
|
|
# Template file for 'SDL_sound'
|
2013-04-12 07:01:46 +00:00
|
|
|
pkgname=SDL_sound
|
|
|
|
version=1.0.3
|
|
|
|
revision=3
|
|
|
|
build_style=gnu-configure
|
2012-09-18 12:57:35 +00:00
|
|
|
configure_args="--disable-static"
|
2013-04-12 07:01:46 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="SDL-devel libmikmod-devel>=3.2.0 libvorbis-devel
|
2012-12-07 08:19:09 +00:00
|
|
|
libflac-devel speex-devel smpeg-devel"
|
2012-09-18 12:57:35 +00:00
|
|
|
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."
|
2013-04-12 07:01:46 +00:00
|
|
|
|
|
|
|
SDL_sound-devel_package() {
|
|
|
|
depends="SDL_sound>=${version}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
2013-04-16 09:52:17 +00:00
|
|
|
vmove usr/include
|
2013-04-12 07:01:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
SDL_sound_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|