diff --git a/audio/mac/Makefile b/audio/mac/Makefile index 2d9729dc35ba..50138efd93c6 100644 --- a/audio/mac/Makefile +++ b/audio/mac/Makefile @@ -1,21 +1,21 @@ PORTNAME= mac -PORTVERSION= 11.37 +PORTVERSION= 11.38 CATEGORIES= audio MASTER_SITES= https://www.monkeysaudio.com/files/ DISTNAME= ${PORTNAME:tu}_${PORTVERSION:S|.||}_SDK MAINTAINER= multimedia@FreeBSD.org COMMENT= Monkey's Audio lossless codec WWW= https://www.monkeysaudio.com/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/License.txt USES= cmake dos2unix zip DOS2UNIX_FILES= Shared/*.h \ Source/Console/Console.cpp NO_WRKSUBDIR= yes .include diff --git a/audio/mac/distinfo b/audio/mac/distinfo index 80410af68f23..f579cb43ad28 100644 --- a/audio/mac/distinfo +++ b/audio/mac/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1755237529 -SHA256 (MAC_1137_SDK.zip) = d578e193ca882474dba256d5d1f44d463a9f5cfa6a2191b741babbb1e8b026a2 -SIZE (MAC_1137_SDK.zip) = 1710217 +TIMESTAMP = 1756358910 +SHA256 (MAC_1138_SDK.zip) = 50fb286ef83fe739427610b7658d5d3422d0b5b636e1aa52ae14277c635ffcad +SIZE (MAC_1138_SDK.zip) = 1710212 diff --git a/audio/mac/files/patch-Source_Console_Console.cpp b/audio/mac/files/patch-Source_Console_Console.cpp index eb2f53fcb881..0033ecb30d5a 100644 --- a/audio/mac/files/patch-Source_Console_Console.cpp +++ b/audio/mac/files/patch-Source_Console_Console.cpp @@ -1,57 +1,44 @@ Unixify built-in help. --- Source/Console/Console.cpp.orig 2025-08-15 06:11:17 UTC +++ Source/Console/Console.cpp -@@ -61,10 +61,10 @@ class CArguments (public) - #ifdef _UNICODE - rspString.Assign(m_argv[nArgument], true, false); - #else -- rspString.Assign(CAPECharacterHelper::GetUTF16FromANSI(m_argv[nArgument]), true); -+ rspString.Assign(CAPECharacterHelper::GetUTFNFromANSI(m_argv[nArgument]), true); - #endif - #else -- rspString.Assign(CAPECharacterHelper::GetUTF16FromUTF8((str_utf8 *) m_argv[nArgument]), true); -+ rspString.Assign(CAPECharacterHelper::GetUTFNFromUTF8((str_utf8 *) m_argv[nArgument]), true); - #endif - } - else @@ -135,7 +135,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"); @@ -155,18 +155,18 @@ static void DisplayProperUsage(FILE * pFile) fwprintf(pFile, L" Set the number of threads when compressing or decompressing: -threads=#'\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 -threads=16 -t \"Artist=Metallica|Album=Black|Name=One\"\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" Decompress: mac.exe \"Metallica - One.ape\" \"Metallica - One.wav\" -d -threads=16\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 -threads=16 -t \"Artist=Metallica|Album=Black|Name=One\"\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" Decompress: mac \"Metallica - One.ape\" \"Metallica - One.wav\" -d -threads=16\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"); } /**************************************************************************************************