1
0
forked from ports/contrib

openal: picked up port from opt

This commit is contained in:
Danny Rawlins 2008-02-20 00:41:12 +11:00
parent 78ac37e56b
commit a5f4e0fef1
4 changed files with 66 additions and 0 deletions

15
openal/.footprint Normal file
View File

@ -0,0 +1,15 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/openal-config
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/AL/
-rw-r--r-- root/root usr/include/AL/al.h
-rw-r--r-- root/root usr/include/AL/alc.h
-rw-r--r-- root/root usr/include/AL/alext.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libopenal.la
lrwxrwxrwx root/root usr/lib/libopenal.so -> libopenal.so.0.0.0
lrwxrwxrwx root/root usr/lib/libopenal.so.0 -> libopenal.so.0.0.0
-rwxr-xr-x root/root usr/lib/libopenal.so.0.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/openal.pc

2
openal/.md5sum Normal file
View File

@ -0,0 +1,2 @@
949ef5eef5f8d50a60fce2ad8f08e141 openal-0.0.8-alcvoid.patch
641cf53761f35ee979f3e888614797a0 openal-0.0.8.tar.gz

29
openal/Pkgfile Normal file
View File

@ -0,0 +1,29 @@
# Description: Cross-platform 3D audio.
# URL: http://www.openal.org/
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Packager: Matt Housh, jaeger at crux dot nu
# Depends on: alsa-lib libvorbis libsdl
name=openal
version=0.0.8
release=2
source=(http://www.openal.org/openal_webstf/downloads/openal-$version.tar.gz \
openal-$version-alcvoid.patch)
build() {
cd openal-$version
patch -i $SRC/openal-$version-alcvoid.patch common/include/AL/alc.h
./configure \
--prefix=/usr \
--exec-prefix=/usr \
--disable-static \
--enable-optimization \
--enable-alsa \
--enable-vorbis \
--enable-sdl
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,20 @@
--- alc.h.orig 2008-01-11 14:40:53.000000000 -0600
+++ alc.h 2008-01-11 14:41:22.000000000 -0600
@@ -187,7 +187,7 @@
ALC_API void ALC_APIENTRY alcDestroyContext( ALCcontext *context );
-ALC_API ALCcontext * ALC_APIENTRY alcGetCurrentContext( ALCvoid );
+ALC_API ALCcontext * ALC_APIENTRY alcGetCurrentContext( void );
ALC_API ALCdevice* ALC_APIENTRY alcGetContextsDevice( ALCcontext *context );
@@ -248,7 +248,7 @@
typedef void (ALC_APIENTRY *LPALCPROCESSCONTEXT)( ALCcontext *context );
typedef void (ALC_APIENTRY *LPALCSUSPENDCONTEXT)( ALCcontext *context );
typedef void (ALC_APIENTRY *LPALCDESTROYCONTEXT)( ALCcontext *context );
-typedef ALCcontext * (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( ALCvoid );
+typedef ALCcontext * (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( void );
typedef ALCdevice * (ALC_APIENTRY *LPALCGETCONTEXTSDEVICE)( ALCcontext *context );
typedef ALCdevice * (ALC_APIENTRY *LPALCOPENDEVICE)( const ALCchar *devicename );
typedef ALCboolean (ALC_APIENTRY *LPALCCLOSEDEVICE)( ALCdevice *device );