From b6d5950916dc4cf94df63fa9328a0721403f751e Mon Sep 17 00:00:00 2001 From: Boram Park Date: Fri, 9 May 2014 15:10:16 +0900 Subject: [PATCH] Use gl only if both "with_x" and "with_desktop" are true. GL isn't supported in mobile world. Change-Id: Iffef4a409c7d5dea566cb48832e9cfbeee3bb515 --- packaging/cairo.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packaging/cairo.spec b/packaging/cairo.spec index eb11e4e..720b9c5 100644 --- a/packaging/cairo.spec +++ b/packaging/cairo.spec @@ -2,6 +2,7 @@ %bcond_without cairo_gl_backend %bcond_with wayland %bcond_with x +%bcond_with desktop Name: cairo @@ -24,7 +25,7 @@ BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(pixman-1) BuildRequires: which %if %{with cairo_gl_backend} -%if %{with x} +%if %{with x} && %{with desktop} BuildRequires: pkgconfig(gl) %endif BuildRequires: pkgconfig(glesv2) -- 2.7.4