packaging: depends on ecore-wayland
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Thu, 6 Mar 2014 13:35:36 +0000 (14:35 +0100)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Thu, 12 Mar 2015 02:23:05 +0000 (11:23 +0900)
Change-Id: I984cf41b42652510171ac58a2e98187a2def3c97
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/elementary.spec

index 6d585b9..78089ce 100644 (file)
@@ -17,14 +17,22 @@ BuildRequires:  pkgconfig(ecore)
 BuildRequires:  pkgconfig(ecore-evas)
 BuildRequires:  pkgconfig(ecore-file)
 BuildRequires:  pkgconfig(ecore-imf)
+
 %if %{with wayland}
-%else
-BuildRequires:  pkgconfig(ecore-fb)
+BuildRequires:  pkgconfig(ecore-wayland)
+%endif
+
 %if %{with x}
 BuildRequires:  pkgconfig(ecore-x)
 BuildRequires:  pkgconfig(x11)
 %endif
+
+%if !%{with x}
+%if !%{with wayland}
+BuildRequires:  pkgconfig(ecore-fb)
 %endif
+%endif
+
 BuildRequires:  pkgconfig(edbus)
 BuildRequires:  pkgconfig(edje)
 BuildRequires:  pkgconfig(eet)