Skip to content

Commit

Permalink
[portmidi] Update to 2.0.4 (#27166)
Browse files Browse the repository at this point in the history
* Updated portmidi to 2.0.4

* Set new PortMIDI CMake variable for static CRT builds
  • Loading branch information
JoergAtGithub committed Oct 17, 2022
1 parent a53829c commit 9415bda
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
16 changes: 13 additions & 3 deletions ports/portmidi/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
3 changes: 1 addition & 2 deletions ports/portmidi/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions versions/p-/portmidi.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "80e9d16ce38c591b483a1d5b84eeb96a00a4d4ff",
"version": "2.0.4",
"port-version": 0
},
{
"git-tree": "9aba0f6770f874c56c8e8bebf2a6a9b3edbe899a",
"version": "2.0.2",
Expand Down

0 comments on commit 9415bda

Please sign in to comment.