diff options
| author | Be <be@mixxx.org> | 2021-08-05 16:26:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-05 16:26:28 -0700 |
| commit | 1a51d8b043d96345851249fb8d8509f9ab3a12fe (patch) | |
| tree | 03dbe754234f3a2964041def72f0ba7c61bbf18f /ports | |
| parent | 0fd101a2c5c6a5b47cef35e172be0ae32dd241d4 (diff) | |
| download | vcpkg-1a51d8b043d96345851249fb8d8509f9ab3a12fe.tar.gz vcpkg-1a51d8b043d96345851249fb8d8509f9ab3a12fe.zip | |
[portsmf] add new port with version 236 (#18982)
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/portsmf/portfile.cmake | 19 | ||||
| -rw-r--r-- | ports/portsmf/vcpkg.json | 18 |
2 files changed, 37 insertions, 0 deletions
diff --git a/ports/portsmf/portfile.cmake b/ports/portsmf/portfile.cmake new file mode 100644 index 000000000..f16dd9eed --- /dev/null +++ b/ports/portsmf/portfile.cmake @@ -0,0 +1,19 @@ +vcpkg_fail_port_install(ON_TARGET "UWP") + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO tenacityteam/portsmf + REF 236 + SHA512 ede5ca770cab37822eebda7876c4fce7e786a11e15b3e173704863de97ea621b284439ebe7a14fdeadd0dc315f963c8da467ebbb7c246ebf80f5b120c35aa027 + HEAD_REF main +) + +vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}") +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/PortSMF) +vcpkg_fixup_pkgconfig() +vcpkg_copy_pdbs() + +file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") diff --git a/ports/portsmf/vcpkg.json b/ports/portsmf/vcpkg.json new file mode 100644 index 000000000..3da8c402d --- /dev/null +++ b/ports/portsmf/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "portsmf", + "version": "0.236", + "description": "Portsmf is 'Port Standard MIDI File', a cross-platform, C++ library for reading and writing Standard MIDI Files.", + "homepage": "https://github.com/tenacityteam/portsmf", + "license": "MIT", + "supports": "!uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |
