cairo did notuse gl at all with gles 22/13222/2 accepted/tizen/20131212.180257 submit/tizen/20131212.033837
authorJuan Zhao <juan.j.zhao@intel.com>
Fri, 29 Nov 2013 05:35:28 +0000 (13:35 +0800)
committerJuan Zhao <juan.j.zhao@intel.com>
Mon, 2 Dec 2013 10:55:27 +0000 (18:55 +0800)
remove gl dependency, and refine spec's segment

Change-Id: I3ee3bf98d8fc133ea401bd00eedc457717ecc552

packaging/cairo.spec

index adbfce2..7a976c2 100644 (file)
@@ -24,14 +24,15 @@ BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(pixman-1)
 BuildRequires:  which
 %if %{with cairo_gl_backend}
+%if !%{without x}
 BuildRequires:  pkgconfig(gl)
+%endif
 BuildRequires:  pkgconfig(glesv2)
 %if %{with wayland}
 BuildRequires: pkgconfig(wayland-egl)
 %endif
 %endif
-%if %{without x}
-%else
+%if !%{without x}
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xrender)