[portmidi] Update to 2.0.4 (#27166)

* Updated portmidi to 2.0.4

* Set new PortMIDI CMake variable for static CRT builds
This commit is contained in:
JoergAtGithub 2022-10-17 16:47:07 +02:00 committed by GitHub
parent a53829c1df
commit 9415bda2df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 7 deletions

View File

@ -1,12 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO PortMidi/portmidi
REF v2.0.2
SHA512 36c43dc1f8b304c36de1c4672b8d2abe67c72dd8ea46044ebd479896a0e346f00207d4483e08701a04cdf3f342790c874f8a1c07d71d5d55d763bf97a1276021
REF v2.0.4
SHA512 d9f22d161e1dd9a4bde1971bb2b6e5352da51545f4fe5ecad11c55e7a535f0d88efce18d1c8fd91e93b70a7926150f86a0f53972ad92370e86556a8dd72dc194
HEAD_REF master
)
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
if(VCPKG_CRT_LINKAGE STREQUAL static)
SET(PM_USE_STATIC_RUNTIME ON)
else()
SET(PM_USE_STATIC_RUNTIME OFF)
endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DPM_USE_STATIC_RUNTIME="${PM_USE_STATIC_RUNTIME}"
)
vcpkg_cmake_install()
vcpkg_fixup_pkgconfig()

View File

@ -1,7 +1,6 @@
{
"name": "portmidi",
"version": "2.0.2",
"port-version": 1,
"version": "2.0.4",
"description": "PortMidi is a cross platform (Windows, macOS, Linux, and BSDs which support alsalib) library for interfacing with operating systems' MIDI I/O APIs.",
"homepage": "https://github.com/PortMidi/portmidi",
"license": "MIT",

View File

@ -5841,8 +5841,8 @@
"port-version": 3
},
"portmidi": {
"baseline": "2.0.2",
"port-version": 1
"baseline": "2.0.4",
"port-version": 0
},
"portsmf": {
"baseline": "0.238",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "80e9d16ce38c591b483a1d5b84eeb96a00a4d4ff",
"version": "2.0.4",
"port-version": 0
},
{
"git-tree": "9aba0f6770f874c56c8e8bebf2a6a9b3edbe899a",
"version": "2.0.2",