%define gst_branch 1.0
Name: gst-plugins-good
-Version: 1.6.1
-Release: 3
+Version: 1.16.2
+Release: 0
License: LGPL-2.1+
Summary: GStreamer Streaming-Media Framework Plug-Ins
Url: http://gstreamer.freedesktop.org/
BuildRequires: python
BuildRequires: xsltproc
BuildRequires: pkgconfig(bzip2)
-BuildRequires: pkgconfig(cairo) >= 1.0.0
-BuildRequires: pkgconfig(cairo-gobject) >= 1.10.0
-BuildRequires: pkgconfig(flac)
-BuildRequires: pkgconfig(gudev-1.0) >= 143
BuildRequires: pkgconfig(libpng) >= 1.2
BuildRequires: pkgconfig(libpulse) >= 1.0
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.9
-BuildRequires: pkgconfig(speex) >= 1.1.6
-BuildRequires: pkgconfig(vpx) >= 1.1.0
# TODO find where process.h comes from, not kernel-devel and not wxWidgets so far.
%if %{with x}
BuildRequires: pkgconfig(ice)
%endif
BuildRequires: pkgconfig(zlib)
+%if "%{tizen_profile_name}" != "tv"
+BuildRequires: pkgconfig(libv4l2)
+%endif
BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(gio-2.0)
Requires: gst-plugins-base >= 1.0.0
Requires: gstreamer >= 1.0.5
Enhances: gst-plugins-good
%description extra
-This package provides complementary plugins for
-%{name}.
+This package provides complementary plugins for %{name} and
+plugins not included in official Tizen images, which may be used for development / experimental purposes.
%prep
%setup -q -n gst-plugins-good-%{version}
# warning: failed to load external entity "xml/plugin-video4linux2.xml"
export V=1
NOCONFIGURE=1 ./autogen.sh
-export CFLAGS+=" -DGST_EXT_V4L2SRC_MODIFIED\
- -DGST_EXT_WAVPARSE_MODIFICATION\
- -DGST_EXT_MP3PARSE_MODIFICATION\
- -DGST_EXT_AACPARSE_MODIFICATION"
+export CFLAGS+=" -DTIZEN_FEATURE_V4L2SRC_SCAN_DEVICE_NODE\
+ -DTIZEN_FEATURE_V4L2SRC_SUPPORT_CAMERA_ID\
+ -DTIZEN_FEATURE_V4L2VIDEO_ADJ_RANK\
+ -DTIZEN_FEATURE_WAVPARSE_MODIFICATION\
+ -DTIZEN_FEATURE_MP3PARSE_MODIFICATION\
+ -DTIZEN_FEATURE_AACPARSE_MODIFICATION\
+ -DTIZEN_FEATURE_QTDEMUX_MODIFICATION\
+ -DTIZEN_FEATURE_FLVDEMUX_MODIFICATION\
+ -DTIZEN_FEATURE_GST_UPSTREAM\
+ -DTIZEN_FEATURE_RTSP_MODIFICATION\
+ -DTIZEN_FEATURE_GST_MUX_ENHANCEMENT\
+ -DTIZEN_FEATURE_SOUP_MODIFICATION\
+ -DTIZEN_FEATURE_RGVOLUME_MODIFICATION\
+ -DTIZEN_FEATURE_BASEPARSE_MODIFICATION\
+ -DTIZEN_FEATURE_DISABLE_V4L2_DEPENDENCY\
+ -fstack-protector-strong\
+ -Wl,-z,relro\
+ -D_FORTIFY_SOURCE=2"
%configure\
%if ! 0%{?ENABLE_AALIB}
--disable-aalib\
%endif
+%if "%{tizen_profile_name}" != "tv"
+ --with-libv4l2 \
+%endif
--disable-gtk-doc\
--with-gtk=3.0\
--disable-monoscope\
--disable-y4m\
- --disable-cairo\
- --disable-flac\
- --disable-speex\
--disable-taglib\
- --disable-vpx\
--disable-wavpack\
--enable-experimental\
- --disable-effectv
+ --disable-equalizer\
+%if "%{tizen_profile_name}" == "tv"
+ --disable-flv\
+ --disable-videobox\
+ --disable-videomixer\
+%endif
+ --disable-effectv\
+ --disable-alpha\
+ --disable-auparse\
+ --disable-effectv\
+ --disable-flx\
+ --disable-goom\
+ --disable-goom2k1\
+ --disable-level\
+ --disable-multipart\
+ --disable-smpte\
+ --disable-spectrum\
+ --disable-cutter\
+ --disable-dtmf\
+ --disable-oss4\
+ --disable-oss\
+ --disable-shapewipe
+
make %{?_smp_mflags} CFLAGS+="-Wno-error" CXXFLAGS+="-Wno-error"
%install
%defattr(-, root, root)
%license COPYING
%{_libdir}/gstreamer-%{gst_branch}/libgstalaw.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstalpha.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstalphacolor.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstalpha.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstalphacolor.so
%{_libdir}/gstreamer-%{gst_branch}/libgstapetag.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudiofx.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudioparsers.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstauparse.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstauparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstautodetect.so
%{_libdir}/gstreamer-%{gst_branch}/libgstavi.so
# Not yet ported
-%{_libdir}/gstreamer-%{gst_branch}/libgstcutter.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstcutter.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdebug.so
# Not yet ported
%{_libdir}/gstreamer-%{gst_branch}/libgstdeinterlace.so
#%{_libdir}/gstreamer-%{gst_branch}/libgsteffectv.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstequalizer.so
-%{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer10Bands.prs
-%{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer3Bands.prs
+
#%{_datadir}/gstreamer-%{gst_branch}/presets/GstVP8Enc.prs
-%{_libdir}/gstreamer-%{gst_branch}/libgstflv.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstflxdec.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstgoom.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstgoom2k1.so
+
+#%{_libdir}/gstreamer-%{gst_branch}/libgstflxdec.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstgoom.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstgoom2k1.so
%{_libdir}/gstreamer-%{gst_branch}/libgsticydemux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstid3demux.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstimagefreeze.so
%{_libdir}/gstreamer-%{gst_branch}/libgstinterleave.so
%{_libdir}/gstreamer-%{gst_branch}/libgstisomp4.so
%{_libdir}/gstreamer-%{gst_branch}/libgstjpeg.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstlevel.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstlevel.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmatroska.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstmonoscope.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmulaw.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmultifile.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstmultipart.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstmultipart.so
%{_libdir}/gstreamer-%{gst_branch}/libgstnavigationtest.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstoss4audio.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstossaudio.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstpng.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstpulse.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstoss4audio.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstossaudio.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstpulseaudio.so
%{_libdir}/gstreamer-%{gst_branch}/libgstreplaygain.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrtp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrtpmanager.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrtsp.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstshapewipe.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstsmpte.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstspectrum.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstshapewipe.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstsmpte.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstspectrum.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstspeex.so
%{_libdir}/gstreamer-%{gst_branch}/libgstudp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideo4linux2.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstvideobox.so
+
%{_libdir}/gstreamer-%{gst_branch}/libgstvideocrop.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideofilter.so
+%if "%{tizen_profile_name}" != "tv"
+%{_libdir}/gstreamer-%{gst_branch}/libgstflv.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstequalizer.so
+#%{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer10Bands.prs
+#%{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer3Bands.prs
+%{_datadir}/gstreamer-%{gst_branch}/presets/GstQTMux.prs
+%{_libdir}/gstreamer-%{gst_branch}/libgstvideobox.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideomixer.so
+%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstwavenc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstwavparse.so
%if %{with x}
%endif
#%{_libdir}/gstreamer-%{gst_branch}/libgsty4menc.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstcairo.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstsouphttpsrc.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstsoup.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstflac.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstvpx.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstdtmf.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstdtmf.so
-%if 0%{?ENABLE_AALIB}
%files extra
%manifest %{name}.manifest
%defattr(-, root, root)
+%if 0%{?ENABLE_AALIB}
%{_libdir}/gstreamer-%{gst_branch}/libgstaasink.so
%endif
+%{_libdir}/gstreamer-%{gst_branch}/libgstpng.so
+%{_libdir}/gstreamer-%{gst_branch}/libgstimagefreeze.so