openal-soft: update to 1.23.0. openal-soft-1.23.0: Fixed CoreAudio capture support. Fixed handling per-version EAX properties. Fixed interpolating changes to the Super Stereo width source property. Fixed detection of the update and buffer size from PipeWire. Fixed resuming playback devices with OpenSL. Fixed support for certain OpenAL implementations with the router. Improved reverb environment transitions. Improved performance of convolution reverb. Improved quality and performance of the pitch shifter effect slightly. Improved sub-sample precision for resampled sources. Improved blending spatialized multi-channel sources that use the source radius property. Improved mixing 2D ambisonic sources for higher-order 3D ambisonic mixing. Improved quadraphonic and 7.1 surround sound output slightly. Added config options for UHJ encoding/decoding quality. Including Super Stereo processing. Added a config option for specifying the speaker distance. Added a compatibility config option for specifying the NFC distance scaling. Added a config option for mixing on PipeWire's non-real-time thread. Added support for virtual source nodes with PipeWire capture. Added the ability for the WASAPI backend to use different playback rates. Added support for SOFA files that define per-response delays in makemhr. Changed the default fallback playback sample rate to 48khz. This doesn't affect most backends, which can detect a default rate from the system. Changed the default resampler to cubic. Changed the default HRTF size from 32 to 64 points.diff -r1.31 -r1.32 pkgsrc/audio/openal-soft/Makefile
(wiz)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.31 2023/01/24 18:36:20 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.32 2023/02/16 15:15:55 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= openal-soft-1.22.2 | 3 | DISTNAME= openal-soft-1.23.0 | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= audio | 4 | CATEGORIES= audio | |
6 | MASTER_SITES= https://openal-soft.org/openal-releases/ | 5 | MASTER_SITES= https://openal-soft.org/openal-releases/ | |
7 | EXTRACT_SUFX= .tar.bz2 | 6 | EXTRACT_SUFX= .tar.bz2 | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://openal-soft.org/ | 9 | HOMEPAGE= https://openal-soft.org/ | |
11 | COMMENT= Software implementation of the OpenAL 3D audio API | 10 | COMMENT= Software implementation of the OpenAL 3D audio API | |
12 | LICENSE= gnu-lgpl-v2 | 11 | LICENSE= gnu-lgpl-v2 | |
13 | 12 | |||
14 | USE_LANGUAGES= c c++14 | 13 | USE_LANGUAGES= c c++14 | |
15 | USE_TOOLS+= pkg-config gmake | 14 | USE_TOOLS+= pkg-config gmake | |
16 | 15 | |||
17 | # https://github.com/kcat/openal-soft/issues/347 | 16 | # https://github.com/kcat/openal-soft/issues/347 |
@@ -1,25 +1,26 @@ | @@ -1,25 +1,26 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.7 2022/05/04 06:53:06 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.8 2023/02/16 15:15:55 wiz Exp $ | |
2 | bin/makemhr | 2 | bin/makemhr | |
3 | bin/openal-info | 3 | bin/openal-info | |
4 | include/AL/al.h | 4 | include/AL/al.h | |
5 | include/AL/alc.h | 5 | include/AL/alc.h | |
6 | include/AL/alext.h | 6 | include/AL/alext.h | |
7 | include/AL/efx-creative.h | 7 | include/AL/efx-creative.h | |
8 | include/AL/efx-presets.h | 8 | include/AL/efx-presets.h | |
9 | include/AL/efx.h | 9 | include/AL/efx.h | |
10 | lib/cmake/OpenAL/OpenALConfig.cmake | 10 | lib/cmake/OpenAL/OpenALConfig.cmake | |
11 | lib/cmake/OpenAL/OpenALTargets-relwithdebinfo.cmake | 11 | lib/cmake/OpenAL/OpenALTargets-relwithdebinfo.cmake | |
12 | lib/cmake/OpenAL/OpenALTargets.cmake | 12 | lib/cmake/OpenAL/OpenALTargets.cmake | |
13 | lib/libopenal.so | 13 | lib/libopenal.so | |
14 | lib/libopenal.so.1 | 14 | lib/libopenal.so.1 | |
15 | lib/libopenal.so.${PKGVERSION} | 15 | lib/libopenal.so.${PKGVERSION} | |
16 | lib/pkgconfig/openal.pc | 16 | lib/pkgconfig/openal.pc | |
17 | share/openal/alsoftrc.sample | 17 | share/openal/alsoftrc.sample | |
18 | share/openal/hrtf/Default HRTF.mhr | 18 | share/openal/hrtf/Default HRTF.mhr | |
19 | share/openal/presets/3D7.1.ambdec | 19 | share/openal/presets/3D7.1.ambdec | |
20 | share/openal/presets/hex-quad.ambdec | |||
20 | share/openal/presets/hexagon.ambdec | 21 | share/openal/presets/hexagon.ambdec | |
21 | share/openal/presets/itu5.1-nocenter.ambdec | 22 | share/openal/presets/itu5.1-nocenter.ambdec | |
22 | share/openal/presets/itu5.1.ambdec | 23 | share/openal/presets/itu5.1.ambdec | |
23 | share/openal/presets/presets.txt | 24 | share/openal/presets/presets.txt | |
24 | share/openal/presets/rectangle.ambdec | 25 | share/openal/presets/rectangle.ambdec | |
25 | share/openal/presets/square.ambdec | 26 | share/openal/presets/square.ambdec |
@@ -1,10 +1,9 @@ | @@ -1,10 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.16 2022/07/07 10:03:53 adam Exp $ | 1 | $NetBSD: distinfo,v 1.17 2023/02/16 15:15:55 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (openal-soft-1.22.2.tar.bz2) = 690b1f9b85d8da35186a1bade6628e1dec28e118f815c48086bd9db7c57a74ca | 3 | BLAKE2s (openal-soft-1.23.0.tar.bz2) = b43f3a968a415e2aeaacb950165bb06036acccdd4355a82b3aef0060684b2942 | |
4 | SHA512 (openal-soft-1.22.2.tar.bz2) = 2271968955d55746caf514b6d4304d09d5e552d5640552e2503186ef36bc872a836804ebf79ffbda663931bd13d4e2ce53e0c46cc4faf4134bdb3c08983a5e47 | 4 | SHA512 (openal-soft-1.23.0.tar.bz2) = 5c10ccd3cf0c05b9331f9b0da8913a9ffd0f9fc4464192b4b6a12ee1ddaab123ae5a719ead837f7701b129d7faecec1aaf91aabc4c58ee10932c9d716d128071 | |
5 | Size (openal-soft-1.22.2.tar.bz2) = 606151 bytes | 5 | Size (openal-soft-1.23.0.tar.bz2) = 692978 bytes | |
6 | SHA1 (patch-CMakeLists.txt) = 906d46ec5a71dc93a05a94985568b22ab67e60a2 | 6 | SHA1 (patch-CMakeLists.txt) = 7ad92c7175b7888c1954daf413eef2db3aeef583 | |
7 | SHA1 (patch-alc_alconfig.cpp) = 0539016dadf1827e5a86700c2db5a96479a8b70d | 7 | SHA1 (patch-alc_alconfig.cpp) = 0539016dadf1827e5a86700c2db5a96479a8b70d | |
8 | SHA1 (patch-alc_backends_alsa.cpp) = 3ee7f86e544d9b33ccbe9422eb87b9540623053a | 8 | SHA1 (patch-alc_backends_alsa.cpp) = 3ee7f86e544d9b33ccbe9422eb87b9540623053a | |
9 | SHA1 (patch-alc_backends_solaris.cpp) = 62e7a5bddb5c4ed7f7e4c4889b2234dd778be960 | 9 | SHA1 (patch-include_AL_al.h) = e11858155db9d48ca8ae0d4e28479ec4d674411b | |
10 | SHA1 (patch-include_AL_al.h) = 5545de5f606320b64ddd713569c9a86c8552eb46 |
@@ -1,36 +1,24 @@ | @@ -1,36 +1,24 @@ | |||
1 | $NetBSD: patch-CMakeLists.txt,v 1.5 2022/05/04 17:23:35 tnn Exp $ | 1 | $NetBSD: patch-CMakeLists.txt,v 1.6 2023/02/16 15:15:55 wiz Exp $ | |
2 | 2 | |||
3 | Fix building. | 3 | Disable libsndfile. | |
4 | 4 | |||
5 | --- CMakeLists.txt.orig 2022-04-23 01:46:14.000000000 +0000 | 5 | --- CMakeLists.txt.orig 2023-02-03 14:48:18.000000000 +0000 | |
6 | +++ CMakeLists.txt | 6 | +++ CMakeLists.txt | |
7 | @@ -1206,9 +1206,9 @@ if(ALSOFT_EMBED_HRTF_DATA) | 7 | @@ -1559,7 +1559,7 @@ if(ALSOFT_UTILS) | |
8 | ||||
9 | add_custom_command(OUTPUT "${outfile}" | |||
10 | COMMAND ${CMAKE_COMMAND} -D "INPUT_FILE=${infile}" -D "OUTPUT_FILE=${outfile}" | |||
11 | - -D "VARIABLE_NAME=${VARNAME}" -P "${CMAKE_MODULE_PATH}/bin2h.script.cmake" | |||
12 | + -D "VARIABLE_NAME=${VARNAME}" -P "${OpenAL_SOURCE_DIR}/cmake/bin2h.script.cmake" | |||
13 | WORKING_DIRECTORY "${OpenAL_SOURCE_DIR}" | |||
14 | - DEPENDS "${infile}" "${CMAKE_MODULE_PATH}/bin2h.script.cmake" | |||
15 | + DEPENDS "${infile}" "${OpenAL_SOURCE_DIR}/cmake/bin2h.script.cmake" | |||
16 | VERBATIM | |||
17 | ) | |||
18 | set(ALC_OBJS ${ALC_OBJS} "${outfile}") | |||
19 | @@ -1522,7 +1522,7 @@ if(ALSOFT_UTILS) | |||
20 | set(EXTRA_INSTALLS ${EXTRA_INSTALLS} openal-info) | 8 | set(EXTRA_INSTALLS ${EXTRA_INSTALLS} openal-info) | |
21 | endif() | 9 | endif() | |
22 | 10 | |||
23 | - if(SNDFILE_FOUND) | 11 | - if(SNDFILE_FOUND) | |
24 | + if(SNDFILE_FOUND AND False) | 12 | + if(SNDFILE_FOUND AND False) | |
25 | add_executable(uhjdecoder utils/uhjdecoder.cpp) | 13 | add_executable(uhjdecoder utils/uhjdecoder.cpp) | |
26 | target_compile_definitions(uhjdecoder PRIVATE ${CPP_DEFS}) | 14 | target_compile_definitions(uhjdecoder PRIVATE ${CPP_DEFS}) | |
27 | target_include_directories(uhjdecoder | 15 | target_include_directories(uhjdecoder | |
28 | @@ -1608,7 +1608,7 @@ if(ALSOFT_EXAMPLES) | 16 | @@ -1645,7 +1645,7 @@ if(ALSOFT_EXAMPLES) | |
29 | 17 | |||
30 | message(STATUS "Building example programs") | 18 | message(STATUS "Building example programs") | |
31 | 19 | |||
32 | - if(SNDFILE_FOUND) | 20 | - if(SNDFILE_FOUND) | |
33 | + if(SNDFILE_FOUND AND False) | 21 | + if(SNDFILE_FOUND AND False) | |
34 | add_executable(alplay examples/alplay.c) | 22 | add_executable(alplay examples/alplay.c) | |
35 | target_link_libraries(alplay PRIVATE ${LINKER_FLAGS} SndFile::SndFile ex-common | 23 | target_link_libraries(alplay PRIVATE ${LINKER_FLAGS} SndFile::SndFile ex-common | |
36 | ${UNICODE_FLAG}) | 24 | ${UNICODE_FLAG}) |
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | $NetBSD: patch-include_AL_al.h,v 1.1 2020/04/09 13:35:21 jperkin Exp $ | 1 | $NetBSD: patch-include_AL_al.h,v 1.2 2023/02/16 15:15:55 wiz Exp $ | |
2 | 2 | |||
3 | Fix SunOS build, int8_t is not always the same as signed char. | 3 | Fix SunOS build, int8_t is not always the same as signed char. | |
4 | 4 | |||
5 | --- include/AL/al.h.orig 2020-01-24 07:28:45.000000000 +0000 | 5 | --- include/AL/al.h.orig 2023-02-03 14:48:18.000000000 +0000 | |
6 | +++ include/AL/al.h | 6 | +++ include/AL/al.h | |
7 | @@ -41,7 +41,12 @@ typedef char ALboolean; | 7 | @@ -41,7 +41,12 @@ typedef char ALboolean; | |
8 | typedef char ALchar; | 8 | typedef char ALchar; | |
9 | 9 | |||
10 | /** signed 8-bit 2's complement integer */ | 10 | /** signed 8-bit integer */ | |
11 | +#ifdef __sun | 11 | +#ifdef __sun | |
12 | +#include <inttypes.h> | 12 | +#include <inttypes.h> | |
13 | +typedef int8_t ALbyte; | 13 | +typedef int8_t ALbyte; | |
14 | +#else | 14 | +#else | |
15 | typedef signed char ALbyte; | 15 | typedef signed char ALbyte; | |
16 | +#endif | 16 | +#endif | |
17 | 17 | |||
18 | /** unsigned 8-bit integer */ | 18 | /** unsigned 8-bit integer */ | |
19 | typedef unsigned char ALubyte; | 19 | typedef unsigned char ALubyte; |