commit f86d80f805e7efc4e6d7150cd3f695bb692e3637
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu May 5 16:43:05 2022 +0200
Drop libdc1394 for el9+
vlc.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/vlc.spec b/vlc.spec
index 98df3b6..2d6e8d5 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -29,6 +29,10 @@
%global _with_asdcp 1
%endif
+%if 0%{?rhel} && 0%{?rhel} >= 9
+%global _without_libdc1394 1
+%endif
+
%if ! 0%{?el7}
%global _with_bluray 1
%global _with_wayland 1
@@ -121,7 +125,7 @@ BuildRequires: pkgconfig(libchromaprint)
%{?_with_crystalhd:BuildRequires: libcrystalhd-devel}
BuildRequires: pkgconfig(daaladec)
BuildRequires: pkgconfig(daalaenc)
-BuildRequires: libdc1394-devel >= 2.1.0
+%{!?_without_libdc1394:BuildRequires: libdc1394-devel}
%{?_with_libdca:BuildRequires: libdca-devel}
%{?_with_libdvbpsi:BuildRequires: libdvbpsi-devel}
BuildRequires: libdvdnav-devel