diff --git a/ffmpeg.spec b/ffmpeg.spec index 49b7cd6..009927f 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -99,7 +99,7 @@ Name: ffmpeg %global pkg_name %{name}%{?pkg_suffix} Version: 5.1.2 -Release: 1%{?dist} +Release: 1.0.riscv64%{?dist} Summary: A complete solution to record, convert and stream audio and video License: GPLv3+ URL: https://ffmpeg.org/ @@ -203,7 +203,9 @@ BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(OpenCL) BuildRequires: pkgconfig(opencv4) BuildRequires: pkgconfig(opus) +%ifnarch riscv64 BuildRequires: pkgconfig(rav1e) +%endif BuildRequires: pkgconfig(rubberband) BuildRequires: pkgconfig(schroedinger-1.0) BuildRequires: pkgconfig(sdl2) @@ -615,7 +617,9 @@ cp -a doc/examples/{*.c,Makefile,README} _doc/examples/ --enable-libopenmpt \ --enable-libopus \ --enable-libpulse \ +%ifnarch riscv64 --enable-librav1e \ +%endif --enable-librsvg \ --enable-librubberband \ --enable-libsnappy \ @@ -846,6 +850,9 @@ rm -rf %{buildroot}%{_datadir}/%{name}/examples %{_mandir}/man3/libswscale.3* %changelog +* Wed Nov 16 2022 David Abdurachmanov - 5.1.2-1.0.riscv64 +- Disable rav1e on riscv64 + * Wed Oct 12 2022 Neal Gompa - 5.1.2-1 - Update to version 5.1.2 - Refresh dlopen headers and patch for OpenH264 2.3.1