add conditional build with wayland devel/gst submit/devel/gst/20131028.055813 submit/gst/20131025.042938
authorStephane Desneux <stephane.desneux@eurogiciel.fr>
Mon, 7 Oct 2013 14:55:29 +0000 (16:55 +0200)
committerYan Yin <yan.yin@intel.com>
Wed, 16 Oct 2013 08:38:13 +0000 (16:38 +0800)
Change-Id: I04e3fe0baa23f9fdef81248a66a0e550130b2bcc

packaging/gst-plugins-bad.spec

index d44e83515b92a2955ecda9916b97c36153348c03..ee76f97bcc10742023f05e342d9c943b8fb25aa5 100644 (file)
@@ -1,3 +1,4 @@
+%bcond_with wayland
 Name:           gst-plugins-bad
 Version:        1.2.0
 Release:        0
@@ -27,6 +28,9 @@ BuildRequires:  pkgconfig(libexif) >= 0.6.16
 BuildRequires:  pkgconfig(libpng) >= 1.2
 BuildRequires:  pkgconfig(openssl) >= 0.9.5
 BuildRequires:  pkgconfig(sndfile) >= 1.0.16
+%if %{with wayland}
+BuildRequires:  pkgconfig(wayland-client) >= 1.0.0
+%endif
 BuildRequires:  pkgconfig(x11)
 Requires(post): glib2-tools
 Requires(postun): glib2-tools
@@ -252,7 +256,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/gstreamer-%{gst_branch}/libgstmpegpsmux.so
 %{_libdir}/gstreamer-%{gst_branch}/libgstdecklink.so
 %{_libdir}/gstreamer-%{gst_branch}/libgsteglglessink.so
-
 %{_libdir}/gstreamer-%{gst_branch}/libgstaccurip.so
 %{_libdir}/gstreamer-%{gst_branch}/libgstaiff.so
 %{_libdir}/gstreamer-%{gst_branch}/libgstaudiofxbad.so
@@ -266,6 +269,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/gstreamer-%{gst_branch}/libgstvideofiltersbad.so
 %{_libdir}/gstreamer-%{gst_branch}/libgstyadif.so
 
+%if %{with wayland}
+%{_libdir}/gstreamer-%{gst_branch}/libgstwaylandsink.so
+%endif
 
 %files -n libgstphotography
 %manifest %{name}.manifest