From: Philippe Coval Date: Thu, 6 Feb 2014 11:55:56 +0000 (+0100) Subject: packaging: support non X11 configuration (wayland) X-Git-Tag: accepted/tizen/unified/20220217.153506~2^2~10^2~9^2~12^2~2^2~253 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed5d1f26ca26c8cab327f70501268c9780612dab;p=platform%2Fupstream%2Fgstreamer.git packaging: support non X11 configuration (wayland) Change-Id: I20d0c8cfff1e70f053c262928bc3ce537a09dedb Bug-Tizen: PTREL-653 Signed-off-by: Philippe Coval --- diff --git a/packaging/gst-plugins-bad.spec b/packaging/gst-plugins-bad.spec index 1d4a0bc..424818f 100644 --- a/packaging/gst-plugins-bad.spec +++ b/packaging/gst-plugins-bad.spec @@ -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