move X related package out of cairo gl segment 57/12957/1 accepted/tizen/20131204.185224 submit/tizen/20131127.015109
authorJuan Zhao <juan.j.zhao@intel.com>
Wed, 27 Nov 2013 00:12:13 +0000 (08:12 +0800)
committerJuan Zhao <juan.j.zhao@intel.com>
Wed, 27 Nov 2013 00:12:13 +0000 (08:12 +0800)
Because cairo gl isnot enabled in mobile segment, include X related packages in
 this file will trigger build failure.
So move X related packages check out of gl segment, to avoid build failure.

Change-Id: I200e0ee7e00c04f01800316327db90a0942325a8

packaging/cairo.spec

index b08782b..6f28908 100644 (file)
@@ -27,6 +27,9 @@ BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glesv2)
 %if %{with wayland}
 BuildRequires: pkgconfig(wayland-egl)
+%endif
+%endif
+%if %{with wayland}
 %else
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(x11)
@@ -36,7 +39,7 @@ BuildRequires:  pkgconfig(xcb)
 BuildRequires:  pkgconfig(xcb-shm)
 %endif
 %endif
-%endif
+
 
 %description
 Cairo is a vector graphics library with cross-device output support.