commit: 0620c2da9ad82a9a76e5a464e1d8cc8a39223b11 Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org> AuthorDate: Fri Mar 8 13:55:48 2024 +0000 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org> CommitDate: Fri Mar 8 13:55:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0620c2da
media-sound/mac: add 10.53 Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org> media-sound/mac/Manifest | 1 + media-sound/mac/files/mac-10.52-output.patch | 39 ++++++++++++++++++++++++++++ media-sound/mac/mac-10.53.ebuild | 29 +++++++++++++++++++++ 3 files changed, 69 insertions(+) diff --git a/media-sound/mac/Manifest b/media-sound/mac/Manifest index a25a465a92ac..40b49bec69ea 100644 --- a/media-sound/mac/Manifest +++ b/media-sound/mac/Manifest @@ -1,2 +1,3 @@ DIST mac-10.46.zip 1662242 BLAKE2B be81f7f9bec10eea43a8888eb51288c1a6ca312860535d88346d8ab42e66d9268d3503e073becd998671c408aa83e2b93ec74acb86b650c8883c0b3cd03ea828 SHA512 0391a52925c903bb4849fbaf963b31c65fd34bcd0d3071b9b25b99bbb95febd12cdf09119ec73e129fdfbc51a163b824c6b084ca4917f871692b0529c7a33a10 +DIST mac-10.53.zip 1665239 BLAKE2B 70b7a12eb873ec648ceb97f23bcac6ec79a6626e61de7535b549f7fd718121e5f835f64c64f3e29914e1ceb2ee2897e03a09a7d7a050810082c67ba76e740c3f SHA512 3d9323d8440c11553838e89ee4cd695fee790ef4af888daa1be1a63a4eec8db807a940f20c52b56cd069d06899305930173efab196c0932b238060bff7dc025a DIST monkeys-audio_4.11-u4-b5-s7.orig.tar.gz 511190 BLAKE2B 28b5a3aadd9dae410c93cfc43c40c07fe207036f27cf60d59d8fa137a0327f90a78746c14930b7d3becb7f5fa69a454a6855aae1553dc74cd5168a9a523bb8f0 SHA512 7e73b35c86d6007ab2a94a2d8b7449bb4ac505bbba53e40373a279dc83a9cad5f62a51419a6375335576cf325c88ed7d317b0ef3039b8a497100cb74a63c25d0 diff --git a/media-sound/mac/files/mac-10.52-output.patch b/media-sound/mac/files/mac-10.52-output.patch new file mode 100644 index 000000000000..8ad2e3d47ef9 --- /dev/null +++ b/media-sound/mac/files/mac-10.52-output.patch @@ -0,0 +1,39 @@ +diff -Naur mac-10.52_orig/Source/Console/Console.cpp mac-10.52/Source/Console/Console.cpp +--- mac-10.52_orig/Source/Console/Console.cpp 2024-03-05 19:05:13.958352435 +0100 ++++ mac-10.52/Source/Console/Console.cpp 2024-03-05 19:06:50.968831483 +0100 +@@ -68,7 +68,7 @@ + **************************************************************************************************/ + 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 @@ + 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"); + } + + /************************************************************************************************** diff --git a/media-sound/mac/mac-10.53.ebuild b/media-sound/mac/mac-10.53.ebuild new file mode 100644 index 000000000000..97a4d965ee6d --- /dev/null +++ b/media-sound/mac/mac-10.53.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Monkey's Audio Codecs" +HOMEPAGE="https://www.monkeysaudio.com" +SRC_URI="https://monkeysaudio.com/files/MAC_${PV/.}_SDK.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0/10" +KEYWORDS="~alpha amd64 ~loong ~ppc ppc64 ~riscv ~sparc x86" + +BDEPEND="app-arch/unzip" + +src_unpack() { + mkdir -p "${S}" || die + cd "${S}" || die + default +} + +CMAKE_BUILD_TYPE=Release + +PATCHES=( + "${FILESDIR}/${PN}-10.18-linux.patch" + "${FILESDIR}/${PN}-10.52-output.patch" +)