[rtaudio] Add 'pulse' feature (#30679)

* [rtaudio] Add feature 'pulse'

* [rtaudio] Updated version database

---------

Co-authored-by: DevFdv <ID+username@users.noreply.github.com>
This commit is contained in:
DevFdv 2023-04-05 21:51:59 +02:00 committed by GitHub
parent 8250e4dd4b
commit 7a98b9a727
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 4 deletions

View File

@ -13,6 +13,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
asio RTAUDIO_API_ASIO
alsa RTAUDIO_API_ALSA
pulse RTAUDIO_API_PULSE
)
vcpkg_cmake_configure(
@ -20,7 +21,6 @@ vcpkg_cmake_configure(
OPTIONS
-DRTAUDIO_STATIC_MSVCRT=${RTAUDIO_STATIC_MSVCRT}
-DRTAUDIO_API_JACK=OFF
-DRTAUDIO_API_PULSE=OFF
${FEATURE_OPTIONS}
)
@ -31,4 +31,4 @@ vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,7 +1,7 @@
{
"name": "rtaudio",
"version-date": "2021-11-16",
"port-version": 1,
"port-version": 2,
"description": "A set of C++ classes that provide a common API for realtime audio input/output across Linux (native ALSA, JACK, PulseAudio and OSS), Macintosh OS X (CoreAudio and JACK), and Windows (DirectSound, ASIO and WASAPI) operating systems.",
"homepage": "https://github.com/thestk/rtaudio",
"license": null,
@ -27,6 +27,10 @@
"asio": {
"description": "Build with ASIO backend",
"supports": "windows"
},
"pulse": {
"description": "Build with PulseAudio backend",
"supports": "linux"
}
}
}

View File

@ -7038,7 +7038,7 @@
},
"rtaudio": {
"baseline": "2021-11-16",
"port-version": 1
"port-version": 2
},
"rtlsdr": {
"baseline": "2020-04-16",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "989c7dceafbd4ea849445d86bdc1b4bbf7133960",
"version-date": "2021-11-16",
"port-version": 2
},
{
"git-tree": "f1adbba529fbfd9b66a7951556a088e0834baa09",
"version-date": "2021-11-16",