cairo: add freetype and gobject support

Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Hadrien Boutteville 2014-07-08 15:57:06 +02:00 committed by Thomas Petazzoni
parent 08d3ec14d4
commit 1612fd39e1
1 changed files with 14 additions and 0 deletions

View File

@ -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