From c94aa063d6ba2cd249c69751d58954ed6aa85a56 Mon Sep 17 00:00:00 2001 From: "Jason E. Hale" Date: Thu, 13 Feb 2025 06:32:19 -0500 Subject: [PATCH] audio/mac: Update to 10.96 https://www.monkeysaudio.com/versionhistory.html --- audio/mac/Makefile | 5 ++- audio/mac/distinfo | 6 +-- .../files/patch-Source_Console_Console.cpp | 40 +++++++++++++++++++ 3 files changed, 46 insertions(+), 5 deletions(-) create mode 100644 audio/mac/files/patch-Source_Console_Console.cpp diff --git a/audio/mac/Makefile b/audio/mac/Makefile index e46ccd921c34..3c18d2e130f1 100644 --- a/audio/mac/Makefile +++ b/audio/mac/Makefile @@ -1,5 +1,5 @@ PORTNAME= mac -PORTVERSION= 10.93 +PORTVERSION= 10.96 CATEGORIES= audio MASTER_SITES= https://www.monkeysaudio.com/files/ DISTNAME= ${PORTNAME:tu}_${PORTVERSION:S|.||}_SDK @@ -13,7 +13,8 @@ LICENSE_FILE= ${WRKSRC}/License.txt USES= cmake dos2unix zip -DOS2UNIX_FILES= Shared/*.h +DOS2UNIX_FILES= Shared/*.h \ + Source/Console/Console.cpp NO_WRKSUBDIR= yes diff --git a/audio/mac/distinfo b/audio/mac/distinfo index 5ca03a262327..1b1f10e024cb 100644 --- a/audio/mac/distinfo +++ b/audio/mac/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1738912801 -SHA256 (MAC_1093_SDK.zip) = c5719aaf9f4b7ddcb2fc21c3a9a0829f2c95ff746dcff4566d974240b88fcfa6 -SIZE (MAC_1093_SDK.zip) = 1674933 +TIMESTAMP = 1739444601 +SHA256 (MAC_1096_SDK.zip) = 73b25a517079bb015e2066b65854a7de0d8468f050b9b96025b7a3cb038f4dba +SIZE (MAC_1096_SDK.zip) = 1675244 diff --git a/audio/mac/files/patch-Source_Console_Console.cpp b/audio/mac/files/patch-Source_Console_Console.cpp new file mode 100644 index 000000000000..21d541b6a5b8 --- /dev/null +++ b/audio/mac/files/patch-Source_Console_Console.cpp @@ -0,0 +1,40 @@ +Unixify built-in help. + +--- Source/Console/Console.cpp.orig 2025-02-12 09:59:48 UTC ++++ Source/Console/Console.cpp +@@ -68,7 +68,7 @@ static void DisplayProperUsage(FILE * pFile) + **************************************************************************************************/ + static void DisplayProperUsage(FILE * pFile) + { +- fwprintf(pFile, L"Proper Usage: [EXE] [Input File] [Output File] [Mode]\n\n"); ++ fwprintf(pFile, L"Proper Usage: [mac] [Input File] [Output File] [Mode]\n\n"); + + fwprintf(pFile, L"Modes: \n"); + fwprintf(pFile, L" Compress (fast): '-c1000'\n"); +@@ -85,16 +85,16 @@ static void DisplayProperUsage(FILE * pFile) + fwprintf(pFile, L" Convert to ID3v1 (needed by some players, etc.): '-L'\n\n"); + + fwprintf(pFile, L"Examples:\n"); +- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n"); +- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000 -t \"Artist=Metallica|Album=Black|Name=One\"\n"); +- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" auto -c2000\n"); +- fwprintf(pFile, L" Transcode from pipe: ffmpeg.exe -i \"Metallica - One.flac\" -f wav - | mac.exe - \"Metallica - One.ape\" -c2000\n"); +- fwprintf(pFile, L" Decompress: mac.exe \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n"); +- fwprintf(pFile, L" Decompress: mac.exe \"Metallica - One.ape\" auto -d\n"); +- fwprintf(pFile, L" Verify: mac.exe \"Metallica - One.ape\" -v\n"); +- fwprintf(pFile, L" Full Verify: mac.exe \"Metallica - One.ape\" -V\n"); +- fwprintf(pFile, L" Tag: mac.exe \"Metallica - One.ape\" -t \"Artist=Metallica|Album=Black|Name=One|Comment=\\\"This is in quotes\\\"\"\n"); +- fwprintf(pFile, L" Remove tag: mac.exe \"Metallica - One.ape\" -r\n"); ++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n"); ++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000 -t \"Artist=Metallica|Album=Black|Name=One\"\n"); ++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" auto -c2000\n"); ++ fwprintf(pFile, L" Transcode from pipe: ffmpeg -i \"Metallica - One.flac\" -f wav - | mac - \"Metallica - One.ape\" -c2000\n"); ++ fwprintf(pFile, L" Decompress: mac \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n"); ++ fwprintf(pFile, L" Decompress: mac \"Metallica - One.ape\" auto -d\n"); ++ fwprintf(pFile, L" Verify: mac \"Metallica - One.ape\" -v\n"); ++ fwprintf(pFile, L" Full Verify: mac \"Metallica - One.ape\" -V\n"); ++ fwprintf(pFile, L" Tag: mac \"Metallica - One.ape\" -t \"Artist=Metallica|Album=Black|Name=One|Comment=\\\"This is in quotes\\\"\"\n"); ++ fwprintf(pFile, L" Remove tag: mac \"Metallica - One.ape\" -r\n"); + } + + /**************************************************************************************************