From 2dcf285fdc104ae763f69d6873b8719652e6122e Mon Sep 17 00:00:00 2001 From: Daniel Bermond Date: Thu, 16 Oct 2025 17:59:17 -0300 Subject: [PATCH] Add fix for glslang 16 Also updated whisper.cpp --- .SRCINFO | 8 +++++--- PKGBUILD | 9 ++++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 0fd2f6a..58ab8b3 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = ffmpeg-full pkgdesc = Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac) pkgver = 8.0 - pkgrel = 1 + pkgrel = 2 url = https://ffmpeg.org/ arch = x86_64 license = LicenseRef-nonfree-and-unredistributable @@ -152,7 +152,7 @@ pkgbase = ffmpeg-full source = https://ffmpeg.org/releases/ffmpeg-8.0.tar.xz source = https://ffmpeg.org/releases/ffmpeg-8.0.tar.xz.asc source = https://github.com/obsproject/obs-studio/archive/32.0.1/obs-studio-32.0.1.tar.gz - source = https://github.com/ggml-org/whisper.cpp/archive/v1.8.0/whisper.cpp-1.8.0.tar.gz + source = https://github.com/ggml-org/whisper.cpp/archive/v1.8.2/whisper.cpp-1.8.2.tar.gz source = 010-ffmpeg-add-svt-hevc.patch source = 020-ffmpeg-add-svt-hevc-docs-ged80959.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/ed80959ebb5586aa7763c91a397d44be1798587c/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch source = 030-ffmpeg-add-svt-vp9.patch @@ -161,12 +161,13 @@ pkgbase = ffmpeg-full source = 060-ffmpeg-whisper.cpp-fix-pkgconfig.patch source = 070-ffmpeg-lcevcdec4.0.0-fix.patch::https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/fa23202cc7baab899894e8d22d82851a84967848 source = 080-ffmpeg-cuda13-fix.patch::https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/f8a300c6739ea2ca648579d7faf3ae9811b9f19a + source = 090-ffmpeg-glslang16-fix.patch::https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/f1e9032a2000b8b885cffd6fed8eacd47b37673f source = LICENSE validpgpkeys = FCF986EA15E6E293A5644F10B4322F04D67658D8 sha256sums = b2751fccb6cc4c77708113cd78b561059b6fa904b24162fa0be2d60273d27b8e sha256sums = SKIP sha256sums = 906278ccedb5ed919e586697467eb7fa4205fceeda127386ce5b74026113ba96 - sha256sums = c006a5e472ee41e7a733d0bf7326e339c8b281d3a91a1c8a35468fa0a051940f + sha256sums = bcee25589bb8052d9e155369f6759a05729a2022d2a8085c1aa4345108523077 sha256sums = 4b1053cc01244c79e3b23dc696eaff1aeb0627a2098e1a720a025d4ad75b5c16 sha256sums = a164ebdc4d281352bf7ad1b179aae4aeb33f1191c444bed96cb8ab333c046f81 sha256sums = da01eb3ca31d35d23257760875e14bed808b3fea02f290028adaed76062125a0 @@ -175,6 +176,7 @@ pkgbase = ffmpeg-full sha256sums = 98b3d28cbd13bb575c602785f6b8cb0b66ea3128ab5a3a82fc1645822320c136 sha256sums = d2bacb3a5b0201503554c3394ea1f3fbc8ad79d5c2721e0c226134d40812ad08 sha256sums = 79e3fbc30c86e0db789af78e79dc23227e5f6887531bcd52b2defa8526d1455b + sha256sums = 0010bf826a7008452ccc8a072b0186688e8687be0dbe2be2ca7540e26ca076f1 sha256sums = 04a7176400907fd7db0d69116b99de49e582a6e176b3bfb36a03e50a4cb26a36 pkgname = ffmpeg-full diff --git a/PKGBUILD b/PKGBUILD index b87c7a8..87a877c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,10 +3,10 @@ pkgname=ffmpeg-full pkgver=8.0 -pkgrel=1 +pkgrel=2 _svt_hevc_ver='ed80959ebb5586aa7763c91a397d44be1798587c' _obs_studio_ver='32.0.1' -_whispercpp_ver='1.8.0' +_whispercpp_ver='1.8.2' pkgdesc='Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac)' arch=('x86_64') url='https://ffmpeg.org/' @@ -170,11 +170,12 @@ source=("https://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.xz"{,.asc} '060-ffmpeg-whisper.cpp-fix-pkgconfig.patch' '070-ffmpeg-lcevcdec4.0.0-fix.patch'::'https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/fa23202cc7baab899894e8d22d82851a84967848' '080-ffmpeg-cuda13-fix.patch'::'https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/f8a300c6739ea2ca648579d7faf3ae9811b9f19a' + '090-ffmpeg-glslang16-fix.patch'::'https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/f1e9032a2000b8b885cffd6fed8eacd47b37673f' 'LICENSE') sha256sums=('b2751fccb6cc4c77708113cd78b561059b6fa904b24162fa0be2d60273d27b8e' 'SKIP' '906278ccedb5ed919e586697467eb7fa4205fceeda127386ce5b74026113ba96' - 'c006a5e472ee41e7a733d0bf7326e339c8b281d3a91a1c8a35468fa0a051940f' + 'bcee25589bb8052d9e155369f6759a05729a2022d2a8085c1aa4345108523077' '4b1053cc01244c79e3b23dc696eaff1aeb0627a2098e1a720a025d4ad75b5c16' 'a164ebdc4d281352bf7ad1b179aae4aeb33f1191c444bed96cb8ab333c046f81' 'da01eb3ca31d35d23257760875e14bed808b3fea02f290028adaed76062125a0' @@ -183,6 +184,7 @@ sha256sums=('b2751fccb6cc4c77708113cd78b561059b6fa904b24162fa0be2d60273d27b8e' '98b3d28cbd13bb575c602785f6b8cb0b66ea3128ab5a3a82fc1645822320c136' 'd2bacb3a5b0201503554c3394ea1f3fbc8ad79d5c2721e0c226134d40812ad08' '79e3fbc30c86e0db789af78e79dc23227e5f6887531bcd52b2defa8526d1455b' + '0010bf826a7008452ccc8a072b0186688e8687be0dbe2be2ca7540e26ca076f1' '04a7176400907fd7db0d69116b99de49e582a6e176b3bfb36a03e50a4cb26a36') validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8') @@ -196,6 +198,7 @@ prepare() { patch -d "whisper.cpp-${_whispercpp_ver}" -Np1 -i "${srcdir}/060-ffmpeg-whisper.cpp-fix-pkgconfig.patch" patch -d "ffmpeg-${pkgver}" -Np1 -i "${srcdir}/070-ffmpeg-lcevcdec4.0.0-fix.patch" patch -d "ffmpeg-${pkgver}" -Np1 -i "${srcdir}/080-ffmpeg-cuda13-fix.patch" + patch -d "ffmpeg-${pkgver}" -Np1 -i "${srcdir}/090-ffmpeg-glslang16-fix.patch" } build() {