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
BuildRequires: pkgconfig(glesv2)
%if %{with wayland}
BuildRequires: pkgconfig(wayland-egl)
+%endif
+%endif
+%if %{with wayland}
%else
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb-shm)
%endif
%endif
-%endif
+
%description
Cairo is a vector graphics library with cross-device output support.