From: Anas Nashif Date: Tue, 18 Dec 2012 01:57:48 +0000 (-0800) Subject: add wayland support X-Git-Tag: submit/tizen/20130814.144029~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28b382f9ca2ac91b34fdc610e46ac58a167ebc5d;p=platform%2Fupstream%2Fecore.git add wayland support --- diff --git a/packaging/ecore.spec b/packaging/ecore.spec index 12af23b..ee0a049 100644 --- a/packaging/ecore.spec +++ b/packaging/ecore.spec @@ -1,3 +1,7 @@ +# + +%bcond_with wayland + Name: ecore Version: 1.7.3 Release: 1 @@ -10,10 +14,19 @@ Source0: ecore-%{version}.tar.bz2 BuildRequires: curl-devel BuildRequires: doxygen BuildRequires: gettext -## BuildRequires: pkgconfig(xscrnsaver) +BuildRequires: libgcrypt-devel +%if %{with wayland} +BuildRequires: libwayland-egl +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(xkbcommon) +%endif BuildRequires: pkgconfig(eet) +BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(eina) BuildRequires: pkgconfig(evas) +BuildRequires: pkgconfig(gl) +BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(pixman-1) @@ -23,13 +36,10 @@ BuildRequires: pkgconfig(xcursor) BuildRequires: pkgconfig(xdamage) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xi) -#BuildRequires: pkgconfig(xinerama) +BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xrandr) +BuildRequires: pkgconfig(xscrnsaver) BuildRequires: pkgconfig(xt) -BuildRequires: pkgconfig(egl) -BuildRequires: pkgconfig(gl) -BuildRequires: pkgconfig(glesv2) -BuildRequires: libgcrypt-devel %description Ecore is the event/X abstraction layer that makes doing selections, @@ -48,7 +58,12 @@ Development files for ecore %setup -q %build -%configure --disable-static +%configure \ +%if %{with wayland} + --enable-ecore-wayland \ + --enable-ecore-evas-wayland-egl \ +%endif + --disable-static make %{?_smp_mflags} %install @@ -56,6 +71,7 @@ make %{?_smp_mflags} %find_lang ecore %post -p /sbin/ldconfig + %postun -p /sbin/ldconfig