Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ports/monkeys-audio/CONTROL
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
8 changes: 5 additions & 3 deletions ports/monkeys-audio/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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-cereficate-step.patch
Comment thread
NancyLi1013 marked this conversation as resolved.
Outdated
)

file(REMOVE_RECURSE
Expand Down
26 changes: 26 additions & 0 deletions ports/monkeys-audio/remove-cereficate-step.patch
Original file line number Diff line number Diff line change
@@ -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 @@
<DataExecutionPrevention />
<TargetMachine>MachineX86</TargetMachine>
</Link>
- <PostBuildEvent>
- <Command>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)"</Command>
- </PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Midl>
@@ -273,10 +269,6 @@ C:\MAC\Current\Source\Certificate\signtool.exe sign /f C:\MAC\Current\Source\Cer
<DataExecutionPrevention />
<TargetMachine>MachineX64</TargetMachine>
</Link>
- <PostBuildEvent>
- <Command>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)"</Command>
- </PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\Console\Console.cpp">