diff --git a/ffmpeg.spec b/ffmpeg.spec index a255e34..767ef6d 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -143,6 +143,7 @@ Source0: ffmpeg-%{?branch}%{date}.tar.bz2 %else Source0: http://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz %endif +Patch0: lv2_headers_fix.patch Conflicts: %{name}-free Requires: %{name}-libs%{?_isa} = %{version}-%{release} %{?_with_cuda:BuildRequires: cuda-minimal-build-%{_cuda_version_rpm} cuda-drivers-devel} @@ -209,7 +210,7 @@ BuildRequires: nasm %{?_with_omx:BuildRequires: libomxil-bellagio-devel} BuildRequires: libxcb-devel BuildRequires: libxml2-devel -%{!?_without_lv2:BuildRequires: lilv-devel} +%{!?_without_lv2:BuildRequires: lilv-devel lv2-devel >= 1.18.8 } %{!?_without_openal:BuildRequires: openal-soft-devel} %if 0%{!?_without_opencl:1} BuildRequires: opencl-headers ocl-icd-devel diff --git a/lv2_headers_fix.patch b/lv2_headers_fix.patch new file mode 100644 index 0000000..727bf4f --- /dev/null +++ b/lv2_headers_fix.patch @@ -0,0 +1,13 @@ +--- a/libavfilter/af_lv2.c 2022-07-22 18:58:39.000000000 +0100 ++++ b/libavfilter/af_lv2.c 2022-09-01 09:18:44.308960087 +0100 +@@ -25,8 +25,8 @@ + */ + + #include +-#include +-#include ++#include ++#include + + #include "libavutil/avstring.h" + #include "libavutil/channel_layout.h"