# TODO:
# - OpenSLES (when available on pure Linux, not Android)
-# - daala (BR: daalaenc.pc daaladec.pc)
#
# Conditional build:
%bcond_without amr # amrwbenc output plugin
%bcond_with bluez # Bluez plugin (not ready for bluez 5)
%bcond_with cdaudio # cdaudio input plugin [not ported to 1.0]
%bcond_without chromaprint # chromaprint fingerprint plugin
+%bcond_with daala # Daala video encoder/decoder plugin [not ready as of 1.2.0]
%bcond_with dc1394 # dc1394 input plugin [not ported to 1.0]
%bcond_without directfb # DirectFB videosink plugin
%bcond_without dts # DTS audio decoder plugin
%bcond_without egl # EGL subsystem
-%bcond_without faad # faad plugin
+%bcond_without faad # faad audio decoder plugin
%bcond_without gles # EGL GLESv2 videosink plugin
-%bcond_without gsm # gsm plugin
+%bcond_without gsm # gsm audio decoder/encoder plugin
%bcond_without kate # Kate text streams plugin
-%bcond_with ladspa # LADSPA plugin [not ported to 1.0]
-%bcond_with lv2 # LV2 plugin [not ported to 1.0]
-%bcond_without mjpegtools # mpeg2enc plugin
-%bcond_without mms # mms plugin
+%bcond_with ladspa # LADSPA plugins bridge plugin [not ported to 1.0]
+%bcond_with lv2 # LV2 plugins bridge plugin [not ported to 1.0]
+%bcond_without mjpegtools # mpeg2enc video encoder plugin
+%bcond_without mms # mms streaming plugin
%bcond_without mpg123 # MPG123-based MP3 plugin
-%bcond_with musepack # musepack 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 musepack # musepack audio decoder plugin [not ported to 1.0]
+%bcond_with mythtv # mythtv data source plugin [not ported to 1.0]
%bcond_with nas # NAS audiosink plugin [not ported to 1.0]
-%bcond_without neon # neonhttpsrc plugin
-%bcond_without ofa # OFA plugin
+%bcond_without neon # neonhttpsrc HTTP client plugin
+%bcond_without ofa # OFA fingerprint plugin
%bcond_without openal # OpenAL audiosink plugin
-%bcond_without opencv # OpenCV plugin
+%bcond_without opencv # OpenCV effects plugin
%bcond_without rsvg # RSVG SVG decoder/overlay plugin
%bcond_without sbc # SBC bluetooth audio codec plugin
%bcond_with sdl # SDL audio/videosink plugin [not ported to 1.0]
-%bcond_with sndfile # sndfile plugin [not ported to 1.0]
-%bcond_with swfdec # swfdec plugin [not ready for swfdec >= 0.4]
-%bcond_without spc # spc plugin
+%bcond_with sndfile # sndfile audio files encoder/decoder plugin [not ported to 1.0]
+%bcond_without spc # spc audio decoder plugin
%bcond_without srtp # SRTP decoder/encoder plugin
-%bcond_with timidity # timidity plugin [not ported to 1.0]
+%bcond_with timidity # timidity MIDI files decoder plugin [not ported to 1.0]
%bcond_without uvch264 # uvch264 cameras plugin
-%bcond_without wavpack # wavpack plugin
%bcond_without wayland # Wayland videosink plugin
-%bcond_without wildmidi # wildmidi plugin [not ported to 1.0]
+%bcond_without wildmidi # wildmidi MIDI files decoder plugin
%bcond_with xvid # XviD plugin [not ported to 1.0]
%bcond_without vdpau # VDPAU decoder/videopostprocess/videosink plugin
%bcond_with zvbi # zvbi-based teletextdec 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.2.0
-Release: 1
+Version: 1.2.1
+Release: 2
License: LGPL v2+
Group: Libraries
Source0: http://gstreamer.freedesktop.org/src/gst-plugins-bad/%{gstname}-%{version}.tar.xz
-# Source0-md5: 4fd078e1b9d903d22b67872b616f1715
+# Source0-md5: 8ee6863cbb917bb4bd235698b87192a4
Patch0: %{name}-libdts.patch
Patch1: %{name}-timidity.patch
Patch2: %{name}-nas.patch
BuildRequires: bzip2-devel
%{?with_rsvg:BuildRequires: cairo-devel}
BuildRequires: curl-devel >= 7.21.0
+%{?with_daala:BuildRequires: daala-devel}
%{?with_dbus:BuildRequires: dbus-devel}
BuildRequires: exempi-devel >= 1.99.5
BuildRequires: faac-devel
%{?with_mpg123:BuildRequires: libmpg123-devel >= 1.14}
BuildRequires: libmodplug-devel
%{?with_musepack:BuildRequires: libmpcdec-devel >= 1.2}
-%{?with_musicbrainz:BuildRequires: libmusicbrainz-devel >= 2.1.0}
%{?with_ofa:BuildRequires: libofa-devel >= 0.9.3}
%{?with_spc:BuildRequires: libopenspc-devel >= 0.3.99}
BuildRequires: libpng-devel >= 2:1.2.0
BuildRequires: soundtouch-devel >= 1.4
BuildRequires: spandsp-devel >= 1:0.0.6
%{?with_srtp:BuildRequires: srtp-devel}
-%if %{with swfdec}
-BuildRequires: swfdec-devel < 0.4.0
-BuildRequires: swfdec-devel >= 0.3.6
-%endif
%{?with_vdpau:BuildRequires: libvdpau-devel}
BuildRequires: twolame-devel
%{?with_uvch264:BuildRequires: udev-glib-devel}
Wtyczka wyjścia sieciowego GStreamera wykorzystująca libcurl jako
klienta do wysyłania danych na serwer (np. HTTP lub FTP).
+%package -n gstreamer-daala
+Summary: GStreamer Daala video encoder/decoder plugin
+Summary(pl.UTF-8): Wtyczka kodera/dekodera obrazu Daala GStreamera
+Group: Libraries
+Requires: gstreamer-plugins-base >= %{gstpb_req_ver}
+
+%description -n gstreamer-daala
+GStreamer Daala video encoder/decoder plugin.
+
+%description -n gstreamer-daala -l pl.UTF-8
+Wtyczka kodera/dekodera obrazu Daala GStreamera.
+
%package -n gstreamer-dc1394
Summary: GStreamer 1394 IIDC (Firewire digital cameras) video source plugin
Summary(pl.UTF-8): Wtyczka źródła obrazu 1394 IIDC (z kamer cyfrowych Firewire) do GStreamera
%description -n gstreamer-mythtv -l pl.UTF-8
Wtyczka MythTV do GStreamera.
-%package -n gstreamer-musicbrainz
-Summary: GStreamer musicbrainz plugin
-Summary(pl.UTF-8): Wtyczka musicbrainz do GStreamera
-Group: Libraries
-Requires: gstreamer-plugins-base >= %{gstpb_req_ver}
-
-%description -n gstreamer-musicbrainz
-GStreamer musicbrainz plugin - a TRM signature producer.
-
-%description -n gstreamer-musicbrainz -l pl.UTF-8
-Wtyczka musicbrainz do GStreamera, tworząca sygnatury TRM.
-
%package -n gstreamer-neon
Summary: GStreamer neon HTTP source plugin
Summary(pl.UTF-8): Wtyczka źródła HTTP neon do GStreamera
%description -n gstreamer-srtp -l pl.UTF-8
Wtyczka GStremaera do kodowania/dekodowania SRTP.
-%package -n gstreamer-swfdec
-Summary: GStreamer Flash redering plugin
-Summary(pl.UTF-8): Wtyczka renderująca animacje flash dla GStreamera
-Group: Libraries
-Requires: gstreamer-plugins-base >= %{gstpb_req_ver}
-Requires: swfdec >= 0.3.6
-
-%description -n gstreamer-swfdec
-Plugin for rendering Flash animations using swfdec library.
-
-%description -n gstreamer-swfdec -l pl.UTF-8
-Wtyczka renderująca animacje flash w oparciu o bibliotekę swfdec.
-
%package -n gstreamer-teletextdec
Summary: teletextdec plugin for GStreamer
Summary(pl.UTF-8): Wtyczka teletextdec do GStreamera
%{__automake}
%configure \
%{!?with_cdaudio:--disable-cdaudio} \
+ %{!?with_daala:--disable-daala} \
%{!?with_dts:--disable-dts} \
%{!?with_gles:--disable-eglgles} \
%{!?with_faad:--disable-faad} \
%{!?with_sdl:--disable-sdl} \
%{!?with_sdl:--disable-sdltest} \
%{!?with_spc:--disable-spc} \
- %{!?with_swfdec:--disable-swfdec} \
%{!?with_uvch264:--disable-uvch264} \
%{!?with_amr:--disable-voamrwbenc} \
%{!?with_xvid:--disable-xvid} \
%{_pkgconfigdir}/gstreamer-egl-%{gst_major_ver}.pc
%endif
%{_pkgconfigdir}/gstreamer-insertbin-%{gst_major_ver}.pc
+%{_pkgconfigdir}/gstreamer-mpegts-%{gst_major_ver}.pc
%{_pkgconfigdir}/gstreamer-plugins-bad-%{gst_major_ver}.pc
%{_gtkdocdir}/gst-plugins-bad-libs-%{gst_major_ver}
%defattr(644,root,root,755)
%attr(755,root,root) %{gstlibdir}/libgstcurl.so
+%if %{with daala}
+%files -n gstreamer-daala
+%defattr(644,root,root,755)
+%attr(755,root,root) %{gstlibdir}/libgstdaala.so
+%endif
+
%if %{with dc1394}
%files -n gstreamer-dc1394
%defattr(644,root,root,755)
%attr(755,root,root) %{gstlibdir}/libgstmusepack.so
%endif
-%if %{with musicbrainz}
-%files -n gstreamer-musicbrainz
-%defattr(644,root,root,755)
-%attr(755,root,root) %{gstlibdir}/libgsttrm.so
-%endif
-
%if %{with mythtv}
%files -n gstreamer-mythtv
%defattr(644,root,root,755)
%attr(755,root,root) %{gstlibdir}/libgstsrtp.so
%endif
-%if %{with swfdec}
-%files -n gstreamer-swfdec
-%defattr(644,root,root,755)
-%attr(755,root,root) %{gstlibdir}/libgstswfdec.so
-%endif
-
%if %{with zvbi}
%files -n gstreamer-teletextdec
%defattr(644,root,root,755)