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.
+
%prep
%setup -q -n gst-plugins-good-%{version}
%setup -q -T -D -a 100
--disable-taglib\
--disable-wavpack\
--enable-experimental\
-%if "%_repository" == "target-circle"
- --disable-gst_v4l2\
-%endif
%if "%{TIZEN_PRODUCT_TV}" == "1"
--disable-equalizer\
--disable-flv\
#%{_libdir}/gstreamer-%{gst_branch}/libgstspectrum.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstspeex.so
%{_libdir}/gstreamer-%{gst_branch}/libgstudp.so
-%if "%_repository" != "target-circle"
+# Not used in circular display:
%{_libdir}/gstreamer-%{gst_branch}/libgstvideo4linux2.so
-%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstvideocrop.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideofilter.so
%defattr(-, root, root)
%{_libdir}/gstreamer-%{gst_branch}/libgstaasink.so
%endif
+
+%post extra-circle
+rm %{_libdir}/gstreamer-%{gst_branch}/libgstvideo4linux2.so
+
+%files extra-circle