X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fgst-plugins-good.spec;h=f2a7cf0f1db91458347f4f446a120bf84c990da3;hb=71eab0c2482825df1aba6cc304cb83aaa232779e;hp=930777d438864581202f3c8a56b31062f4340ad5;hpb=6accccc87b8fc1e3e5788956e3bf252a9391e659;p=platform%2Fupstream%2Fgst-plugins-good.git diff --git a/packaging/gst-plugins-good.spec b/packaging/gst-plugins-good.spec index 930777d..f2a7cf0 100644 --- a/packaging/gst-plugins-good.spec +++ b/packaging/gst-plugins-good.spec @@ -2,8 +2,8 @@ %define gst_branch 1.0 Name: gst-plugins-good -Version: 1.6.1 -Release: 7 +Version: 1.16.2 +Release: 6 License: LGPL-2.1+ Summary: GStreamer Streaming-Media Framework Plug-Ins Url: http://gstreamer.freedesktop.org/ @@ -20,8 +20,7 @@ BuildRequires: orc >= 0.4.16 BuildRequires: python BuildRequires: xsltproc BuildRequires: pkgconfig(bzip2) -BuildRequires: pkgconfig(gudev-1.0) >= 143 -#BuildRequires: pkgconfig(libpng) >= 1.2 +BuildRequires: pkgconfig(libpng) >= 1.2 BuildRequires: pkgconfig(libpulse) >= 1.0 BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(libxml-2.0) >= 2.4.9 @@ -35,9 +34,13 @@ BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(xv) %endif +BuildRequires: pkgconfig(vpx) 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 @@ -55,8 +58,8 @@ Requires: %{name} = %{version} 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} @@ -68,15 +71,34 @@ This package provides complementary plugins for # 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\ + -DTIZEN_FEATURE_USE_LIBV4L2\ + -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-v4l2-probe\ --disable-gtk-doc\ --with-gtk=3.0\ --disable-monoscope\ @@ -84,11 +106,8 @@ export CFLAGS+=" -DGST_EXT_V4L2SRC_MODIFIED\ --disable-taglib\ --disable-wavpack\ --enable-experimental\ -%if "%_repository" == "target-circle" - --disable-gst_v4l2\ -%endif -%if "%{?profile}" == "tv" --disable-equalizer\ +%if "%{tizen_profile_name}" == "tv" --disable-flv\ --disable-videobox\ --disable-videomixer\ @@ -102,13 +121,10 @@ export CFLAGS+=" -DGST_EXT_V4L2SRC_MODIFIED\ --disable-goom2k1\ --disable-level\ --disable-multipart\ - --disable-replaygain\ --disable-smpte\ --disable-spectrum\ --disable-cutter\ --disable-dtmf\ - --disable-imagefreeze\ - --disable-multifile\ --disable-oss4\ --disable-oss\ --disable-shapewipe @@ -148,7 +164,6 @@ make %{?_smp_mflags} CFLAGS+="-Wno-error" CXXFLAGS+="-Wno-error" #%{_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 @@ -156,14 +171,13 @@ make %{?_smp_mflags} CFLAGS+="-Wno-error" CXXFLAGS+="-Wno-error" %{_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}/libgstmultifile.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}/libgstreplaygain.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 @@ -172,17 +186,16 @@ make %{?_smp_mflags} CFLAGS+="-Wno-error" CXXFLAGS+="-Wno-error" #%{_libdir}/gstreamer-%{gst_branch}/libgstspectrum.so #%{_libdir}/gstreamer-%{gst_branch}/libgstspeex.so %{_libdir}/gstreamer-%{gst_branch}/libgstudp.so -%if "%_repository" != "target-circle" %{_libdir}/gstreamer-%{gst_branch}/libgstvideo4linux2.so -%endif %{_libdir}/gstreamer-%{gst_branch}/libgstvideocrop.so %{_libdir}/gstreamer-%{gst_branch}/libgstvideofilter.so -%if "%{?profile}" != "tv" +%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 +#%{_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 @@ -193,15 +206,18 @@ make %{?_smp_mflags} CFLAGS+="-Wno-error" CXXFLAGS+="-Wno-error" %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}/libgstvpx.so +%{_datadir}/gstreamer-%{gst_branch}/presets/GstVP8Enc.prs #%{_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