forked from ports/contrib
openal: 0.0.8 -> 1.5.304 also fixes bug #344
This commit is contained in:
parent
091e1c13dd
commit
d4691fba2d
@ -1,15 +1,12 @@
|
||||
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
|
||||
lrwxrwxrwx root/root usr/lib/libopenal.so -> libopenal.so.1
|
||||
lrwxrwxrwx root/root usr/lib/libopenal.so.1 -> libopenal.so.1.5.304
|
||||
-rwxr-xr-x root/root usr/lib/libopenal.so.1.5.304
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/openal.pc
|
||||
|
@ -1,2 +1 @@
|
||||
949ef5eef5f8d50a60fce2ad8f08e141 openal-0.0.8-alcvoid.patch
|
||||
641cf53761f35ee979f3e888614797a0 openal-0.0.8.tar.gz
|
||||
1a20bf07779916bb3dfea61055782539 openal-soft-1.5.304.tar.bz2
|
||||
|
@ -1,27 +1,24 @@
|
||||
# Description: Cross-platform 3D audio.
|
||||
# URL: http://www.openal.org/
|
||||
# URL: http://connect.creativelabs.com/openal
|
||||
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
||||
# Packager: Matt Housh, jaeger at crux dot nu
|
||||
# Depends on: libvorbis libsdl
|
||||
# Depends on: alsa-lib cmake
|
||||
|
||||
name=openal
|
||||
version=0.0.8
|
||||
release=2
|
||||
source=(http://www.openal.org/openal_webstf/downloads/openal-$version.tar.gz \
|
||||
openal-$version-alcvoid.patch)
|
||||
version=1.5.304
|
||||
release=1
|
||||
source=(http://connect.creativelabs.com/openal/Downloads/openal-soft-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd openal-$version
|
||||
patch -i $SRC/openal-$version-alcvoid.patch common/include/AL/alc.h
|
||||
cd openal-soft-$version
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-optimization \
|
||||
--enable-alsa \
|
||||
--enable-vorbis \
|
||||
--enable-sdl
|
||||
cmake ../ \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DOSS=OFF \
|
||||
-DEXAMPLES=OFF \
|
||||
-DCMAKE_BUILD_TYPE=Release #-DCMAKE_VERBOSE_MAKEFILE=true
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- 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 );
|
Loading…
x
Reference in New Issue
Block a user