X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fgst-plugins-good.spec;h=34ff579edeb7b92566193da793a33bb709279ff6;hb=11d29ee5b4a243d784e60878471d91ca085d286d;hp=f402eca7e0c4cc87a4005d37bdda407c49394a72;hpb=74c2f7a1939bf71ba2b3cdf650aa1a0bcc0b155b;p=platform%2Fupstream%2Fgst-plugins-good.git diff --git a/packaging/gst-plugins-good.spec b/packaging/gst-plugins-good.spec index f402eca..34ff579 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: 12 +Version: 1.16.2 +Release: 25 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,14 @@ 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) +BuildRequires: pkgconfig(libtbm) Requires: gst-plugins-base >= 1.0.0 Requires: gstreamer >= 1.0.5 @@ -55,8 +59,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,19 +72,36 @@ 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+=" -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_GST_MUX_ENHANCEMENT" +export CFLAGS+=" \ + -DTIZEN_FEATURE_V4L2SRC_AUTO_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_AVOID_BUILD_BREAK\ + -DTIZEN_FEATURE_RTSP_MODIFICATION\ + -DTIZEN_FEATURE_GST_MUX_ENHANCEMENT\ + -DTIZEN_FEATURE_SOUP_MODIFICATION\ + -DTIZEN_FEATURE_RGVOLUME_MODIFICATION\ + -DTIZEN_FEATURE_DISABLE_V4L2_DEPENDENCY\ + -DTIZEN_FEATURE_AVIDEMUX_MODIFICATION\ + -DTIZEN_FEATURE_USE_LIBV4L2\ + -DTIZEN_FEATURE_V4L2_ADDITIONAL_CID_SUPPORT\ + -DTIZEN_FEATURE_V4L2_TBM_SUPPORT\ + -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 + --enable-v4l2-probe\ --disable-gtk-doc\ --with-gtk=3.0\ --disable-monoscope\ @@ -88,11 +109,8 @@ export CFLAGS+=" -DTIZEN_FEATURE_V4L2SRC_MODIFICATION\ --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\ @@ -106,12 +124,9 @@ 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 @@ -151,7 +166,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 @@ -164,28 +178,26 @@ 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 #%{_libdir}/gstreamer-%{gst_branch}/libgstshapewipe.so -#%{_libdir}/gstreamer-%{gst_branch}/libgstsmpte.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 -%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 @@ -196,15 +208,19 @@ 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 +%{_libdir}/gstreamer-%{gst_branch}/libgstimagefreeze.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