From: Paul Cercueil Date: Tue, 17 Dec 2013 01:17:33 +0000 (+0100) Subject: cairo: Build with GLESv2 and VG backends if possible X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5582d5c707b552ca9a6cf0fa26d4a81b6b9bcd4b;p=buildroot.git cairo: Build with GLESv2 and VG backends if possible Signed-Off-By: Paul Cercueil Signed-off-by: Peter Korsgaard --- diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk index 347bb75250..aa03a27858 100644 --- a/package/cairo/cairo.mk +++ b/package/cairo/cairo.mk @@ -54,6 +54,20 @@ else CAIRO_CONF_OPT += --disable-directfb endif +ifeq ($(BR2_PACKAGE_HAS_OPENGL_ES),y) + CAIRO_CONF_OPT += --enable-glesv2 + CAIRO_DEPENDENCIES += libgles +else + CAIRO_CONF_OPT += --disable-glesv2 +endif + +ifeq ($(BR2_PACKAGE_HAS_OPENVG),y) + CAIRO_CONF_OPT += --enable-vg + CAIRO_DEPENDENCIES += libopenvg +else + CAIRO_CONF_OPT += --disable-vg +endif + ifeq ($(BR2_PACKAGE_XORG7),y) CAIRO_CONF_OPT += --enable-xlib --enable-xcb --with-x CAIRO_DEPENDENCIES += xlib_libX11 xlib_libXext