From: Boram Park Date: Fri, 9 May 2014 06:10:16 +0000 (+0900) Subject: Use gl only if both "with_x" and "with_desktop" are true. X-Git-Tag: accepted/tizen/common/20140519.223839~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6d5950916dc4cf94df63fa9328a0721403f751e;p=platform%2Fupstream%2Fcairo.git Use gl only if both "with_x" and "with_desktop" are true. GL isn't supported in mobile world. Change-Id: Iffef4a409c7d5dea566cb48832e9cfbeee3bb515 --- 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)