aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/rtmidi/CONTROL6
-rw-r--r--ports/rtmidi/portfile.cmake13
-rw-r--r--ports/rtmidi/vcpkg.json8
3 files changed, 15 insertions, 12 deletions
diff --git a/ports/rtmidi/CONTROL b/ports/rtmidi/CONTROL
deleted file mode 100644
index 7c2c39f2a..000000000
--- a/ports/rtmidi/CONTROL
+++ /dev/null
@@ -1,6 +0,0 @@
-Source: rtmidi
-Version: 4.0.0
-Port-Version: 2
-Homepage: https://github.com/thestk/rtmidi
-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)
-Supports: !uwp
diff --git a/ports/rtmidi/portfile.cmake b/ports/rtmidi/portfile.cmake
index 4a9fccbcc..8d1316ff6 100644
--- a/ports/rtmidi/portfile.cmake
+++ b/ports/rtmidi/portfile.cmake
@@ -15,15 +15,16 @@ vcpkg_from_github(
)
vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
- OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON
- OPTIONS -DRTMIDI_API_ALSA=OFF
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+ OPTIONS
+ -DRTMIDI_API_ALSA=OFF
+ -DRTMIDI_API_JACK=OFF
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets()
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
-file(INSTALL ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(INSTALL "${SOURCE_PATH}/README.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/rtmidi/vcpkg.json b/ports/rtmidi/vcpkg.json
new file mode 100644
index 000000000..82d6c482c
--- /dev/null
+++ b/ports/rtmidi/vcpkg.json
@@ -0,0 +1,8 @@
+{
+ "name": "rtmidi",
+ "version-semver": "4.0.0",
+ "port-version": 3,
+ "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",
+ "supports": "!uwp"
+}