Enable the spandsp plugin

Olivier Crête said that having the spandsp plugin in Fedora's
gstreamer1-plugins-bad-free would enable running the farstream02 unit
tests. This seems like a worthwhile goal to pursue.

However, this does introduce a new dependency on the spandsp package,
and since it's only being enabled to make upstream development easier,
it's better to keep it in the -extras sub-package for the time being.
This commit is contained in:
Debarshi Ray 2020-03-20 19:09:11 +01:00
parent 998664b451
commit 58db2dc123
1 changed files with 8 additions and 2 deletions

View File

@ -14,7 +14,7 @@
Name: gstreamer1-plugins-bad-free
Version: 1.16.2
Release: 3%{?gitcommit:.git%{shortcommit}}%{?dist}
Release: 4%{?gitcommit:.git%{shortcommit}}%{?dist}
Summary: GStreamer streaming media framework "bad" plugins
License: LGPLv2+ and LGPLv2
@ -112,6 +112,7 @@ BuildRequires: libvdpau-devel
BuildRequires: openal-soft-devel
#BuildRequires: opencv-devel
BuildRequires: openjpeg2-devel
BuildRequires: pkgconfig(spandsp) >= 0.0.6
## Plugins not ported
#BuildRequires: SDL-devel
BuildRequires: lilv-devel
@ -214,7 +215,8 @@ autoreconf --force --install
--disable-libmms --disable-mpeg2enc --disable-mplex \
--disable-neon --disable-rtmp \
--disable-flite --disable-sbc --disable-opencv \
--disable-spandsp --disable-voamrwbenc --disable-x265
%{!?with_extras:--disable-spandsp} \
--disable-voamrwbenc --disable-x265
%make_build
@ -432,6 +434,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
#{_libdir}/gstreamer-%{majorminor}/libgstopencv.so
%{_libdir}/gstreamer-%{majorminor}/libgstopenexr.so
%{_libdir}/gstreamer-%{majorminor}/libgstopenjpeg.so
%{_libdir}/gstreamer-%{majorminor}/libgstspandsp.so
%{_libdir}/gstreamer-%{majorminor}/libgstteletext.so
%{_libdir}/gstreamer-%{majorminor}/libgstvdpau.so
%{_libdir}/gstreamer-%{majorminor}/libgstzbar.so
@ -496,6 +499,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
%changelog
* Fri Mar 20 2020 Debarshi Ray <rishi@fedoraproject.org> - 1.16.2-4
- Enable the spandsp plugin
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild