commit 71b43924722ce7e90031927d2f68c658fa63fbd9
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Dec 24 14:05:54 2020 +0000
Enable lv2 support
ffmpeg.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index a7ae0f9..f89c6fb 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -28,6 +28,10 @@
%endif
%endif
+%if 0%{?rhel}
+%global _without_lv2 1
+%endif
+
# flavor nonfree
%if 0%{?_with_cuda:1}
%global debug_package %{nil}
@@ -162,6 +166,7 @@ BuildRequires: nasm
%{?_with_omx:BuildRequires: libomxil-bellagio-devel}
BuildRequires: libxcb-devel
BuildRequires: libxml2-devel
+%{!?_without_lv2:BuildRequires: lilv-devel}
%{!?_without_openal:BuildRequires: openal-soft-devel}
%if 0%{!?_without_opencl:1}
BuildRequires: opencl-headers ocl-icd-devel
@@ -319,6 +324,7 @@ This package contains development files for %{name}
--enable-libzimg \\\
%{?_with_zmq:--enable-libzmq} \\\
%{!?_without_zvbi:--enable-libzvbi} \\\
+ %{!?_without_lv2:--enable-lv2} \\\
--enable-avfilter \\\
--enable-avresample \\\
--enable-libmodplug \\\