X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fgst-plugins-good.spec;h=c48cd442387dccdf2209f3504828353a326c38b8;hb=8a2ce42043017b518dfead851afcc4e99923e607;hp=5f0e5b049afb29bf4a95e28a4b6e30b22c0122e3;hpb=7741f7dfc5881ec261900df5337ee97754aa10fb;p=platform%2Fupstream%2Fgst-plugins-good.git diff --git a/packaging/gst-plugins-good.spec b/packaging/gst-plugins-good.spec index 5f0e5b0..c48cd44 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: 16 +Version: 1.16.2 +Release: 8 License: LGPL-2.1+ Summary: GStreamer Streaming-Media Framework Plug-Ins Url: http://gstreamer.freedesktop.org/ @@ -20,7 +20,7 @@ BuildRequires: orc >= 0.4.16 BuildRequires: python BuildRequires: xsltproc BuildRequires: pkgconfig(bzip2) -#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 @@ -34,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 @@ -54,17 +58,8 @@ Requires: %{name} = %{version} Enhances: gst-plugins-good %description extra -This package provides complementary plugins for -%{name}. - -%package extra-circle -Summary: Extended plugins for circle displays (optional) -Requires: %{name} = %{version} - -%description extra-circle -Extended plugins for circle displays (optional) -Subpackaged because circle displays do not use the one from -rectangular library. +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} @@ -76,21 +71,34 @@ rectangular library. # warning: failed to load external entity "xml/plugin-video4linux2.xml" export V=1 NOCONFIGURE=1 ./autogen.sh -export CFLAGS+=" -DTIZEN_FEATURE_V4L2SRC_MODIFICATION\ - -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" +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\ @@ -98,8 +106,8 @@ export CFLAGS+=" -DTIZEN_FEATURE_V4L2SRC_MODIFICATION\ --disable-taglib\ --disable-wavpack\ --enable-experimental\ -%if "%{TIZEN_PRODUCT_TV}" == "1" --disable-equalizer\ +%if "%{tizen_profile_name}" == "tv" --disable-flv\ --disable-videobox\ --disable-videomixer\ @@ -113,12 +121,10 @@ export CFLAGS+=" -DTIZEN_FEATURE_V4L2SRC_MODIFICATION\ --disable-goom2k1\ --disable-level\ --disable-multipart\ - --disable-replaygain\ --disable-smpte\ --disable-spectrum\ --disable-cutter\ --disable-dtmf\ - --disable-imagefreeze\ --disable-oss4\ --disable-oss\ --disable-shapewipe @@ -158,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 @@ -171,9 +176,8 @@ make %{?_smp_mflags} CFLAGS+="-Wno-error" CXXFLAGS+="-Wno-error" %{_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 @@ -182,16 +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 -# Not used in circular display: %{_libdir}/gstreamer-%{gst_branch}/libgstvideo4linux2.so %{_libdir}/gstreamer-%{gst_branch}/libgstvideocrop.so %{_libdir}/gstreamer-%{gst_branch}/libgstvideofilter.so -%if "%{TIZEN_PRODUCT_TV}" != "1" +%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 @@ -202,20 +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 - -%post extra-circle -rm %{_libdir}/gstreamer-%{gst_branch}/libgstvideo4linux2.so - -%files extra-circle +%{_libdir}/gstreamer-%{gst_branch}/libgstpng.so +%{_libdir}/gstreamer-%{gst_branch}/libgstimagefreeze.so