summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Zhao <juan.j.zhao@intel.com>2013-11-29 13:35:28 +0800
committerJuan Zhao <juan.j.zhao@intel.com>2013-12-02 18:55:27 +0800
commit7070a91ef1189ae23dcca6dfbd3762e628f82550 (patch)
treebd5895246e0e84f26114f96a1dac931e3c178207
parent531423dba1202713e11442c6faee5aadc9f9ed99 (diff)
downloadcairo-7070a91ef1189ae23dcca6dfbd3762e628f82550.tar.gz
cairo-7070a91ef1189ae23dcca6dfbd3762e628f82550.tar.bz2
cairo-7070a91ef1189ae23dcca6dfbd3762e628f82550.zip
remove gl dependency, and refine spec's segment Change-Id: I3ee3bf98d8fc133ea401bd00eedc457717ecc552
-rw-r--r--packaging/cairo.spec5
1 files 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)