mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
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:
committed by
Thomas Petazzoni
parent
08d3ec14d4
commit
1612fd39e1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user