Move zbar plugin to separate subpackage

Plugin zbar require some heavy libs like
ImageMagick-libs
graphviz
gtk2
and others.

Without it gstreamer1-plugins-bad-free-extras can be used on gtk2-less
systems and requires more then ten megabytes less. For example I don't
need all this for pulseeffects package.
This commit is contained in:
Vasiliy Glazov 2020-07-09 10:58:56 +02:00 committed by Wim Taymans
parent 95fce51ce1
commit 311c13454c

View File

@ -157,6 +157,19 @@ extra "bad" plugins for sources (mythtv), sinks (fbdev) and
effects (pitch) which are not used very much and require additional
libraries to be installed.
%package zbar
Summary: GStreamer "bad" plugins zbar plugin
Requires: %{name}%{?_isa} = %{version}-%{release}
%description zbar
GStreamer is a streaming media framework, based on graphs of elements which
operate on media data.
gstreamer-plugins-bad contains plug-ins that aren't tested well enough,
or the code is not of good enough quality.
This package (%{name}-zbar) contains the zbar
plugin which allows decode bar codes.
%package fluidsynth
Summary: GStreamer "bad" plugins fluidsynth plugin
@ -493,9 +506,11 @@ rm $RPM_BUILD_ROOT%{_bindir}/playout
%{_libdir}/gstreamer-%{majorminor}/libgstopenjpeg.so
%{_libdir}/gstreamer-%{majorminor}/libgstspandsp.so
%{_libdir}/gstreamer-%{majorminor}/libgstteletext.so
%{_libdir}/gstreamer-%{majorminor}/libgstzbar.so
%{_libdir}/gstreamer-%{majorminor}/libgstva.so
%files zbar
# Plugins with external dependencies
%{_libdir}/gstreamer-%{majorminor}/libgstzbar.so
%files fluidsynth
# Plugins with external dependencies