diff --git a/openal/.footprint b/openal/.footprint new file mode 100644 index 000000000..d2e9efc61 --- /dev/null +++ b/openal/.footprint @@ -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 diff --git a/openal/.md5sum b/openal/.md5sum new file mode 100644 index 000000000..1e95b2c31 --- /dev/null +++ b/openal/.md5sum @@ -0,0 +1,2 @@ +949ef5eef5f8d50a60fce2ad8f08e141 openal-0.0.8-alcvoid.patch +641cf53761f35ee979f3e888614797a0 openal-0.0.8.tar.gz diff --git a/openal/Pkgfile b/openal/Pkgfile new file mode 100644 index 000000000..03bd54688 --- /dev/null +++ b/openal/Pkgfile @@ -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 +} + diff --git a/openal/openal-0.0.8-alcvoid.patch b/openal/openal-0.0.8-alcvoid.patch new file mode 100644 index 000000000..c628a6446 --- /dev/null +++ b/openal/openal-0.0.8-alcvoid.patch @@ -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 );