2011-10-27 00:26:07 +02:00
|
|
|
# Template file for 'libopenal'
|
|
|
|
pkgname=libopenal
|
2012-12-08 17:22:32 +01:00
|
|
|
version=1.15
|
2013-10-30 08:07:17 +01:00
|
|
|
revision=3
|
2011-10-27 00:26:07 +02:00
|
|
|
build_style=cmake
|
2012-12-08 17:22:32 +01:00
|
|
|
wrksrc="openal-soft-${version}"
|
2011-10-27 00:26:07 +02:00
|
|
|
short_desc="A cross-platform 3D audio library"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="LGPL-2.1"
|
2012-12-08 17:22:32 +01:00
|
|
|
homepage="http://connect.creativelabs.com/openal/default.aspx"
|
|
|
|
distfiles="http://kcat.strangesoft.net/openal-releases/openal-soft-${version}.tar.bz2"
|
|
|
|
checksum=bf58ecaf178339e86db00403b6d5c6408c9a3dfd3a077b43ac5432c52b63702d
|
2011-10-27 00:26:07 +02:00
|
|
|
long_desc="
|
|
|
|
OpenAL is a cross-platform 3D audio API appropriate for use with gaming
|
|
|
|
applications and many other types of audio applications.
|
|
|
|
|
|
|
|
The library models a collection of audio sources moving in a 3D space that
|
|
|
|
are heard by a single listener somewhere in that space. The basic OpenAL
|
|
|
|
objects are a Listener, a Source, and a Buffer. There can be a large number
|
|
|
|
of Buffers, which contain audio data. Each buffer can be attached to one or
|
|
|
|
more Sources, which represent points in 3D space which are emitting audio.
|
|
|
|
There is always one Listener object (per audio context), which represents
|
|
|
|
the position where the sources are heard -- rendering is done from the
|
|
|
|
perspective of the Listener."
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="pkg-config cmake"
|
2013-10-30 08:07:17 +01:00
|
|
|
makedepends="alsa-lib-devel pulseaudio-devel SDL-devel ffmpeg-devel>=2.1"
|
2014-01-01 16:10:11 +01:00
|
|
|
# dlopen(3)d dependencies
|
|
|
|
depends="alsa-lib libpulseaudio SDL"
|
2011-10-27 00:26:07 +02:00
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
libopenal-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}"
|
2013-10-30 08:07:17 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-10-30 08:07:17 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|