On Thu, Mar 29, 2012 at 02:03:32PM +0300, Antti Harri wrote:
> This updates OpenAL to 1.14 that was released yesterday. Release notes at
> http://kcat.strangesoft.net/openal.html

Tested with scorched3d/supertuxkart/warzone2100 on amd64.

There were API additions so I bumped the minor rev.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/audio/openal/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile    2 Jul 2011 07:34:31 -0000       1.24
+++ Makefile    31 Mar 2012 01:34:51 -0000
@@ -2,11 +2,12 @@
 
 COMMENT =      cross-platform 3D audio API
 
-V =            20110627
+V =            1.14
+EPOCH =                0
 DISTNAME =     openal-soft-$V
 PKGNAME =      openal-$V
 CATEGORIES =   audio
-SHARED_LIBS =  openal  2.0
+SHARED_LIBS =  openal  2.1
 
 HOMEPAGE =     http://kcat.strangesoft.net/openal.html
 
@@ -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:
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/audio/openal/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo    2 Jul 2011 07:34:31 -0000       1.6
+++ distinfo    31 Mar 2012 01:30:32 -0000
@@ -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
Index: patches/patch-Alc_sndio_c
===================================================================
RCS file: patches/patch-Alc_sndio_c
diff -N patches/patch-Alc_sndio_c
--- patches/patch-Alc_sndio_c   2 Jul 2011 07:34:31 -0000       1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,36 +0,0 @@
-$OpenBSD: 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;
- }
- 
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/audio/openal/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   25 Jun 2011 18:42:02 -0000      1.4
+++ pkg/PLIST   31 Mar 2012 01:30:32 -0000
@@ -1,4 +1,5 @@
 @comment $OpenBSD: 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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to