only IVI platform's gl is provided by mesa-devel, and there is many other
package may provide gl. And this should be depnd on which platform it is using.
So change it to find out the "gl.pc" provider will be the right fix.
Change-Id: Ifcf538f6c7b040db69003fcbf269e1987be7301a
BuildRequires: pkgconfig(xcb-shm)
%endif
%if %{with cairo_gl_backend}
-BuildRequires: mesa-devel
+BuildRequires: pkgconfig(gl)
%if %{with wayland}
BuildRequires: pkgconfig(wayland-egl)
%endif