New package: OpenAL (3D Audio library)
This commit is contained in:
parent
c331b2407e
commit
195a87d94e
3 changed files with 50 additions and 0 deletions
1
srcpkgs/libopenal-devel
Symbolic link
1
srcpkgs/libopenal-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
libopenal
|
15
srcpkgs/libopenal/libopenal-devel.template
Normal file
15
srcpkgs/libopenal/libopenal-devel.template
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Template file for 'libopenal-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - Development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run glibc-devel
|
||||||
|
Add_dependency run libopenal
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
vmove usr/include usr
|
||||||
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
|
}
|
34
srcpkgs/libopenal/template
Normal file
34
srcpkgs/libopenal/template
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Template file for 'libopenal'
|
||||||
|
pkgname=libopenal
|
||||||
|
version=1.13
|
||||||
|
build_style=cmake
|
||||||
|
homepage="http://connect.creativelabs.com/openal/default.aspx"
|
||||||
|
distfiles="http://kcat.strangesoft.net/openal-releases/openal-soft-$version.tar.bz2"
|
||||||
|
short_desc="A cross-platform 3D audio library"
|
||||||
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
|
license="LGPL-2.1"
|
||||||
|
checksum=dc735b8b2ab21f6ec54b4262f150a7e0527ae42aa975a1965b9342df1520443c
|
||||||
|
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."
|
||||||
|
|
||||||
|
subpackages="$pkgname-devel"
|
||||||
|
|
||||||
|
wrksrc=openal-soft-$version
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
|
||||||
|
Add_dependency build pkg-config
|
||||||
|
Add_dependency build cmake
|
||||||
|
Add_dependency build alsa-lib-devel
|
||||||
|
Add_dependency build pulseaudio-devel
|
||||||
|
Add_dependency build SDL-devel
|
Loading…
Reference in a new issue