Fix lv2 headers path

el9
Leigh Scott 2 years ago
parent f5211b5d7b
commit 46bdb4f04e

@ -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

@ -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 <lilv/lilv.h>
-#include <lv2/lv2plug.in/ns/ext/atom/atom.h>
-#include <lv2/lv2plug.in/ns/ext/buf-size/buf-size.h>
+#include <lv2/atom/atom.h>
+#include <lv2/buf-size/buf-size.h>
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
Loading…
Cancel
Save