From 3a716d9fccffbb91c605cc6b032badaf86614858 Mon Sep 17 00:00:00 2001
From: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Date: Wed, 18 Nov 2020 01:30:37 +0800
Subject: [vcpkg baseline][monkeys-audio] Update to 5.59 (#14586)
* [vcpkg baseline][monkeys-audio] Update to the new version
* Update ports/monkeys-audio/portfile.cmake
* Fix typo error in patch name
* Refix typo
---
ports/monkeys-audio/CONTROL | 2 +-
ports/monkeys-audio/portfile.cmake | 8 ++++---
ports/monkeys-audio/remove-certificate-step.patch | 26 +++++++++++++++++++++++
3 files changed, 32 insertions(+), 4 deletions(-)
create mode 100644 ports/monkeys-audio/remove-certificate-step.patch
diff --git a/ports/monkeys-audio/CONTROL b/ports/monkeys-audio/CONTROL
index 388299f8c..4ccdbc52a 100644
--- a/ports/monkeys-audio/CONTROL
+++ b/ports/monkeys-audio/CONTROL
@@ -1,5 +1,5 @@
Source: monkeys-audio
-Version: 5.48
+Version: 5.59
Homepage: https://monkeysaudio.com
Description: Monkey's Audio is an excellent audio compression tool which has multiple advantages over traditional methods.
Audio files compressed with it end with .ape extension.
diff --git a/ports/monkeys-audio/portfile.cmake b/ports/monkeys-audio/portfile.cmake
index f0edaaf32..4fed4a052 100644
--- a/ports/monkeys-audio/portfile.cmake
+++ b/ports/monkeys-audio/portfile.cmake
@@ -2,19 +2,21 @@ vcpkg_fail_port_install(ON_TARGET "UWP" "OSX" "Linux")
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
-set(MA_VERSION 548)
+set(MA_VERSION 559c)
vcpkg_download_distfile(ARCHIVE
URLS "https://monkeysaudio.com/files/MAC_SDK_${MA_VERSION}.zip"
FILENAME "MAC_SDK_${MA_VERSION}.zip"
- SHA512 036c75f4cc8dc54837b2f9f822d260ebdbed918dff9ac744746e2786d13a33364d0cd7f380f015e89eaf5ebedd7180df979dfd15cb8f0160e339fafebc93f4ba
+ SHA512 83ed3e2a4de62cb95e508a12146cecfe6bb584ce3cb30c20ae2f8e2f76839f4a83a4a0f68399a68dfd56829bcd5678824bcdf46730ae6662e14a5248522c0554
)
vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
NO_REMOVE_ONE_LEVEL
- PATCHES fix-project-config.patch
+ PATCHES
+ fix-project-config.patch
+ remove-certificate-step.patch
)
file(REMOVE_RECURSE
diff --git a/ports/monkeys-audio/remove-certificate-step.patch b/ports/monkeys-audio/remove-certificate-step.patch
new file mode 100644
index 000000000..d06f5161b
--- /dev/null
+++ b/ports/monkeys-audio/remove-certificate-step.patch
@@ -0,0 +1,26 @@
+diff --git a/Source/Projects/VS2019/Console/Console.vcxproj b/Source/Projects/VS2019/Console/Console.vcxproj
+index 164608f..feeb163 100644
+--- a/Source/Projects/VS2019/Console/Console.vcxproj
++++ b/Source/Projects/VS2019/Console/Console.vcxproj
+@@ -180,10 +180,6 @@
+
+ MachineX86
+
+-
+- C:\MAC\Current\Source\Certificate\signtool.exe sign /t http://timestamp.digicert.com /f C:\MAC\Current\Source\Certificate\MAC2.crt /v "$(TargetPath)"
+-C:\MAC\Current\Source\Certificate\signtool.exe sign /f C:\MAC\Current\Source\Certificate\MAC2.crt /tr http://timestamp.comodoca.com /td sha256 /fd sha256 /a /as "$(TargetPath)"
+-
+
+
+
+@@ -273,10 +269,6 @@ C:\MAC\Current\Source\Certificate\signtool.exe sign /f C:\MAC\Current\Source\Cer
+
+ MachineX64
+
+-
+- C:\MAC\Current\Source\Certificate\signtool.exe sign /t http://timestamp.digicert.com /f C:\MAC\Current\Source\Certificate\MAC2.crt /v "$(TargetPath)"
+-C:\MAC\Current\Source\Certificate\signtool.exe sign /f C:\MAC\Current\Source\Certificate\MAC2.crt /tr http://timestamp.comodoca.com /td sha256 /fd sha256 /a /as "$(TargetPath)"
+-
+
+
+
--
cgit v1.2.3