Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] cairo: Build with GLESv2 and VG backends if possible
@ 2013-12-17  1:17 Paul Cercueil
  2013-12-19 21:06 ` Peter Korsgaard
  2013-12-20  7:48 ` Peter Korsgaard
  0 siblings, 2 replies; 7+ messages in thread
From: Paul Cercueil @ 2013-12-17  1:17 UTC (permalink / raw)
  To: buildroot

Signed-Off-By: Paul Cercueil <paul@crapouillou.net>
---
 package/cairo/cairo.mk | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk
index 347bb75..aa03a27 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
-- 
1.8.5.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-12-20 14:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17  1:17 [Buildroot] [PATCH] cairo: Build with GLESv2 and VG backends if possible Paul Cercueil
2013-12-19 21:06 ` Peter Korsgaard
2013-12-20  7:48 ` Peter Korsgaard
2013-12-20 11:54   ` Paul Cercueil
2013-12-20 13:39   ` Paul Cercueil
2013-12-20 14:52     ` Peter Korsgaard
2013-12-20 14:54       ` Paul Cercueil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox