From c609b2850344bd701a2093859178e0188aba5bbb Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 9 Nov 2015 12:59:39 +0100 Subject: [PATCH] Enable more plugins: gtksink, webp, bluez, bs2b, gme, ofa, openal, opencv, openjpeg --- gstreamer1-plugins-bad-free.spec | 38 ++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/gstreamer1-plugins-bad-free.spec b/gstreamer1-plugins-bad-free.spec index a6ecf12..50a88a4 100644 --- a/gstreamer1-plugins-bad-free.spec +++ b/gstreamer1-plugins-bad-free.spec @@ -14,7 +14,7 @@ Name: gstreamer1-plugins-bad-free Version: 1.6.1 -Release: 1%{?gitcommit:.git%{shortcommit}}%{?dist} +Release: 2%{?gitcommit:.git%{shortcommit}}%{?dist} Summary: GStreamer streaming media framework "bad" plugins License: LGPLv2+ and LGPLv2 @@ -68,10 +68,14 @@ BuildRequires: gnutls-devel BuildRequires: libsrtp-devel BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(libusb-1.0) +BuildRequires: gtk3-devel >= 3.4 +BuildRequires: bluez-libs-devel >= 5.0 +BuildRequires: libwebp-devel BuildRequires: chrpath %if %{with extras} +BuildRequires: libbs2b-devel >= 3.1.0 ## Plugins not ported #BuildRequires: dirac-devel #BuildRequires: gmyth-devel >= 0.4 @@ -80,14 +84,17 @@ BuildRequires: libass-devel ## Plugin not ported #BuildRequires: libcdaudio-devel BuildRequires: libcurl-devel +BuildRequires: game-music-emu-devel BuildRequires: libkate-devel BuildRequires: libmodplug-devel +BuildRequires: libofa-devel ## Plugins not ported #BuildRequires: libmusicbrainz-devel #BuildRequires: libtimidity-devel BuildRequires: libvdpau-devel -# Requires opencv version < 2.3.1, Rawhide currently has 2.4.2 -#BuildRequires: opencv-devel +BuildRequires: openal-soft-devel +BuildRequires: opencv-devel +BuildRequires: openjpeg-devel BuildRequires: schroedinger-devel ## Plugins not ported #BuildRequires: SDL-devel @@ -169,11 +176,10 @@ aren't tested well enough, or the code is not of good enough quality. --enable-debug --disable-static --enable-gtk-doc --enable-experimental \ --disable-dts --disable-faac --disable-faad --disable-nas \ --disable-mimic --disable-libmms --disable-mpeg2enc --disable-mplex \ - --disable-neon --disable-openal --disable-rtmp --disable-xvid \ + --disable-neon --disable-rtmp --disable-xvid \ --disable-chromaprint --disable-flite \ - --disable-mpg123 --disable-ofa --disable-opencv --disable-sbc \ - --disable-spandsp --disable-voamrwbenc \ - --disable-webp --disable-openjpeg + --disable-mpg123 --disable-sbc \ + --disable-spandsp --disable-voamrwbenc --disable-x265 make %{?_smp_mflags} @@ -261,6 +267,11 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstbadvideo-%{majorminor}.so %dir %{_datadir}/gstreamer-%{majorminor}/presets/ %{_datadir}/gstreamer-%{majorminor}/presets/GstFreeverb.prs +# opencv data +%dir %{_datadir}/gst-plugins-bad/%{majorminor}/opencv_haarcascades/ +%{_datadir}/gst-plugins-bad/%{majorminor}/opencv_haarcascades/fist.xml +%{_datadir}/gst-plugins-bad/%{majorminor}/opencv_haarcascades/palm.xml + %{_libdir}/libgstadaptivedemux-%{majorminor}.so.* %{_libdir}/libgstbasecamerabinsrc-%{majorminor}.so.* %{_libdir}/libgstbadbase-%{majorminor}.so.* @@ -356,6 +367,7 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstbadvideo-%{majorminor}.so %{_libdir}/gstreamer-%{majorminor}/libgstdtls.so %{_libdir}/gstreamer-%{majorminor}/libgstfragmented.so %{_libdir}/gstreamer-%{majorminor}/libgstgsm.so +%{_libdir}/gstreamer-%{majorminor}/libgstgtksink.so %{_libdir}/gstreamer-%{majorminor}/libgstladspa.so %{_libdir}/gstreamer-%{majorminor}/libgstopengl.so %{_libdir}/gstreamer-%{majorminor}/libgstopus.so @@ -365,6 +377,7 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstbadvideo-%{majorminor}.so %if 0%{?fedora} %{_libdir}/gstreamer-%{majorminor}/libgstwaylandsink.so %endif +%{_libdir}/gstreamer-%{majorminor}/libgstwebp.so #debugging plugin %{_libdir}/gstreamer-%{majorminor}/libgstdebugutilsbad.so @@ -374,11 +387,18 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstbadvideo-%{majorminor}.so %files extras # Plugins with external dependencies %{_libdir}/gstreamer-%{majorminor}/libgstassrender.so +%{_libdir}/gstreamer-%{majorminor}/libgstbluez.so +%{_libdir}/gstreamer-%{majorminor}/libgstbs2b.so %{_libdir}/gstreamer-%{majorminor}/libgstcurl.so %{_libdir}/gstreamer-%{majorminor}/libgstdecklink.so +%{_libdir}/gstreamer-%{majorminor}/libgstgme.so %{_libdir}/gstreamer-%{majorminor}/libgstkate.so %{_libdir}/gstreamer-%{majorminor}/libgstmodplug.so +%{_libdir}/gstreamer-%{majorminor}/libgstofa.so +%{_libdir}/gstreamer-%{majorminor}/libgstopenal.so +%{_libdir}/gstreamer-%{majorminor}/libgstopencv.so %{_libdir}/gstreamer-%{majorminor}/libgstopenexr.so +%{_libdir}/gstreamer-%{majorminor}/libgstopenjpeg.so %{_libdir}/gstreamer-%{majorminor}/libgstschro.so %{_libdir}/gstreamer-%{majorminor}/libgstzbar.so %{_libdir}/gstreamer-%{majorminor}/libgstwildmidi.so @@ -430,6 +450,10 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstbadvideo-%{majorminor}.so %{_libdir}/pkgconfig/gstreamer-plugins-bad-%{majorminor}.pc %changelog +* Mon Nov 9 2015 Wim Taymans - 1.6.1-2 +- Enable more plugins: gtksink, webp, bluez, bs2b, gme, ofa, openal, + opencv, openjpeg + * Mon Nov 2 2015 Wim Taymans - 1.6.1-1 - Update to 1.6.1