fix(ffmpeg): Track vvenc-libs for rebuilds, workaround for GCC15 update (#4768)

* Create VERSION_vvenc.txt

Signed-off-by: Gilver <rockgrub@disroot.org>

* feat: Track vvenc-libs

Signed-off-by: Gilver <rockgrub@disroot.org>

* More ifcond workarounds I LOVE it

Signed-off-by: Gilver <rockgrub@disroot.org>

* Yikes

Signed-off-by: Gilver <rockgrub@disroot.org>

* chore: Add a changelog section so GitHub hopefully stops DOING THAT

Signed-off-by: Gilver <rockgrub@disroot.org>

---------

Signed-off-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Gilver
2025-05-12 07:35:14 -05:00
committed by GitHub
parent 68ca317303
commit ac8b74cb4d
3 changed files with 14 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
1.13.1
+10 -1
View File
@@ -400,6 +400,12 @@ This subpackage contains the headers for FFmpeg libswscale.
#sed -i -e 's|#!/bin/sh|#!/bin/sh -x|g' configure
%build
# Work around a new GCC15 change until FFmpeg updates for it
%if 0%{?fedora} >= 42
%if "%{version}" <= "7.1.1"
export CFLAGS="%{optflags} -Wno-incompatible-pointer-types"
%endif
%endif
%set_build_flags
./configure \
@@ -662,4 +668,7 @@ mv doc/*.html doc/html
%{_includedir}/libswscale
%{_libdir}/pkgconfig/libswscale.pc
%{_libdir}/libswscale.so
%{_mandir}/man3/libswscale.3*
%{_mandir}/man3/libswscale.3*
%changelog
%autochangelog
+3
View File
@@ -12,3 +12,6 @@ open_file("anda/multimedia/ffmpeg/VERSION_x265.txt", "w").write(ffmpeg_ver);
let tesseract_ver = bump::bodhi("tesseract", bump::as_bodhi_ver(labels.branch));
open_file("anda/multimedia/ffmpeg/VERSION_tesseract.txt", "w").write(tesseract_ver);
let vvenc_ver = get(`https://madoguchi.fyralabs.com/v4/terra${branch}/packages/vvenc-libs`).json().ver;
open_file("anda/multimedia/ffmpeg/VERSION_vvenc.txt", "w").write(vvenc_ver);