diff --git a/ports/libremidi/portfile.cmake b/ports/libremidi/portfile.cmake new file mode 100644 index 00000000000000..edff0a344b7f36 --- /dev/null +++ b/ports/libremidi/portfile.cmake @@ -0,0 +1,18 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO jcelerier/libremidi + REF "v${VERSION}" + + SHA512 7b73d5e1a565e9f85ac28fba041c66a151537a9205b4f3605fa70e18d5e651fa0562329853c7e08bf8e620f9d83d08d167b746d30c39bffcd325fbd6338d0538 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/libremidi PACKAGE_NAME libremidi) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md") + diff --git a/ports/libremidi/vcpkg.json b/ports/libremidi/vcpkg.json new file mode 100644 index 00000000000000..a5496a058112f3 --- /dev/null +++ b/ports/libremidi/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "libremidi", + "version": "4.1.0", + "description": "A modern C++ MIDI real-time & file I/O library", + "homepage": "https://github.com/jcelerier/libremidi", + "license": "BSD-2-Clause", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 9ce5cc49f0f1ef..dc534bb5060d1d 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4580,6 +4580,10 @@ "baseline": "0.12.5.5178", "port-version": 1 }, + "libremidi": { + "baseline": "4.1.0", + "port-version": 0 + }, "libressl": { "baseline": "3.6.2", "port-version": 1 diff --git a/versions/l-/libremidi.json b/versions/l-/libremidi.json new file mode 100644 index 00000000000000..ba6cc62e387e3f --- /dev/null +++ b/versions/l-/libremidi.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "4c1473e864943f0e6189d315c1eb09a77ce3a3f0", + "version": "4.1.0", + "port-version": 0 + } + ] +}