Fedora has fixed lv2 to include the old headers

el9
Leigh Scott 2 years ago
parent 6369da34c8
commit 69b7644cba

@ -119,7 +119,6 @@ Source0: ffmpeg-%{?branch}%{date}.tar.bz2
%else %else
Source0: http://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz Source0: http://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz
%endif %endif
Patch0: lv2_headers_fix.patch
Conflicts: %{name}-free Conflicts: %{name}-free
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%{?_with_cuda:BuildRequires: cuda-minimal-build-%{_cuda_version_rpm} cuda-drivers-devel} %{?_with_cuda:BuildRequires: cuda-minimal-build-%{_cuda_version_rpm} cuda-drivers-devel}
@ -186,7 +185,7 @@ BuildRequires: nasm
%{?_with_omx:BuildRequires: libomxil-bellagio-devel} %{?_with_omx:BuildRequires: libomxil-bellagio-devel}
BuildRequires: libxcb-devel BuildRequires: libxcb-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
%{!?_without_lv2:BuildRequires: lilv-devel lv2-devel >= 1.18.8 } %{!?_without_lv2:BuildRequires: lilv-devel lv2-devel}
%{!?_without_openal:BuildRequires: openal-soft-devel} %{!?_without_openal:BuildRequires: openal-soft-devel}
%if 0%{!?_without_opencl:1} %if 0%{!?_without_opencl:1}
BuildRequires: opencl-headers ocl-icd-devel BuildRequires: opencl-headers ocl-icd-devel

@ -1,13 +0,0 @@
--- 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