mirror of https://github.com/microsoft/vcpkg.git
[portmidi] update to 2.0.2 (#22312)
This removes the need for the patch to get portmidi to build on macOS.
This commit is contained in:
parent
f5981dabf0
commit
407bda38c1
|
|
@ -1,37 +0,0 @@
|
|||
From 7a53214dd18a664eea96c9e9265374195d94a405 Mon Sep 17 00:00:00 2001
|
||||
From: Be <be@mixxx.org>
|
||||
Date: Thu, 30 Dec 2021 13:06:58 -0600
|
||||
Subject: [PATCH] CMake: remove unnecessary macOS stuff
|
||||
|
||||
There is no reason for this to be there and it breaks vcpkg.
|
||||
---
|
||||
pm_common/CMakeLists.txt | 13 -------------
|
||||
1 file changed, 13 deletions(-)
|
||||
|
||||
diff --git a/pm_common/CMakeLists.txt b/pm_common/CMakeLists.txt
|
||||
index 990b0e6..63d4fa1 100644
|
||||
--- a/pm_common/CMakeLists.txt
|
||||
+++ b/pm_common/CMakeLists.txt
|
||||
@@ -52,19 +52,6 @@ if(PM_CHECK_ERRORS)
|
||||
target_compile_definitions(portmidi PRIVATE PM_CHECK_ERRORS)
|
||||
endif(PM_CHECK_ERRORS)
|
||||
|
||||
-
|
||||
-if(APPLE)
|
||||
-# set(PM_OSX_VERSION "10.7" CACHE STRING
|
||||
-# "selects PM_OSX_SDK and macosx-version-min C flag")
|
||||
- set(PM_OSX_SDK "/Developer/SDKs/MacOSX${PM_OSX_VERSION}.sdk")
|
||||
- set(CMAKE_OSX_SYSROOT ${PM_OSC_SDK} CACHE
|
||||
- PATH "-isysroot parameter for compiler")
|
||||
- set(CMAKE_C_FLAGS "-mmacosx-version-min=${PM_OSC_VERSION}" CACHE
|
||||
- STRING "needed in conjunction with CMAKE_OSX_SYSROOT" FORCE)
|
||||
- # option(OSX_RPATH "control CMake policy for finding macOS dynamic libraries"
|
||||
- # ON) # enabled here to match CMake default. Is this correct?
|
||||
-endif()
|
||||
-
|
||||
macro(prepend_path RESULT PATH)
|
||||
set(${RESULT})
|
||||
foreach(FILE ${ARGN})
|
||||
--
|
||||
2.33.1
|
||||
|
||||
|
|
@ -3,10 +3,9 @@ vcpkg_fail_port_install(ON_TARGET "UWP")
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO PortMidi/portmidi
|
||||
REF v2.0.1
|
||||
SHA512 2c412e5b2e90fb375fbd14f22adbf31e0f3ca8ffbb421185e58bd2564da7e431395a9b50c4ba9a1330b2b17b08f0f9e31730f3a57bf8cd14210f3128c70c57a3
|
||||
REF v2.0.2
|
||||
SHA512 36c43dc1f8b304c36de1c4672b8d2abe67c72dd8ea46044ebd479896a0e346f00207d4483e08701a04cdf3f342790c874f8a1c07d71d5d55d763bf97a1276021
|
||||
HEAD_REF master
|
||||
PATCHES fix-macOS.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "portmidi",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"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",
|
||||
|
|
|
|||
|
|
@ -5397,7 +5397,7 @@
|
|||
"port-version": 2
|
||||
},
|
||||
"portmidi": {
|
||||
"baseline": "2.0.1",
|
||||
"baseline": "2.0.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"portsmf": {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a32d3d5e0e58e38089378c3f723f2b4862714a4c",
|
||||
"version": "2.0.2",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "4d58125fb4cf188de9f9485bc5064ae2eaf982c4",
|
||||
"version": "2.0.1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue