From d379fede7d1f24b93f389835e4cb9351073bb0edecccbbd93c057781acd620d7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 17 Jul 2020 09:39:17 +0000 Subject: [PATCH] Accepting request 821298 from home:FuchtelJockel:branches:multimedia:libs - Add librav1e support OBS-URL: https://build.opensuse.org/request/show/821298 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=135 --- enable_encoders | 1 + ffmpeg-4.changes | 5 +++++ ffmpeg-4.spec | 8 ++++++++ 3 files changed, 14 insertions(+) diff --git a/enable_encoders b/enable_encoders index 98ab50c..189e2fe 100644 --- a/enable_encoders +++ b/enable_encoders @@ -17,6 +17,7 @@ libgsm # libgsm libmp3lame # lame libopenjpeg # openjpeg libopus # opus +librav1e # rav1e libschroedinger # schroedinger libspeex # speex libtheora # libtheora diff --git a/ffmpeg-4.changes b/ffmpeg-4.changes index e930615..f52b8b5 100644 --- a/ffmpeg-4.changes +++ b/ffmpeg-4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 16 10:49:02 UTC 2020 - Alexander Reimelt + +- Add librav1e support + ------------------------------------------------------------------- Sun Jul 12 16:08:10 UTC 2020 - Bjørn Lie diff --git a/ffmpeg-4.spec b/ffmpeg-4.spec index 08c945a..c3705a2 100644 --- a/ffmpeg-4.spec +++ b/ffmpeg-4.spec @@ -64,6 +64,7 @@ %bcond_without srt %bcond_without codec2 %bcond_without lv2 +%bcond_without librav1e %bcond_without rubberband %bcond_without soxr %bcond_without zmq @@ -75,6 +76,7 @@ %bcond_with srt %bcond_with codec2 %bcond_with lv2 +%bcond_with librav1e %bcond_with rubberband %bcond_with soxr %bcond_with zmq @@ -169,6 +171,9 @@ BuildRequires: pkgconfig(lilv-0) %endif BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(opus) +%if %{with librav1e} +BuildRequires: pkgconfig(rav1e) +%endif %if %{with rubberband} BuildRequires: pkgconfig(rubberband) %endif @@ -642,6 +647,9 @@ LDFLAGS="%_lto_cflags" \ %endif --enable-libopus \ --enable-libpulse \ +%if %{with librav1e} + --enable-librav1e \ +%endif %if %{with rubberband} --enable-librubberband \ %endif