From ccc8619ace27cfd3a92d32c0b9c2d41f31a7341d Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Sun, 15 May 2022 16:30:47 +0200 Subject: [PATCH] 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)