[packages/ffmpeg] - added rav1e support on bcond (off by default)

qboosh qboosh at pld-linux.org
Mon Jul 27 16:03:43 CEST 2020


commit 02280f85dd7bc1d5ecbc210b8ccbf3fe224e8ecb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jul 27 16:05:26 2020 +0200

    - added rav1e support on bcond (off by default)

 ffmpeg.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 1533df9..daccb93 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -1,5 +1,4 @@
 # TODO:
-# - rav1e >= 0.1.0
 # - libtensorflow [-ltensorflow tensorflow/c/c_api.h]
 # - AMF >= 1.4.9.0 (available at https://github.com/GPUOpen-LibrariesAndSDKs/AMF, where is original source?)
 #
@@ -57,6 +56,7 @@
 %bcond_with	pocketsphinx	# asr filter using PocketSphinx
 %bcond_without	pulseaudio	# PulseAudio input support
 %bcond_without	rabbitmq	# RabbitMQ support
+%bcond_with	rav1e		# AV1 encoding using rav1e
 %bcond_with	rkmpp		# Rockchip Media Process Platform code [implies libdrm]
 %bcond_without	rubberband	# rubberband filter
 %bcond_without	shine		# shine fixed-point MP3 encoder
@@ -96,6 +96,9 @@
 %ifnarch %{ix86} %{x8664}
 %undefine	with_ffnvcodec
 %endif
+%ifnarch %{ix86} %{x8664} aarch64
+%undefine	with_rav1e
+%endif
 %ifnarch %{ix86} %{x8664} %{arm}
 %undefine	with_x265
 %endif
@@ -220,6 +223,7 @@ BuildRequires:	perl-tools-pod
 BuildRequires:	pkgconfig
 %{?with_pulseaudio:BuildRequires:	pulseaudio-devel}
 %{?with_rabbitmq:BuildRequires:	rabbitmq-c-devel >= 0.7.1}
+%{?with_rav1e:BuildRequires:	rav1e-devel >= 0.1.0}
 %{?with_rkmpp:BuildRequires:	rockchip-mpp-devel >= 1.3.7}
 BuildRequires:	rpmbuild(macros) >= 1.470
 %{?with_rubberband:BuildRequires:	rubberband-devel >= 1.8.1}
@@ -318,6 +322,7 @@ Requires:	lame-libs >= 3.98.3
 %{?with_openh264:Requires:	openh264 >= 1.3}
 Requires:	openjpeg2 >= 2.1
 %{?with_rabbitmq:Requires:	rabbitmq-c >= 0.7.1}
+%{?with_rav1e:Requires:	rav1e-libs >= 0.1.0}
 %{?with_rkmpp:Requires:	rockchip-mpp >= 1.3.7}
 %{?with_rubberband:Requires:	rubberband-libs >= 1.8.1}
 %{?with_shine:Requires:	shine >= 3.0.0}
@@ -427,6 +432,7 @@ Requires:	openjpeg2-devel >= 2.1
 Requires:	opus-devel
 %{?with_pulseaudio:Requires:	pulseaudio-devel}
 %{?with_rabbitmq:Requires:	rabbitmq-c-devel >= 0.7.1}
+%{?with_rav1e:Requires:	rav1e-devel >= 0.1.0}
 %{?with_rkmpp:Requires:	rockchip-mpp-devel >= 1.3.7}
 %{?with_rubberband:Requires:	rubberband-devel >= 1.8.1}
 %{?with_shine:Requires:	shine-devel >= 3.0.0}
@@ -639,6 +645,7 @@ EOF
 	--enable-libopus \
 	%{?with_pulseaudio:--enable-libpulse} \
 	%{?with_rabbitmq:--enable-librabbitmq} \
+	%{?with_rav1e:--enable-librav1e} \
 	%{?with_librsvg:--enable-librsvg} \
 	--enable-librtmp \
 	%{?with_rubberband:--enable-librubberband} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ffmpeg.git/commitdiff/02280f85dd7bc1d5ecbc210b8ccbf3fe224e8ecb



More information about the pld-cvs-commit mailing list