From 1a51d8b043d96345851249fb8d8509f9ab3a12fe Mon Sep 17 00:00:00 2001 From: Be Date: Thu, 5 Aug 2021 16:26:28 -0700 Subject: [PATCH] [portsmf] add new port with version 236 (#18982) --- ports/portsmf/portfile.cmake | 19 +++++++++++++++++++ ports/portsmf/vcpkg.json | 18 ++++++++++++++++++ versions/baseline.json | 4 ++++ versions/p-/portsmf.json | 9 +++++++++ 4 files changed, 50 insertions(+) create mode 100644 ports/portsmf/portfile.cmake create mode 100644 ports/portsmf/vcpkg.json create mode 100644 versions/p-/portsmf.json diff --git a/ports/portsmf/portfile.cmake b/ports/portsmf/portfile.cmake new file mode 100644 index 0000000000..f16dd9eed1 --- /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 0000000000..3da8c402dc --- /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 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 072feac14f..43a09d52dc 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5036,6 +5036,10 @@ "baseline": "0.234", "port-version": 0 }, + "portsmf": { + "baseline": "0.236", + "port-version": 0 + }, "ppconsul": { "baseline": "0.5-1", "port-version": 0 diff --git a/versions/p-/portsmf.json b/versions/p-/portsmf.json new file mode 100644 index 0000000000..a42e04f3a8 --- /dev/null +++ b/versions/p-/portsmf.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "4d9de0a9782866958a9aafdfa6cde176c0867dfc", + "version": "0.236", + "port-version": 0 + } + ] +}