Skip to content
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
7 changes: 6 additions & 1 deletion ports/rtmidi/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
13 changes: 11 additions & 2 deletions ports/rtmidi/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -15,5 +15,14 @@
"name": "vcpkg-cmake-config",
"host": true
}
]
],
"features": {
"alsa": {
"description": "Build ALSA API",
"supports": "linux",
"dependencies": [
"alsa"
]
}
}
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6318,7 +6318,7 @@
},
"rtmidi": {
"baseline": "5.0.0",
"port-version": 1
"port-version": 2
},
"rttr": {
"baseline": "0.9.6",
Expand Down
5 changes: 5 additions & 0 deletions versions/r-/rtmidi.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "70873823ce910dcf80078a94f12191371523d84c",
"version": "5.0.0",
"port-version": 2
},
{
"git-tree": "30614a92baff91c2d2790029179dbb37122ca331",
"version": "5.0.0",
Expand Down