packaging: support non X11 configuration (wayland) accepted/tizen/generic accepted/tizen/ivi/stable accepted/tizen_generic tizen_3.0.m14.2_ivi accepted/tizen/generic/20140213.064600 accepted/tizen/generic/20140217.081842 accepted/tizen/generic/20140219.072247 accepted/tizen/generic/20140312.105114 accepted/tizen/ivi/20140219.211807 accepted/tizen/ivi/panda/20140312.110010 accepted/tizen/ivi/release/20140312.114729 accepted/tizen/mobile/20140227.071338 submit/tizen/20140213.060619 submit/tizen/20140217.031123 submit/tizen/20140219.065412 submit/tizen/20140312.070758 submit/tizen_ivi_release/20140312.071231 tizen_3.0.m14.2_ivi_release
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Thu, 6 Feb 2014 11:55:56 +0000 (12:55 +0100)
committerYan Yin <yan.yin@intel.com>
Thu, 13 Feb 2014 06:05:52 +0000 (14:05 +0800)
Change-Id: I20d0c8cfff1e70f053c262928bc3ce537a09dedb
Bug-Tizen: PTREL-653
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/gst-plugins-bad.spec

index ee76f97bcc10742023f05e342d9c943b8fb25aa5..a6ac27c7d6eecbcf3d546ec3132799e2334afd26 100644 (file)
@@ -1,4 +1,6 @@
 %bcond_with wayland
+%bcond_with x
+
 Name:           gst-plugins-bad
 Version:        1.2.0
 Release:        0
@@ -31,7 +33,9 @@ BuildRequires:  pkgconfig(sndfile) >= 1.0.16
 %if %{with wayland}
 BuildRequires:  pkgconfig(wayland-client) >= 1.0.0
 %endif
+%if %{with x}
 BuildRequires:  pkgconfig(x11)
+%endif
 Requires(post): glib2-tools
 Requires(postun): glib2-tools
 Requires:       gstreamer >= 1.0.2