Skip to content

Commit

Permalink
[monkeys-audio] update to 9.04 (microsoft#29556)
Browse files Browse the repository at this point in the history
* [monkeys-audio] update to 9.04

* update version

* revert patch

* update version

* remove useless baseline
  • Loading branch information
JonLiu1993 authored Feb 10, 2023
1 parent 59b883e commit 9e73ebf
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 35 deletions.
13 changes: 0 additions & 13 deletions ports/monkeys-audio/fix-C2471.patch

This file was deleted.

11 changes: 5 additions & 6 deletions ports/monkeys-audio/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)

set(MA_VERSION 570)
set(MA_VERSION 904)

vcpkg_download_distfile(ARCHIVE
URLS "https://monkeysaudio.com/files/MAC_SDK_${MA_VERSION}.zip"
"https://web.archive.org/web/20201229182615if_/https://monkeysaudio.com/files/MAC_SDK_570.zip"
FILENAME "MAC_SDK_${MA_VERSION}.zip"
SHA512 d3b5a10574dde1ea90578959378b87f8a8c94b3cc7198bc51b86f7128d66117d706c191d56a699dce0c2a53b7722e0893cb614f96f9ad725a266a871da587fd4
URLS "https://monkeysaudio.com/files/MAC_${MA_VERSION}_SDK.zip"
"https://web.archive.org/web/20210129190227if_/https://monkeysaudio.com/files/MAC_SDK_607.zip"
FILENAME "MAC_${MA_VERSION}_SDK.zip"
SHA512 c42c9bae6690a28a69137445c84d53ad7acbd242c2cfe20f329fda46b56812c60de68874301d99cf72ade3bced90fc5aaedacb6fdbca241d4bf4806f6e238219
)

vcpkg_extract_source_archive(
Expand All @@ -16,7 +16,6 @@ vcpkg_extract_source_archive(
PATCHES
fix-project-config.patch
remove-certificate-step.patch
fix-C2471.patch
)

file(REMOVE_RECURSE
Expand Down
16 changes: 8 additions & 8 deletions ports/monkeys-audio/remove-certificate-step.patch
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
--- a/Source/Projects/VS2019/Console/Console.vcxproj 2020-12-23 21:42:15.672211100 +0100
+++ b/Source/Projects/VS2019/Console/Console.vcxproj 2020-12-29 05:29:53.916306700 +0100
@@ -180,10 +180,6 @@
diff --git a/Source/Projects/VS2019/Console/Console.vcxproj b/Source/Projects/VS2019/Console/Console.vcxproj
index 3337a12..70c1942 100644
--- a/Source/Projects/VS2019/Console/Console.vcxproj
+++ b/Source/Projects/VS2019/Console/Console.vcxproj
@@ -180,9 +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\MAC3.pfx /p password /v "$(TargetPath)"
-C:\MAC\Current\Source\Certificate\signtool.exe sign /f C:\MAC\Current\Source\Certificate\MAC3.pfx /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td sha256 /fd sha256 /a /as /p password "$(TargetPath)"</Command>
- <Command>C:\MAC\Current\Source\Certificate\signtool.exe sign /f C:\MAC\Current\Source\Certificate\MAC3.pfx /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td sha256 /fd sha256 /a /as /p password "$(TargetPath)"</Command>
- </PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Midl>
@@ -273,10 +269,6 @@
@@ -272,9 +269,6 @@
<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\MAC3.pfx /p password /v "$(TargetPath)"
-C:\MAC\Current\Source\Certificate\signtool.exe sign /f C:\MAC\Current\Source\Certificate\MAC3.pfx /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td sha256 /fd sha256 /a /as /p password "$(TargetPath)"</Command>
- <Command>C:\MAC\Current\Source\Certificate\signtool.exe sign /f C:\MAC\Current\Source\Certificate\MAC3.pfx /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td sha256 /fd sha256 /a /as /p password "$(TargetPath)"</Command>
- </PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions ports/monkeys-audio/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "monkeys-audio",
"version": "5.70",
"port-version": 3,
"version-string": "9.04",
"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
4 changes: 0 additions & 4 deletions scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,6 @@ mmx:arm-uwp=skip
mmx:x64-uwp=skip
mmx:arm64-windows=skip
monkeys-audio:arm64-windows=fail
monkeys-audio:arm-uwp=fail
monkeys-audio:x64-linux=fail
monkeys-audio:x64-osx=fail
monkeys-audio:x64-uwp=fail
monkeys-audio:x64-windows-static=fail
moos-core:arm-uwp=fail
moos-core:x64-uwp=fail
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5113,8 +5113,8 @@
"port-version": 0
},
"monkeys-audio": {
"baseline": "5.70",
"port-version": 3
"baseline": "9.04",
"port-version": 0
},
"moos-core": {
"baseline": "10.4.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/monkeys-audio.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ae5b8fee2db96b691e609427278a6974180e68d4",
"version-string": "9.04",
"port-version": 0
},
{
"git-tree": "029d9c14ce64feb48e15e8cd11b1a3123d016c62",
"version": "5.70",
Expand Down

0 comments on commit 9e73ebf

Please sign in to comment.