packaging: support wayland
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 22 Jan 2014 12:42:31 +0000 (13:42 +0100)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Thu, 12 Mar 2015 02:23:05 +0000 (11:23 +0900)
Change-Id: I6c97863afbf35d4c15e2e481bf9720a9c66f7a0a

packaging/elementary.spec

index e7da4b4..5d24963 100644 (file)
@@ -10,17 +10,22 @@ Summary:        EFL toolkit for small touchscreens
 Url:            http://trac.enlightenment.org/e/wiki/Elementary
 Group:          Graphics/EFL
 Source0:        elementary-%{version}.tar.bz2
-Source1001:    elementary.manifest
+Source1001:     elementary.manifest
 BuildRequires:  doxygen
 BuildRequires:  gettext-devel
 BuildRequires:  pkgconfig(ecore)
 BuildRequires:  pkgconfig(ecore-evas)
 BuildRequires:  pkgconfig(ecore-file)
 BuildRequires:  pkgconfig(ecore-imf)
+%if %{with wayland}
+%else
+BuildRequires:  pkgconfig(ecore-fb)
 %if %{with x}
 BuildRequires:  pkgconfig(ecore-x)
 BuildRequires:  pkgconfig(x11)
 %endif
+%endif
+BuildRequires:  pkgconfig(edbus)
 BuildRequires:  pkgconfig(edje)
 BuildRequires:  pkgconfig(eet)
 BuildRequires:  pkgconfig(efreet)
@@ -87,13 +92,13 @@ make %{?_smp_mflags}
 %install
 %make_install
 
-%find_lang %{name}
+find_lang %{name}
 
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
-%lang_package 
+lang_package 
 
 %files 
 %manifest %{name}.manifest