mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-02-19 18:12:15 +00:00
deps: update openal to 1.24.2
This commit is contained in:
parent
56fa196182
commit
e0f442d1e1
5 changed files with 21 additions and 16 deletions
5
deps/openal/include/AL/alext.h
vendored
5
deps/openal/include/AL/alext.h
vendored
|
@ -1079,6 +1079,11 @@ ALenum AL_APIENTRY EAXGetBufferModeDirect(ALCcontext *context, ALuint buffer, AL
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef AL_SOFT_bformat_hoa
|
||||
#define AL_SOFT_bformat_hoa
|
||||
#define AL_UNPACK_AMBISONIC_ORDER_SOFT 0x199D
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -6,4 +6,4 @@ set(OPENAL_FOUND ON)
|
|||
set(OPENAL_INCLUDE_DIR $<TARGET_PROPERTY:OpenAL::OpenAL,INTERFACE_INCLUDE_DIRECTORIES>)
|
||||
set(OPENAL_LIBRARY $<LINK_ONLY:OpenAL::OpenAL>)
|
||||
set(OPENAL_DEFINITIONS $<TARGET_PROPERTY:OpenAL::OpenAL,INTERFACE_COMPILE_DEFINITIONS>)
|
||||
set(OPENAL_VERSION_STRING 1.24.1)
|
||||
set(OPENAL_VERSION_STRING 1.24.2)
|
||||
|
|
28
deps/openal/lib/cmake/OpenAL/OpenALTargets.cmake
vendored
28
deps/openal/lib/cmake/OpenAL/OpenALTargets.cmake
vendored
|
@ -1,13 +1,13 @@
|
|||
# Generated by CMake
|
||||
|
||||
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
||||
message(FATAL_ERROR "CMake >= 2.8.0 required")
|
||||
message(FATAL_ERROR "CMake >= 2.8.12 required")
|
||||
endif()
|
||||
if(CMAKE_VERSION VERSION_LESS "2.8.3")
|
||||
message(FATAL_ERROR "CMake >= 2.8.3 required")
|
||||
if(CMAKE_VERSION VERSION_LESS "2.8.12")
|
||||
message(FATAL_ERROR "CMake >= 2.8.12 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.8.3...3.23)
|
||||
cmake_policy(VERSION 2.8.12...3.29)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
@ -61,13 +61,9 @@ add_library(OpenAL::OpenAL STATIC IMPORTED)
|
|||
set_target_properties(OpenAL::OpenAL PROPERTIES
|
||||
INTERFACE_COMPILE_DEFINITIONS "AL_LIBTYPE_STATIC"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/AL;${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/AL"
|
||||
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:-pthread>;-Wl,-framework,AudioToolbox;-Wl,-framework,AudioUnit,-framework,ApplicationServices;-Wl,-framework,CoreAudio;\$<LINK_ONLY:dl>;\$<LINK_ONLY:m>"
|
||||
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:-pthread>;-Wl,-framework,AudioToolbox;-Wl,-framework,AudioUnit,-framework,ApplicationServices;-Wl,-framework,CoreAudio;\$<LINK_ONLY:dl>;\$<LINK_ONLY:m>;\$<LINK_ONLY:>"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
||||
endif()
|
||||
|
||||
# Load information for each installed configuration.
|
||||
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/OpenALTargets-*.cmake")
|
||||
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
||||
|
@ -81,9 +77,12 @@ set(_IMPORT_PREFIX)
|
|||
|
||||
# Loop over all imported files and verify that they actually exist
|
||||
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
||||
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
||||
if(NOT EXISTS "${_cmake_file}")
|
||||
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
||||
if(CMAKE_VERSION VERSION_LESS "3.28"
|
||||
OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
|
||||
OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
|
||||
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
||||
if(NOT EXISTS "${_cmake_file}")
|
||||
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
||||
\"${_cmake_file}\"
|
||||
but this file does not exist. Possible reasons include:
|
||||
* The file was deleted, renamed, or moved to another location.
|
||||
|
@ -92,8 +91,9 @@ but this file does not exist. Possible reasons include:
|
|||
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||
but not all the files it references.
|
||||
")
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
unset(_cmake_file)
|
||||
unset("_cmake_import_check_files_for_${_cmake_target}")
|
||||
endforeach()
|
||||
|
|
BIN
deps/openal/lib/libopenal.a
vendored
BIN
deps/openal/lib/libopenal.a
vendored
Binary file not shown.
2
deps/openal/lib/pkgconfig/openal.pc
vendored
2
deps/openal/lib/pkgconfig/openal.pc
vendored
|
@ -6,7 +6,7 @@ includedir=${prefix}/include
|
|||
Name: OpenAL
|
||||
Description: OpenAL is a cross-platform 3D audio API
|
||||
Requires:
|
||||
Version: 1.24.1
|
||||
Version: 1.24.2
|
||||
Libs: -L${libdir} -lopenal
|
||||
Libs.private: -pthread -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit,-framework,ApplicationServices -Wl,-framework,CoreAudio -ldl -lm
|
||||
Cflags: -I${includedir} -I${includedir}/AL -DAL_LIBTYPE_STATIC
|
||||
|
|
Loading…
Reference in a new issue