From: Hadrien Boutteville Date: Tue, 8 Jul 2014 13:57:06 +0000 (+0200) Subject: cairo: add freetype and gobject support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1612fd39e11556f2f672f2f0e8444b025c56e2d4;p=buildroot.git cairo: add freetype and gobject support Signed-off-by: Hadrien Boutteville Cc: Thomas Petazzoni Cc: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk index 789dfa7ba2..a4c71b6816 100644 --- a/package/cairo/cairo.mk +++ b/package/cairo/cairo.mk @@ -55,6 +55,20 @@ else CAIRO_CONF_OPT += --disable-directfb endif +ifeq ($(BR2_PACKAGE_FREETYPE),y) + CAIRO_CONF_OPT += --enable-ft + CAIRO_DEPENDENCIES += freetype +else + CAIRO_CONF_OPT += --disable-ft +endif + +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) + CAIRO_CONF_OPT += --enable-gobject + CAIRO_DEPENDENCIES += libglib2 +else + CAIRO_CONF_OPT += --disable-gobject +endif + ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) CAIRO_CONF_OPT += --enable-glesv2 CAIRO_DEPENDENCIES += libgles