From b2d27dba00a0cb05c71aa86d7a6cc5ba8b4a9603 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Fri, 2 Dec 2022 10:57:31 +0100 Subject: [PATCH] Build FFMpeg plugin --- qt6-qtmultimedia.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qt6-qtmultimedia.spec b/qt6-qtmultimedia.spec index fadb776..dd8cdd9 100644 --- a/qt6-qtmultimedia.spec +++ b/qt6-qtmultimedia.spec @@ -56,6 +56,12 @@ BuildRequires: pkgconfig(gstreamer-pbutils-%{gst}) BuildRequires: pkgconfig(gstreamer-plugins-bad-%{gst}) BuildRequires: pkgconfig(gstreamer-video-%{gst}) BuildRequires: pkgconfig(libpulse) pkgconfig(libpulse-mainloop-glib) +BuildRequires: ffmpeg-free-devel +BuildRequires: libavcodec-free-devel +BuildRequires: libavutil-free-devel +BuildRequires: libavformat-free-devel +BuildRequires: libswscale-free-devel +BuildRequires: libswresample-free-devel %if 0%{?openal} BuildRequires: pkgconfig(openal) %endif @@ -162,6 +168,7 @@ popd %{_qt6_datadir}/modules/*.json %{_qt6_libdir}/pkgconfig/*.pc %{_qt6_plugindir}/multimedia/libgstreamermediaplugin.so +%{_qt6_plugindir}/multimedia/libffmpegmediaplugin.so %if 0%{?examples} %files examples