From 34d09511f096f3d2c60ef3529a00be8b1f69cea5 Mon Sep 17 00:00:00 2001 From: jrabinow <5642686+jrabinow@users.noreply.github.com> Date: Sun, 20 Apr 2025 02:28:18 +0000 Subject: [PATCH] =?UTF-8?q?whisper:=20fix=20checksums=20in=20=E2=80=9Clarg?= =?UTF-8?q?e=E2=80=9D=20variant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- audio/whisper/Portfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audio/whisper/Portfile b/audio/whisper/Portfile index 0b679cba845..2301c2eae7e 100644 --- a/audio/whisper/Portfile +++ b/audio/whisper/Portfile @@ -26,7 +26,7 @@ output.wav` to convert the file first. checksums whisper.cpp-${version}.tar.gz \ rmd160 211e55a336132a878471382d8002425f069db683 \ sha256 2fda42b57b7b8427d724551bd041616d85401fb9382e42b0349132a28920a34f \ - size 6216643 + size 6216643 patchfiles whisper-add-models.diff \ whisper-add-depends.diff \ @@ -50,7 +50,7 @@ post-destroot { xinstall ${workpath}/build/bin/ggml-metal.metal ${destroot}${prefix}/share/whisper/ggml xinstall ${workpath}/build/bin/ggml-common.h ${destroot}${prefix}/share/whisper/ggml xinstall -d ${destroot}${prefix}/lib - xinstall ${workpath}/build/src/libwhisper.1.7.5.dylib ${destroot}${prefix}/lib/libwhisper.1.dylib + xinstall ${workpath}/build/src/libwhisper.${version}.dylib ${destroot}${prefix}/lib/libwhisper.1.dylib xinstall ${workpath}/build/ggml/src/libggml.dylib ${destroot}${prefix}/lib/libggml.dylib xinstall ${workpath}/build/ggml/src/libggml-cpu.dylib ${destroot}${prefix}/lib/libggml-cpu.dylib xinstall ${workpath}/build/ggml/src/libggml-base.dylib ${destroot}${prefix}/lib/libggml-base.dylib @@ -112,7 +112,7 @@ variant medium description {Install medium model} { variant large description {Install large model} { distfiles-append ggml-large-v3.bin:large master_sites-append https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ - checksums-append ggml-large.bin + checksums-append ggml-large-v3.bin \ sha256 64d182b440b98d5203c4f9bd541544d84c605196c4f7b845dfa11fb23594d1e2 \ size 3095033483 post-destroot {