diff --git a/mpv.spec b/mpv.spec index 96675e1..bb1a0af 100644 --- a/mpv.spec +++ b/mpv.spec @@ -138,10 +138,6 @@ sed -i -e "s|c_preproc.standard_includes.append('/usr/local/include')|c_preproc. --docdir=%{_docdir}/%{name} \ --confdir=%{_sysconfdir}/%{name} \ --disable-build-date \ -%if 0%{?fedora} > 34 -# kernel-headers-5.14 has dropped /usr/include/linux/dvb/video.h - --enable-dvbin \ -%endif --enable-libmpv-shared \ --enable-sdl2 \ %if 0%{?fedora} > 30 || 0%{?rhel} > 8 @@ -151,8 +147,11 @@ sed -i -e "s|c_preproc.standard_includes.append('/usr/local/include')|c_preproc. --enable-cdda \ --enable-html-build \ %{?_with_rpi:--enable-rpi --disable-vaapi} \ - --enable-gl-x11 - + --enable-gl-x11 \ +%if 0%{?fedora} < 35 + --enable-dvbin +%endif + %{_bindir}/waf -v build %{?_smp_mflags}