mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-08 12:52:17 +00:00
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:
@@ -0,0 +1 @@
|
||||
1.13.1
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user