diff --git a/ports/monkeys-audio/CONTROL b/ports/monkeys-audio/CONTROL
index 388299f8c7e25f..4ccdbc52a51cb7 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 f0edaaf32e0c77..4fed4a0520431d 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 00000000000000..d06f5161b51844
--- /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)"
+-
+
+
+