%bcond_with directfb # DirectFB videosink plugin [not ported to 1.0]
%bcond_without dts # DTS plugin
%bcond_without faad # faad plugin
+%bcond_without gles # EGL GLESv2 videosink plugin
%bcond_without gsm # gsm plugin
%bcond_with jasper # JasPer plugin [not ported to 1.0]
%bcond_with kate # Kate text streams plugin [not ported to 1.0]
%bcond_with musicbrainz # musicbrainz plugin [not ported to 1.0]
%bcond_with mythtv # mythtv plugin [not ported to 1.0]
%bcond_with nas # NAS audiosink plugin [not ported to 1.0]
-%bcond_with neon # neonhttpsrc plugin [not ported to 1.0]
-%bcond_with ofa # OFA plugin [not ported to 1.0]
-%bcond_with openal # OpenAL audiosink plugin [not ported to 1.0]
+%bcond_without neon # neonhttpsrc plugin
+%bcond_without ofa # OFA plugin
+%bcond_without openal # OpenAL audiosink plugin
%bcond_without opencv # OpenCV plugin
%bcond_with rsvg # RSVG plugin [not ported to 1.0]
%bcond_with sdl # SDL audio/videosink plugin [not ported to 1.0]
Summary: Bad GStreamer Streaming-media framework plugins
Summary(pl.UTF-8): Złe wtyczki do środowiska obróbki strumieni GStreamer
Name: gstreamer-plugins-bad
-Version: 1.0.5
-Release: 1
+Version: 1.0.9
+Release: 2
License: LGPL v2+
Group: Libraries
Source0: http://gstreamer.freedesktop.org/src/gst-plugins-bad/%{gstname}-%{version}.tar.xz
-# Source0-md5: 07ed29084e0de968cdd1675f7ee228e2
+# Source0-md5: 569e5122fd7bfd7bd861a537f0a28c60
Patch0: %{name}-libdts.patch
Patch1: %{name}-timidity.patch
Patch2: %{name}-nas.patch
BuildRequires: automake >= 1:1.11
BuildRequires: docbook-dtd412-xml
BuildRequires: gettext-devel >= 0.17
-BuildRequires: glib2-devel >= 1:2.32
+BuildRequires: glib2-devel >= 1:2.32.0
BuildRequires: gstreamer-devel >= %{gst_req_ver}
BuildRequires: gstreamer-plugins-base-devel >= %{gstpb_req_ver}
BuildRequires: gtk+3-devel >= 3.0.0
##
## plugins
##
+%{?with_gles:BuildRequires: Mesa-libEGL-devel}
+# GLESv2
+%{?with_gles:BuildRequires: Mesa-libGLES-devel}
%{?with_directfb:BuildRequires: DirectFB-devel >= 1:0.9.24}
-%{?with_openal:BuildRequires: OpenAL-devel >= 1.13.0}
+%{?with_openal:BuildRequires: OpenAL-devel >= 1.14}
%{?with_sdl:BuildRequires: SDL-devel}
BuildRequires: alsa-lib-devel >= 0.9.1
BuildRequires: bzip2-devel
BuildRequires: faac-devel
%{?with_faad:BuildRequires: faad2-devel >= 2.0-2}
BuildRequires: flite-devel
+BuildRequires: fluidsynth-devel >= 1.0
BuildRequires: game-music-emu-devel >= 0.5.5
# when becomes available...
#BuildRequires: game-music-emu-devel >= 0.5.6
BuildRequires: opencv-devel >= 1:2.2.0
BuildRequires: opencv-devel < 1:2.5.0
%endif
+BuildRequires: openjpeg-devel >= 1
BuildRequires: openssl-devel >= 0.9.5
BuildRequires: opus-devel >= 0.9.4
BuildRequires: schroedinger-devel >= 1.0.10
%{?with_xvid:BuildRequires: xvid-devel >= 1.3.0}
BuildRequires: zbar-devel >= 0.9
%{?with_zvbi:BuildRequires: zvbi-devel >= 0.2}
-Requires: glib2 >= 1:2.32
+Requires: glib2 >= 1:2.32.0
Requires: gstreamer >= %{gst_req_ver}
Requires: gstreamer-plugins-base >= %{gstpb_req_ver}
Requires: orc >= 0.4.16
%description -n gstreamer-flite -l pl.UTF-8
Wtyczka do GStreamera obsługująca Flite.
+%package -n gstreamer-fluidsynth
+Summary: GStreamer FluidSynth MIDI plugin
+Summary(pl.UTF-8): Wtyczka FluidSynth MIDI do GStreamera
+Group: Libraries
+# for generic gstmidi plugin
+Requires: %{name} = %{version}-%{release}
+Requires: fluidsynth >= 1.0
+
+%description -n gstreamer-fluidsynth
+GStreamer FluidSynth MIDI plugin.
+
+%description -n gstreamer-fluidsynth -l pl.UTF-8
+Wtyczka FluidSynth MIDI do GStreamera.
+
%package -n gstreamer-gme
Summary: GStreamer GME Audio Decoder plugin
Summary(pl.UTF-8): Wtyczka dekodująca GME do GStreamera
Summary: GStreamer GSettings plugin
Summary(pl.UTF-8): Wtyczka GSettings do GStreamera
Group: Libraries
-Requires: glib2 >= 1:2.32
+Requires: glib2 >= 1:2.32.0
Requires: gstreamer >= %{gst_req_ver}
%description -n gstreamer-gsettings
Summary: GStreamer OpenAL audio input/output plugin
Summary(pl.UTF-8): Wtyczka wejścia/wyjścia dźwięku OpenAL do GStreamera
Group: Libraries
+Requires: OpenAL >= 1.14
Requires: gstreamer >= %{gst_req_ver}
Requires: gstreamer-plugins-base >= %{gstpb_req_ver}
Provides: gstreamer-audiosink = %{version}
cverode, cvequalizehist, cvdilate, textwrite, templatematch,
pyramidsegment.
+%package -n gstreamer-openjpeg
+Summary: GStreamer OpenJPEG plugin
+Summary(pl.UTF-8): Wtyczka OpenJPEG do GStreamera
+Group: Libraries
+Requires: gstreamer >= %{gst_req_ver}
+Requires: gstreamer-plugins-base >= %{gstpb_req_ver}
+
+%description -n gstreamer-openjpeg
+GStreamer OpenJPEG plugin - OpenJPEG-based JPEG2000 decoder/encoder.
+
+%description -n gstreamer-openjpeg -l pl.UTF-8
+Wtyczka OpenJPEG do GStreamera - koder/dekoder JPEG2000 oparty na
+bibliotece OpenJPEG.
+
%package -n gstreamer-opus
Summary: GStreamer OPUS audio decoder/encoder plugin
Summary(pl.UTF-8): Wtyczka kodera/dekodera dźwięku OPUS do GStreamera
%description -n gstreamer-videosink-directfb -l pl.UTF-8
Wtyczka wyjścia obrazu DirectFB do GStreamera.
+%package -n gstreamer-videosink-egl-gles
+Summary: GStreamer EGL GLES output plugin
+Summary(pl.UTF-8): Wtyczka wyjścia obrazu EGL GLES do GStreamera
+Group: Libraries
+Requires: gstreamer-plugins-base >= %{gstpb_req_ver}
+Provides: gstreamer-videosink = %{version}
+
+%description -n gstreamer-videosink-egl-gles
+GStreamer EGL GLES output plugin.
+
+%description -n gstreamer-videosink-egl-gles -l pl.UTF-8
+Wtyczka wyjścia obrazu EGL GLES do GStreamera.
+
%package -n gstreamer-videosink-sdl
Summary: GStreamer plugin for outputing to SDL
Summary(pl.UTF-8): Wtyczka wyjścia SDL do GStreamera
%{!?with_cdaudio:--disable-cdaudio} \
%{!?with_dirac:--disable-dirac} \
%{!?with_dts:--disable-dts} \
+ %{!?with_gles:--disable-eglgles} \
%{!?with_faad:--disable-faad} \
%{!?with_gsm:--disable-gsm} \
%{!?with_ladspa:--disable-ladspa} \
%attr(755,root,root) %{gstlibdir}/libgstcamerabin2.so
%attr(755,root,root) %{gstlibdir}/libgstcoloreffects.so
%attr(755,root,root) %{gstlibdir}/libgstdataurisrc.so
+%attr(755,root,root) %{gstlibdir}/libgstdecklink.so
%attr(755,root,root) %{gstlibdir}/libgstdtmf.so
%attr(755,root,root) %{gstlibdir}/libgstdebugutilsbad.so
%attr(755,root,root) %{gstlibdir}/libgstdvb.so
%attr(755,root,root) %{gstlibdir}/libgstinter.so
%attr(755,root,root) %{gstlibdir}/libgstjpegformat.so
%attr(755,root,root) %{gstlibdir}/libgstliveadder.so
+%attr(755,root,root) %{gstlibdir}/libgstmidi.so
%attr(755,root,root) %{gstlibdir}/libgstmodplug.so
%attr(755,root,root) %{gstlibdir}/libgstmpegpsdemux.so
%attr(755,root,root) %{gstlibdir}/libgstmpegpsmux.so
#%attr(755,root,root) %{gstlibdir}/libgstcdxaparse.so
#%attr(755,root,root) %{gstlibdir}/libgstcog.so
#%attr(755,root,root) %{gstlibdir}/libgstdccp.so
-#%attr(755,root,root) %{gstlibdir}/libgstdecklink.so
#%attr(755,root,root) %{gstlibdir}/libgstfaceoverlay.so
#%attr(755,root,root) %{gstlibdir}/libgstfbdevsink.so
#%attr(755,root,root) %{gstlibdir}/libgstfreeverb.so
%ifarch %{ix86} %{x8664}
#%attr(755,root,root) %{gstlibdir}/libgstreal.so
%endif
-#%attr(755,root,root) %{gstlibdir}/libgstrfbsrc.so
+%attr(755,root,root) %{gstlibdir}/libgstrfbsrc.so
%if %{with rsvg}
%attr(755,root,root) %{gstlibdir}/libgstrsvg.so
%endif
%defattr(644,root,root,755)
%attr(755,root,root) %{gstlibdir}/libgstflite.so
+%files -n gstreamer-fluidsynth
+%defattr(644,root,root,755)
+%attr(755,root,root) %{gstlibdir}/libgstfluidsynthmidi.so
+
%files -n gstreamer-gme
%defattr(644,root,root,755)
%attr(755,root,root) %{gstlibdir}/libgstgme.so
%attr(755,root,root) %{gstlibdir}/libgstopencv.so
%endif
+%files -n gstreamer-openjpeg
+%defattr(644,root,root,755)
+%attr(755,root,root) %{gstlibdir}/libgstopenjpeg.so
+
%files -n gstreamer-opus
%defattr(644,root,root,755)
%attr(755,root,root) %{gstlibdir}/libgstopus.so
%attr(755,root,root) %{gstlibdir}/libgstdfbvideosink.so
%endif
+%if %{with gles}
+%files -n gstreamer-videosink-egl-gles
+%defattr(644,root,root,755)
+%attr(755,root,root) %{gstlibdir}/libgsteglglessink.so
+%endif
+
%if %{with sdl}
%files -n gstreamer-videosink-sdl
%defattr(644,root,root,755)