diff options
author | tobik <tobik@FreeBSD.org> | 2018-09-11 18:35:20 +0800 |
---|---|---|
committer | tobik <tobik@FreeBSD.org> | 2018-09-11 18:35:20 +0800 |
commit | b8f2e2f183717b6321e90df0a0aaedfe3ff56ad3 (patch) | |
tree | 7aa5e1c22bca0ed1c017bb4dbd5260549c192aac | |
parent | bd9ce1f6741777b148b11df7a6ef5d2839b9f021 (diff) | |
download | freebsd-ports-gnome-b8f2e2f183717b6321e90df0a0aaedfe3ff56ad3.tar.gz freebsd-ports-gnome-b8f2e2f183717b6321e90df0a0aaedfe3ff56ad3.tar.zst freebsd-ports-gnome-b8f2e2f183717b6321e90df0a0aaedfe3ff56ad3.zip |
audio/openal-soft: Update to 1.19.0
- Add option for the new SDL2 backend
Changes: https://raw.githubusercontent.com/kcat/openal-soft/openal-soft-1.19.0/ChangeLog
ABI: https://abi-laboratory.pro/tracker/timeline/openal/
-rw-r--r-- | audio/openal-soft/Makefile | 11 | ||||
-rw-r--r-- | audio/openal-soft/distinfo | 6 | ||||
-rw-r--r-- | audio/openal-soft/files/patch-Alc_ALc.c | 22 | ||||
-rw-r--r-- | audio/openal-soft/pkg-plist | 12 |
4 files changed, 17 insertions, 34 deletions
diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile index 6858fb1482f5..bc49789fee85 100644 --- a/audio/openal-soft/Makefile +++ b/audio/openal-soft/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= openal-soft -PORTVERSION= 1.18.2 -PORTREVISION= 3 +PORTVERSION= 1.19.0 CATEGORIES= audio MASTER_SITES= http://kcat.strangesoft.net/openal-releases/ @@ -27,7 +26,7 @@ CMAKE_ON= ALSOFT_BACKEND_WAVE \ ALSOFT_UTILS LDFLAGS+= -Wl,--as-needed # do not link with librt and libdl -OPTIONS_DEFINE= EXAMPLES CONFIG JACK OSS PORTAUDIO PULSEAUDIO SNDIO +OPTIONS_DEFINE= EXAMPLES CONFIG JACK OSS PORTAUDIO PULSEAUDIO SDL SNDIO OPTIONS_DEFAULT= OSS OPTIONS_SUB= yes @@ -49,13 +48,17 @@ PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PULSEAUDIO_CMAKE_BOOL= ALSOFT_REQUIRE_PULSEAUDIO ALSOFT_BACKEND_PULSEAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +SDL_CMAKE_BOOL= ALSOFT_REQUIRE_SDL2 ALSOFT_BACKEND_SDL2 +SDL_USES= localbase +SDL_USE= SDL=sdl2 + SNDIO_CMAKE_BOOL= ALSOFT_REQUIRE_SNDIO ALSOFT_BACKEND_SNDIO SNDIO_IMPLIES= OSS # provide fallback for missing sndio capture support SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio post-patch: @${REINPLACE_CMD} 's|/etc/openal|${ETCDIR}|' \ - ${WRKSRC}/Alc/alcConfig.c + ${WRKSRC}/Alc/alconfig.c post-install-EXAMPLES-on: (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \ diff --git a/audio/openal-soft/distinfo b/audio/openal-soft/distinfo index 61baf0871857..a90bd0a25508 100644 --- a/audio/openal-soft/distinfo +++ b/audio/openal-soft/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1506260510 -SHA256 (openal-soft-1.18.2.tar.bz2) = 9f8ac1e27fba15a59758a13f0c7f6540a0605b6c3a691def9d420570506d7e82 -SIZE (openal-soft-1.18.2.tar.bz2) = 639420 +TIMESTAMP = 1536318439 +SHA256 (openal-soft-1.19.0.tar.bz2) = f1adf3a6e73e2f9270a0fd00887ea23793968fa787f60dcdec41a3b2f42a0ed6 +SIZE (openal-soft-1.19.0.tar.bz2) = 575163 diff --git a/audio/openal-soft/files/patch-Alc_ALc.c b/audio/openal-soft/files/patch-Alc_ALc.c deleted file mode 100644 index d628605f0a55..000000000000 --- a/audio/openal-soft/files/patch-Alc_ALc.c +++ /dev/null @@ -1,22 +0,0 @@ -Prefer sndio over OSS when it's enabled. - ---- Alc/ALc.c.orig 2018-06-21 02:27:21 UTC -+++ Alc/ALc.c -@@ -69,14 +69,14 @@ static struct BackendInfo BackendList[] = { - #ifdef HAVE_COREAUDIO - { "core", ALCcoreAudioBackendFactory_getFactory }, - #endif --#ifdef HAVE_OSS -- { "oss", ALCossBackendFactory_getFactory }, --#endif - #ifdef HAVE_SOLARIS - { "solaris", ALCsolarisBackendFactory_getFactory }, - #endif - #ifdef HAVE_SNDIO - { "sndio", ALCsndioBackendFactory_getFactory }, -+#endif -+#ifdef HAVE_OSS -+ { "oss", ALCossBackendFactory_getFactory }, - #endif - #ifdef HAVE_QSA - { "qsa", ALCqsaBackendFactory_getFactory }, diff --git a/audio/openal-soft/pkg-plist b/audio/openal-soft/pkg-plist index 744bdf86642b..50507ee14638 100644 --- a/audio/openal-soft/pkg-plist +++ b/audio/openal-soft/pkg-plist @@ -1,13 +1,13 @@ +%%CONFIG%%bin/alsoft-config bin/altonegen -bin/bsincgen bin/makehrtf -%%CONFIG%%bin/alsoft-config bin/openal-info %%ETCDIR%%/alsoftrc.sample %%ETCDIR%%/hrtf/default-44100.mhr %%ETCDIR%%/hrtf/default-48000.mhr %%ETCDIR%%/presets/3D7.1.ambdec %%ETCDIR%%/presets/hexagon.ambdec +%%ETCDIR%%/presets/itu5.1-nocenter.ambdec %%ETCDIR%%/presets/itu5.1.ambdec %%ETCDIR%%/presets/presets.txt %%ETCDIR%%/presets/rectangle.ambdec @@ -15,19 +15,21 @@ bin/openal-info include/AL/al.h include/AL/alc.h include/AL/alext.h -include/AL/efx.h include/AL/efx-creative.h include/AL/efx-presets.h +include/AL/efx.h lib/cmake/OpenAL/OpenALConfig-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/OpenAL/OpenALConfig.cmake -lib/libopenal.so.1.18.2 -lib/libopenal.so.1 lib/libopenal.so +lib/libopenal.so.1 +lib/libopenal.so.1.19.0 libdata/pkgconfig/openal.pc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alffplay.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alhrtf.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/allatency.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alloopback.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/almultireverb.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alplay.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alrecord.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alreverb.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alstream.c |