[rtmidi] Add new 'alsa' feature (#25156)

This commit is contained in:
Giovanni A. Zuliani 2022-06-13 16:30:52 -07:00 committed by GitHub
parent 70cfcd0e18
commit b9e42cd228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 4 deletions

View File

@ -11,12 +11,17 @@ vcpkg_from_github(
PATCHES fix-cmake-usage.patch # Remove this patch in the next update
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
alsa RTMIDI_API_ALSA
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DRTMIDI_API_ALSA=OFF
-DRTMIDI_API_JACK=OFF
-DRTMIDI_BUILD_TESTING=OFF
${FEATURE_OPTIONS}
)
vcpkg_cmake_install()

View File

@ -1,7 +1,7 @@
{
"name": "rtmidi",
"version": "5.0.0",
"port-version": 1,
"port-version": 2,
"description": "A set of C++ classes that provide a common API for realtime MIDI input/output across Linux (ALSA & JACK), Macintosh OS X (CoreMidi & JACK) and Windows (Multimedia)",
"homepage": "https://github.com/thestk/rtmidi",
"license": "MIT",
@ -15,5 +15,14 @@
"name": "vcpkg-cmake-config",
"host": true
}
]
],
"features": {
"alsa": {
"description": "Build ALSA API",
"supports": "linux",
"dependencies": [
"alsa"
]
}
}
}

View File

@ -6318,7 +6318,7 @@
},
"rtmidi": {
"baseline": "5.0.0",
"port-version": 1
"port-version": 2
},
"rttr": {
"baseline": "0.9.6",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "70873823ce910dcf80078a94f12191371523d84c",
"version": "5.0.0",
"port-version": 2
},
{
"git-tree": "30614a92baff91c2d2790029179dbb37122ca331",
"version": "5.0.0",