%bcond_with x
+%define gst_branch 1.0
Name: gst-plugins-good
-Version: 1.2.4
+Version: 1.16.2
Release: 0
License: LGPL-2.1+
-%define gst_branch 1.0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Url: http://gstreamer.freedesktop.org/
-Group: Multimedia/Audio
-Source0: http://download.gnome.org/sources/gst-plugins-good/1.0/%{name}-%{version}.tar.xz
-Source100: common.tar.bz2
-Source1001: gst-plugins-good.manifest
+Group: Multimedia/Framework
+Source: http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-%{version}.tar.xz
+Source100: common.tar.gz
BuildRequires: gcc-c++
BuildRequires: gettext-tools
-BuildRequires: glib2-devel >= 2.31.14
-BuildRequires: gstreamer-devel >= 1.0.0
+BuildRequires: pkgconfig(glib-2.0) >= 2.32
+BuildRequires: pkgconfig(gstreamer-1.0)
+BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: libjpeg-devel
BuildRequires: orc >= 0.4.16
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(gdk-pixbuf-2.0) >= 2.8.0
-BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 1.0.2
-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
-chmod 0644 %{SOURCE0}
-%setup -q
+%setup -q -n gst-plugins-good-%{version}
%setup -q -T -D -a 100
-cp %{SOURCE1001} .
%build
# FIXME:
# warning: failed to load external entity "xml/plugin-video4linux2.xml"
export V=1
NOCONFIGURE=1 ./autogen.sh
+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\
- --enable-experimental
-make %{?_smp_mflags}
+ --disable-monoscope\
+ --disable-y4m\
+ --disable-taglib\
+ --disable-wavpack\
+ --enable-experimental\
+ --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
%make_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}/libgstgdkpixbuf.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstgoom.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstgoom2k1.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgsteffectv.so
+
+#%{_datadir}/gstreamer-%{gst_branch}/presets/GstVP8Enc.prs
+
+#%{_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}/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}/libgstspeex.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}
%{_libdir}/gstreamer-%{gst_branch}/libgstximagesrc.so
%endif
-%{_libdir}/gstreamer-%{gst_branch}/libgsty4menc.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstcairo.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstsouphttpsrc.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstflac.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstvpx.so
-%{_libdir}/gstreamer-%{gst_branch}/libgstdtmf.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgsty4menc.so
+#%{_libdir}/gstreamer-%{gst_branch}/libgstcairo.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
-%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