diff --git a/audio/mac/Makefile b/audio/mac/Makefile index 60709e9c62c5..2d9729dc35ba 100644 --- a/audio/mac/Makefile +++ b/audio/mac/Makefile @@ -1,21 +1,21 @@ PORTNAME= mac -PORTVERSION= 11.22 +PORTVERSION= 11.37 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 58715fd6e68d..80410af68f23 100644 --- a/audio/mac/distinfo +++ b/audio/mac/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754102062 -SHA256 (MAC_1122_SDK.zip) = 32dbfa43f5fb3004a3aa8ee4391957056e847fbea641e6802ee431a471b0cfee -SIZE (MAC_1122_SDK.zip) = 1700421 +TIMESTAMP = 1755237529 +SHA256 (MAC_1137_SDK.zip) = d578e193ca882474dba256d5d1f44d463a9f5cfa6a2191b741babbb1e8b026a2 +SIZE (MAC_1137_SDK.zip) = 1710217 diff --git a/audio/mac/files/patch-Source_Console_Console.cpp b/audio/mac/files/patch-Source_Console_Console.cpp index 72ce55e11dc4..eb2f53fcb881 100644 --- a/audio/mac/files/patch-Source_Console_Console.cpp +++ b/audio/mac/files/patch-Source_Console_Console.cpp @@ -1,44 +1,57 @@ Unixify built-in help. ---- Source/Console/Console.cpp.orig 2025-05-07 22:12:54 UTC +--- Source/Console/Console.cpp.orig 2025-08-15 06:11:17 UTC +++ Source/Console/Console.cpp -@@ -136,7 +136,7 @@ static void DisplayProperUsage(FILE * pFile) +@@ -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"); -@@ -156,18 +156,18 @@ static void DisplayProperUsage(FILE * pFile) +@@ -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"); } /************************************************************************************************** diff --git a/audio/mac/pkg-plist b/audio/mac/pkg-plist index 3107453423b6..10d5917bd1e6 100644 --- a/audio/mac/pkg-plist +++ b/audio/mac/pkg-plist @@ -1,14 +1,14 @@ bin/mac include/MAC/APETag.h include/MAC/All.h include/MAC/CharacterHelper.h include/MAC/IO.h include/MAC/MACDll.h include/MAC/MACLib.h include/MAC/NoWindows.h include/MAC/SmartPtr.h include/MAC/Version.h include/MAC/Warnings.h include/MAC/WindowsEnvironment.h lib/libMAC.so -lib/libMAC.so.13 +lib/libMAC.so.14