disable x11 and app-svc dependency when building ivi devel/efl submit/devel/efl/20131029.104556
authorQuanxian Wang <quanxian.wang@intel.com>
Fri, 25 Oct 2013 09:29:02 +0000 (17:29 +0800)
committerQuanxian Wang <quanxian.wang@intel.com>
Tue, 29 Oct 2013 10:09:46 +0000 (18:09 +0800)
Change-Id: I57dacf8b7f22204b7115c83902615884f76c34a6
Signed-off-by: Quanxian Wang <quanxian.wang@intel.com>
packaging/elementary.spec

index 7b00621..5f659d0 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with wayland
+
 Name:       elementary
 Summary:    EFL toolkit
 Version:    1.8.alpha
@@ -11,8 +13,10 @@ Requires(postun): /sbin/ldconfig
 BuildRequires:  gettext
 BuildRequires:  efl
 BuildRequires:  efl-devel
-BuildRequires:  app-svc-devel
+%if ! %{with wayland}
 BuildRequires:  pkgconfig(x11)
+BuildRequires:  app-svc-devel
+%endif
 
 %description
 Elementary - a basic widget set that is easy to use based on EFL for mobile This package contains devel content.