From 1612fd39e11556f2f672f2f0e8444b025c56e2d4 Mon Sep 17 00:00:00 2001 From: Hadrien Boutteville Date: Tue, 8 Jul 2014 15:57:06 +0200 Subject: [PATCH] cairo: add freetype and gobject support Signed-off-by: Hadrien Boutteville Cc: Thomas Petazzoni Cc: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/cairo/cairo.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.30.2