From 979fd57d4ceb6136644f336f9f30e3495d1c2623 Mon Sep 17 00:00:00 2001 From: Juan Zhao Date: Wed, 27 Nov 2013 08:12:13 +0800 Subject: [PATCH] move X related package out of cairo gl segment 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 --- packaging/cairo.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packaging/cairo.spec b/packaging/cairo.spec index b08782b..6f28908 100644 --- a/packaging/cairo.spec +++ b/packaging/cairo.spec @@ -27,6 +27,9 @@ BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glesv2) %if %{with wayland} BuildRequires: pkgconfig(wayland-egl) +%endif +%endif +%if %{with wayland} %else BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(x11) @@ -36,7 +39,7 @@ BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-shm) %endif %endif -%endif + %description Cairo is a vector graphics library with cross-device output support. -- 2.7.4