Disable ffmpeg by default in RHEL builds
The ffmpeg plugin can be built separately as an EPEL-specific package.
This commit is contained in:
parent
b100b6e845
commit
33d2a269dc
@ -8,6 +8,12 @@
|
|||||||
%global gst 1.0
|
%global gst 1.0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?rhel} && ! 0%{?epel}
|
||||||
|
%bcond_with ffmpeg
|
||||||
|
%else
|
||||||
|
%bcond_without ffmpeg
|
||||||
|
%endif
|
||||||
|
|
||||||
#global unstable 1
|
#global unstable 1
|
||||||
%if 0%{?unstable}
|
%if 0%{?unstable}
|
||||||
%global prerelease rc2
|
%global prerelease rc2
|
||||||
@ -55,12 +61,15 @@ BuildRequires: pkgconfig(gstreamer-pbutils-%{gst})
|
|||||||
BuildRequires: pkgconfig(gstreamer-plugins-bad-%{gst})
|
BuildRequires: pkgconfig(gstreamer-plugins-bad-%{gst})
|
||||||
BuildRequires: pkgconfig(gstreamer-video-%{gst})
|
BuildRequires: pkgconfig(gstreamer-video-%{gst})
|
||||||
BuildRequires: pkgconfig(libpulse) pkgconfig(libpulse-mainloop-glib)
|
BuildRequires: pkgconfig(libpulse) pkgconfig(libpulse-mainloop-glib)
|
||||||
|
%if %{with ffmpeg}
|
||||||
BuildRequires: ffmpeg-free-devel
|
BuildRequires: ffmpeg-free-devel
|
||||||
BuildRequires: libavcodec-free-devel
|
BuildRequires: libavcodec-free-devel
|
||||||
BuildRequires: libavutil-free-devel
|
BuildRequires: libavutil-free-devel
|
||||||
BuildRequires: libavformat-free-devel
|
BuildRequires: libavformat-free-devel
|
||||||
BuildRequires: libswscale-free-devel
|
BuildRequires: libswscale-free-devel
|
||||||
BuildRequires: libswresample-free-devel
|
BuildRequires: libswresample-free-devel
|
||||||
|
BuildRequires: pkgconfig(libva) pkgconfig(libva-drm)
|
||||||
|
%endif
|
||||||
%if 0%{?openal}
|
%if 0%{?openal}
|
||||||
BuildRequires: pkgconfig(openal)
|
BuildRequires: pkgconfig(openal)
|
||||||
%endif
|
%endif
|
||||||
@ -135,7 +144,9 @@ popd
|
|||||||
%{_qt6_archdatadir}/qml/QtMultimedia/
|
%{_qt6_archdatadir}/qml/QtMultimedia/
|
||||||
%dir %{_qt6_plugindir}/multimedia
|
%dir %{_qt6_plugindir}/multimedia
|
||||||
%{_qt6_plugindir}/multimedia/libgstreamermediaplugin.so
|
%{_qt6_plugindir}/multimedia/libgstreamermediaplugin.so
|
||||||
|
%if %{with ffmpeg}
|
||||||
%{_qt6_plugindir}/multimedia/libffmpegmediaplugin.so
|
%{_qt6_plugindir}/multimedia/libffmpegmediaplugin.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_qt6_headerdir}/QtMultimedia/
|
%{_qt6_headerdir}/QtMultimedia/
|
||||||
|
Loading…
Reference in New Issue
Block a user