diff --git a/ffmpeg.spec b/ffmpeg.spec index f0cb18a..f5e2bfa 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -59,12 +59,10 @@ %bcond lcms2 0 %bcond placebo 0 %bcond lc3 0 -%bcond xev 0 %else %bcond lcms2 1 %bcond placebo 1 %bcond lc3 1 -%bcond xev 1 %endif # For using an alternative build of EVC codecs @@ -130,9 +128,7 @@ Patch10: https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/7f9c7f9849a215522 # Reference: https://crbug.com/1306560 Patch1002: ffmpeg-chromium.patch -%if 0%{?rhel} && 0%{?rhel} <= 9 Patch2001: ffmpeg-lower-libdvd-req.patch -%endif Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavdevice%{?pkg_suffix}%{_isa} = %{version}-%{release} @@ -271,7 +267,6 @@ BuildRequires: librtmp-devel %if %{with vpl} BuildRequires: pkgconfig(vpl) >= 2.6 %endif -%if %{with xev} %if %{with evc_main} BuildRequires: pkgconfig(xevd) BuildRequires: pkgconfig(xeve) @@ -279,7 +274,6 @@ BuildRequires: pkgconfig(xeve) BuildRequires: pkgconfig(xevdb) BuildRequires: pkgconfig(xeveb) %endif -%endif %if %{with x264} BuildRequires: pkgconfig(x264) %endif @@ -886,14 +880,12 @@ cp -a doc/examples/{*.c,Makefile,README} _doc/examples/ --enable-libxcb-shape \ --enable-libxcb-shm \ --enable-libxcb-xfixes \ -%if %{with xev} %if %{with evc_main} --enable-libxeve \ --enable-libxevd \ %else --enable-libxeveb \ --enable-libxevdb \ -%endif %endif --enable-libxml2 \ --enable-libxvid \