mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 16:43:02 +08:00
[rtmidi] Add new 'alsa' feature (#25156)
This commit is contained in:
parent
70cfcd0e18
commit
b9e42cd228
@ -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()
|
||||
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6318,7 +6318,7 @@
|
||||
},
|
||||
"rtmidi": {
|
||||
"baseline": "5.0.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"rttr": {
|
||||
"baseline": "0.9.6",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "70873823ce910dcf80078a94f12191371523d84c",
|
||||
"version": "5.0.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "30614a92baff91c2d2790029179dbb37122ca331",
|
||||
"version": "5.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user