commit ccc8619ace27cfd3a92d32c0b9c2d41f31a7341d
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sun May 15 16:30:47 2022 +0200
Condition lirc
vlc.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/vlc.spec b/vlc.spec
index 89f5c0a..5775c7d 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -39,6 +39,7 @@
%endif
%if 0%{?fedora}
+%global _with_lirc 1
%ifarch x86_64 i686
%global _with_crystalhd 1
%endif
@@ -168,7 +169,7 @@ BuildRequires: pkgconfig(vdpau)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(vpx)
BuildRequires: pkgconfig(libxml-2.0)
-BuildRequires: lirc-devel
+%{?_with_lirc:BuildRequires: lirc-devel }
%{?_with_live555:BuildRequires: live555-devel >= 0-0.33}
BuildRequires: kernel-headers
BuildRequires: pkgconfig(gl)
Show replies by date