packaging: support non X11 configuration (wayland)
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Thu, 6 Feb 2014 11:55:56 +0000 (12:55 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Tue, 18 Nov 2014 14:00:32 +0000 (15:00 +0100)
Change-Id: I20d0c8cfff1e70f053c262928bc3ce537a09dedb
Bug-Tizen: PTREL-653
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/gst-plugins-bad.spec

index 1d4a0bc..424818f 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