Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rtaudio] Add 'pulse' feature #30679

Merged
merged 2 commits into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ports/rtaudio/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
asio RTAUDIO_API_ASIO
alsa RTAUDIO_API_ALSA
pulse RTAUDIO_API_PULSE
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DRTAUDIO_STATIC_MSVCRT=${RTAUDIO_STATIC_MSVCRT}
-DRTAUDIO_API_JACK=OFF
-DRTAUDIO_API_PULSE=OFF
${FEATURE_OPTIONS}
)

Expand All @@ -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")
6 changes: 5 additions & 1 deletion ports/rtaudio/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -27,6 +27,10 @@
"asio": {
"description": "Build with ASIO backend",
"supports": "windows"
},
"pulse": {
"description": "Build with PulseAudio backend",
"supports": "linux"
}
}
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7034,7 +7034,7 @@
},
"rtaudio": {
"baseline": "2021-11-16",
"port-version": 1
"port-version": 2
},
"rtlsdr": {
"baseline": "2020-04-16",
Expand Down
5 changes: 5 additions & 0 deletions versions/r-/rtaudio.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "989c7dceafbd4ea849445d86bdc1b4bbf7133960",
"version-date": "2021-11-16",
"port-version": 2
},
{
"git-tree": "f1adbba529fbfd9b66a7951556a088e0834baa09",
"version-date": "2021-11-16",
Expand Down