vcpkg/ports/rtaudio/vcpkg.json
jim wang fa61404c72
[rtaudio] Fix feature pulse compilation error (#38625)
Fix one of https://github.com/microsoft/vcpkg/issues/32398 issue.

Fixed the issue of prompting that pulse and pulse-simple cannot be found
when compiling feature pulse on Linux.
- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~~SHA512s are updated for each updated download.~~
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.

Compile test pass with following triplets:
```
x64-windows
x64-linux
```
Usage test pass with following triplets:

```
x64-linux
```
2024-05-09 13:04:12 -07:00

40 lines
971 B
JSON

{
"name": "rtaudio",
"version": "6.0.1",
"port-version": 1,
"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,
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"alsa": {
"description": "Build ALSA API",
"supports": "linux",
"dependencies": [
"alsa"
]
},
"asio": {
"description": "Build with ASIO backend",
"supports": "windows"
},
"pulse": {
"description": "Build with PulseAudio backend",
"supports": "linux",
"dependencies": [
"pulseaudio"
]
}
}
}