diff --git a/gstreamer1-plugins-good.spec b/gstreamer1-plugins-good.spec index 570bfb9..ae69792 100644 --- a/gstreamer1-plugins-good.spec +++ b/gstreamer1-plugins-good.spec @@ -7,13 +7,15 @@ %bcond_with extras %endif +%bcond_without qt + #global gitrel 140 #global gitcommit 9865730cfa5b3a8b2560d082e7e56b350042d3d2 #global shortcommit %(c=%{gitcommit}; echo ${c:0:5}) Name: gstreamer1-plugins-good Version: 1.15.2 -Release: 1%{?gitcommit:.git%{shortcommit}}%{?dist} +Release: 2%{?gitcommit:.git%{shortcommit}}%{?dist} Summary: GStreamer plugins with good code and licensing License: LGPLv2+ @@ -113,6 +115,28 @@ good quality and under the LGPL license. This package (%{name}-gtk) contains the gtksink output plugin. +%if %{with qt} +%package qt +Summary: GStreamer "good" plugins qt qml plugin +Requires: %{name}%{?_isa} = %{version}-%{release} + +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Qml) +BuildRequires: pkgconfig(Qt5Quick) +BuildRequires: pkgconfig(Qt5X11Extras) +BuildRequires: pkgconfig(Qt5WaylandClient) + +Supplements: (gstreamer-plugins-good and qt5-qtdeclarative) + +%description qt +GStreamer is a streaming media framework, based on graphs of elements which +operate on media data. + +GStreamer Good Plugins is a collection of well-supported plugins of +good quality and under the LGPL license. + +This package (%{name}-qt) contains the qtsink output plugin. +%endif %if %{with extras} %package extras @@ -152,7 +176,6 @@ to be installed. %else --disable-jack \ %endif - --disable-qt \ --with-default-visualizer=autoaudiosink %make_build V=1 @@ -256,6 +279,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';' # Plugins with external dependencies %{_libdir}/gstreamer-%{majorminor}/libgstgtk.so +%files qt +%{_libdir}/gstreamer-%{majorminor}/libgstqmlgl.so + %if %{with extras} %files extras # Plugins with external dependencies @@ -264,6 +290,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';' %changelog +* Thu Mar 07 2019 Rex Dieter - 1.15.2-2 +- -qt subpkg + * Fri Mar 01 2019 Wim Taymans - 1.15.2-1 - Update to 1.15.2