From 17c3670b069e57723deddc1645bda547bb77bad5 Mon Sep 17 00:00:00 2001 From: Cullen Jennings Date: Sun, 14 Feb 2021 16:29:32 -0700 Subject: [PATCH] [portaudio] Update port to latest on github (#16197) * Update portaudio port to latest on github * correct port version info * remove the port-version when it is zero * update version file --- ports/portaudio/fix-include.patch | 22 ---------------------- ports/portaudio/portfile.cmake | 5 ++--- ports/portaudio/vcpkg.json | 5 ++--- versions/baseline.json | 4 ++-- versions/p-/portaudio.json | 5 +++++ 5 files changed, 11 insertions(+), 30 deletions(-) delete mode 100644 ports/portaudio/fix-include.patch diff --git a/ports/portaudio/fix-include.patch b/ports/portaudio/fix-include.patch deleted file mode 100644 index 4003959f77a..00000000000 --- a/ports/portaudio/fix-include.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1024016..7e6ea20 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -365,7 +365,7 @@ IF(PA_BUILD_SHARED) - ADD_LIBRARY(portaudio SHARED ${PA_INCLUDES} ${PA_COMMON_INCLUDES} ${PA_SOURCES} ${PA_NON_UNICODE_SOURCES} ${PA_EXTRA_SHARED_SOURCES}) - SET_PROPERTY(TARGET portaudio APPEND_STRING PROPERTY COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS}) - TARGET_INCLUDE_DIRECTORIES(portaudio PRIVATE ${PA_PRIVATE_INCLUDE_PATHS}) -- TARGET_INCLUDE_DIRECTORIES(portaudio PUBLIC "$") -+ TARGET_INCLUDE_DIRECTORIES(portaudio PUBLIC "$" "$") - TARGET_LINK_LIBRARIES(portaudio ${PA_LIBRARY_DEPENDENCIES}) - ENDIF() - -@@ -374,7 +374,7 @@ IF(PA_BUILD_STATIC) - ADD_LIBRARY(portaudio_static STATIC ${PA_INCLUDES} ${PA_COMMON_INCLUDES} ${PA_SOURCES} ${PA_NON_UNICODE_SOURCES}) - SET_PROPERTY(TARGET portaudio_static APPEND_STRING PROPERTY COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS}) - TARGET_INCLUDE_DIRECTORIES(portaudio_static PRIVATE ${PA_PRIVATE_INCLUDE_PATHS}) -- TARGET_INCLUDE_DIRECTORIES(portaudio_static PUBLIC "$") -+ TARGET_INCLUDE_DIRECTORIES(portaudio_static PUBLIC "$" "$") - TARGET_LINK_LIBRARIES(portaudio_static ${PA_LIBRARY_DEPENDENCIES}) - IF(NOT PA_LIBNAME_ADD_SUFFIX) - SET_PROPERTY(TARGET portaudio_static PROPERTY OUTPUT_NAME portaudio) diff --git a/ports/portaudio/portfile.cmake b/ports/portaudio/portfile.cmake index 35e2122128d..4c312b15c72 100644 --- a/ports/portaudio/portfile.cmake +++ b/ports/portaudio/portfile.cmake @@ -1,11 +1,10 @@ vcpkg_fail_port_install(ON_TARGET "uwp") vcpkg_from_git( OUT_SOURCE_PATH SOURCE_PATH - URL https://git.assembla.com/portaudio.git - REF c5d2c51bd6fe354d0ee1119ba932bfebd3ebfacc + URL https://github.com/PortAudio/portaudio.git + REF 0ac93f8634d113cf90aa5801c204e1e8adbc14e8 PATCHES fix-library-can-not-be-found.patch - fix-include.patch ) string(COMPARE EQUAL ${VCPKG_LIBRARY_LINKAGE} dynamic PA_BUILD_SHARED) diff --git a/ports/portaudio/vcpkg.json b/ports/portaudio/vcpkg.json index 1dce28b1b6a..90becf82783 100644 --- a/ports/portaudio/vcpkg.json +++ b/ports/portaudio/vcpkg.json @@ -1,8 +1,7 @@ { "name": "portaudio", - "version-string": "2020-02-02", - "port-version": 2, + "version-date": "2020-02-20", "description": "PortAudio Portable Cross-platform Audio I/O API PortAudio is a free, cross-platform, open-source, audio I/O library. It lets you write simple audio programs in 'C' or C++ that will compile and run on many platforms including Windows, Macintosh OS X, and Unix (OSS/ALSA). It is intended to promote the exchange of audio software between developers on different platforms. Many applications use PortAudio for Audio I/O.", - "homepage": "https://app.assembla.com/spaces/portaudio/wiki", + "homepage": "http://www.portaudio.com", "supports": "!uwp" } diff --git a/versions/baseline.json b/versions/baseline.json index e9372624963..a757fd47380 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4689,8 +4689,8 @@ "port-version": 0 }, "portaudio": { - "baseline": "2020-02-02", - "port-version": 2 + "baseline": "2020-02-20", + "port-version": 0 }, "portmidi": { "baseline": "0.234", diff --git a/versions/p-/portaudio.json b/versions/p-/portaudio.json index 31f3cf32fc4..35efce993df 100644 --- a/versions/p-/portaudio.json +++ b/versions/p-/portaudio.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "5c048383171fcac71dd7b78d6d5e8821d0956c65", + "version-date": "2020-02-20", + "port-version": 0 + }, { "git-tree": "9e434db8e8407121b84aa66774792451540eec9d", "version-string": "2020-02-02",