mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[openal-soft] add 'pipewire' feature and PulseAudio backend (#26263)
This commit is contained in:
parent
368c1a5953
commit
75e08dc570
@ -6,6 +6,11 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
pipewire ALSOFT_BACKEND_PIPEWIRE
|
||||
)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
set(OPENAL_LIBTYPE "SHARED")
|
||||
else()
|
||||
@ -28,7 +33,7 @@ endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
OPTIONS ${FEATURE_OPTIONS}
|
||||
-DLIBTYPE=${OPENAL_LIBTYPE}
|
||||
-DALSOFT_UTILS=OFF
|
||||
-DALSOFT_NO_CONFIG_UTIL=ON
|
||||
@ -41,7 +46,7 @@ vcpkg_cmake_configure(
|
||||
-DALSOFT_BACKEND_SOLARIS=OFF
|
||||
-DALSOFT_BACKEND_SNDIO=OFF
|
||||
-DALSOFT_BACKEND_PORTAUDIO=OFF
|
||||
-DALSOFT_BACKEND_PULSEAUDIO=OFF
|
||||
-DALSOFT_BACKEND_PULSEAUDIO=${ALSOFT_REQUIRE_LINUX}
|
||||
-DALSOFT_BACKEND_COREAUDIO=${ALSOFT_REQUIRE_APPLE}
|
||||
-DALSOFT_BACKEND_JACK=OFF
|
||||
-DALSOFT_BACKEND_OPENSL=${VCPKG_TARGET_IS_ANDROID}
|
||||
@ -59,6 +64,7 @@ vcpkg_cmake_configure(
|
||||
ALSOFT_BACKEND_OPENSL
|
||||
ALSOFT_BACKEND_OSS
|
||||
ALSOFT_BACKEND_PORTAUDIO
|
||||
ALSOFT_BACKEND_PIPEWIRE
|
||||
ALSOFT_BACKEND_PULSEAUDIO
|
||||
ALSOFT_BACKEND_SNDIO
|
||||
ALSOFT_BACKEND_SOLARIS
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "openal-soft",
|
||||
"version-semver": "1.22.2",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL 3D audio API.",
|
||||
"homepage": "https://github.com/kcat/openal-soft",
|
||||
"license": "GPL-2.0-or-later",
|
||||
@ -19,5 +19,14 @@
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"features": {
|
||||
"pipewire": {
|
||||
"description": "Native support for Pipewire",
|
||||
"supports": "linux",
|
||||
"dependencies": [
|
||||
"pipewire"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5154,7 +5154,7 @@
|
||||
},
|
||||
"openal-soft": {
|
||||
"baseline": "1.22.2",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"openblas": {
|
||||
"baseline": "0.3.20",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a964545a6c1ea12eb653de3d4739431ddf1cce85",
|
||||
"version-semver": "1.22.2",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "2a5b37e3c3d9cd16ebbcdaddcce6cb7249aa21ec",
|
||||
"version-semver": "1.22.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user