This updates OpenAL to 1.14 that was released yesterday. Release notes at http://kcat.strangesoft.net/openal.html
-- Antti Harri diff --git audio/openal/Makefile audio/openal/Makefile index 4acb110..9dae287 100644 --- audio/openal/Makefile +++ audio/openal/Makefile @@ -2,7 +2,8 @@ COMMENT = cross-platform 3D audio API -V = 20110627 +V = 1.14 +EPOCH = 0 DISTNAME = openal-soft-$V PKGNAME = openal-$V CATEGORIES = audio @@ -20,20 +21,26 @@ PERMIT_DISTFILES_FTP = Yes WANTLIB = c m pthread sndio -MASTER_SITES = ${HOMEPAGE:S,.html,-releases/,} \ - http://openbsd.fi/dist/ +MASTER_SITES = ${HOMEPAGE:S,.html,-releases/,} +EXTRACT_SUFX = .tar.bz2 CONFIGURE_ARGS =-DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG" \ -DCMAKE_BUILD_TYPE=OpenBSD \ -DDLOPEN=Off \ + -DREQUIRE_SNDIO=On \ -DPULSEAUDIO=Off \ -DPORTAUDIO=Off \ -DSOLARIS=Off \ -DALSA=Off \ - -DOSS=Off + -DOSS=Off \ + -DCOREAUDIO=Off \ + -DDSOUND=Off \ + -DOPENSL=Off \ + -DEXAMPLES=Off MODULES = devel/cmake +SEPARATE_BUILD =Yes NO_REGRESS = Yes pre-build: diff --git audio/openal/distinfo audio/openal/distinfo index af7ecc7..c0ec328 100644 --- audio/openal/distinfo +++ audio/openal/distinfo @@ -1,5 +1,5 @@ -MD5 (openal-soft-20110627.tar.gz) = dyIlarhDU4oZArAVhNi6Xw== -RMD160 (openal-soft-20110627.tar.gz) = kWiXzE41A6/+Xvs8PKBCZKpb/Vs= -SHA1 (openal-soft-20110627.tar.gz) = 22LbnwY5ForaALA6rXGj/QfB7LM= -SHA256 (openal-soft-20110627.tar.gz) = /xXT1ihUatrb/4JSCAYYrrTVYbjP6medJwHdInFpS/w= -SIZE (openal-soft-20110627.tar.gz) = 231964 +MD5 (openal-soft-1.14.tar.bz2) = PYuGwhovh6Kl5g9487PwPQ== +RMD160 (openal-soft-1.14.tar.bz2) = NbTUbyF5+4R9IqvkwcuNSpdPilo= +SHA1 (openal-soft-1.14.tar.bz2) = 5tadsT7BVGW4OkXviZeOig9Vvso= +SHA256 (openal-soft-1.14.tar.bz2) = h72NYdWUM4eJjJK2oru7JhGOdF3sV1UMgXUmpw+tCRQ= +SIZE (openal-soft-1.14.tar.bz2) = 221579 diff --git audio/openal/patches/patch-Alc_sndio_c audio/openal/patches/patch-Alc_sndio_c deleted file mode 100644 index e24b892..0000000 --- audio/openal/patches/patch-Alc_sndio_c +++ /dev/null @@ -1,36 +0,0 @@ -$OpenBSD: ports/audio/openal/patches/patch-Alc_sndio_c,v 1.2 2011/07/02 07:34:31 jasper Exp $ ---- Alc/sndio.c.orig Mon Jun 27 01:40:15 2011 -+++ Alc/sndio.c Thu Jun 30 23:37:31 2011 -@@ -142,25 +142,15 @@ static ALuint sndio_proc(ALvoid *ptr) - - while(!data->killNow && device->Connected) - { -- ALsizei len = data->data_size; -- ALubyte *WritePtr = data->mix_data; -- -- aluMixData(device, WritePtr, len/frameSize); -- while(len > 0 && !data->killNow) -+ aluMixData(device, data->mix_data, data->data_size / frameSize); -+ wrote = sio_write(data->sndHandle, data->mix_data, data->data_size); -+ if(wrote < data->data_size) - { -- wrote = sio_write(data->sndHandle, WritePtr, len); -- if(wrote == 0) -- { -- AL_PRINT("sio_write failed\n"); -- aluHandleDisconnect(device); -- break; -- } -- -- len -= wrote; -- WritePtr += wrote; -- } -+ AL_PRINT("sio_write: short write\n"); -+ aluHandleDisconnect(device); -+ break; -+ } - } -- - return 0; - } - diff --git audio/openal/pkg/PLIST audio/openal/pkg/PLIST index 0bbfaeb..fca201e 100644 --- audio/openal/pkg/PLIST +++ audio/openal/pkg/PLIST @@ -1,4 +1,5 @@ @comment $OpenBSD: ports/audio/openal/pkg/PLIST,v 1.4 2011/06/25 18:42:02 jasper Exp $ +@bin bin/makehrtf @bin bin/openal-info include/AL/ include/AL/al.h @@ -6,6 +7,7 @@ include/AL/alc.h include/AL/alext.h %%SHARED%% include/AL/efx-creative.h +include/AL/efx-presets.h include/AL/efx.h lib/pkgconfig/ lib/pkgconfig/openal.pc