From 7070a91ef1189ae23dcca6dfbd3762e628f82550 Mon Sep 17 00:00:00 2001 From: Juan Zhao Date: Fri, 29 Nov 2013 13:35:28 +0800 Subject: cairo did notuse gl at all with gles remove gl dependency, and refine spec's segment Change-Id: I3ee3bf98d8fc133ea401bd00eedc457717ecc552 --- packaging/cairo.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/cairo.spec b/packaging/cairo.spec index adbfce2..7a976c2 100644 --- a/packaging/cairo.spec +++ b/packaging/cairo.spec @@ -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) -- cgit v1.2.3