Patchwork [2/2] cairo: Add tee surface backend option (required by firefox)

login
register
mail settings
Submitter Stefan Fröberg
Date Aug. 11, 2012, 9:57 p.m.
Message ID <1344722231-30341-1-git-send-email-stefan.froberg@petroprogram.com>
Download mbox | patch
Permalink /patch/176758/
State Accepted
Headers show

Comments

Stefan Fröberg - Aug. 11, 2012, 9:57 p.m.
Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com>
---
 package/cairo/Config.in |    3 +++
 package/cairo/cairo.mk  |    6 ++++++
 2 files changed, 9 insertions(+), 0 deletions(-)
Thomas Petazzoni - Aug. 12, 2012, 4:32 p.m.
Le Sun, 12 Aug 2012 00:57:11 +0300,
Stefan Froberg <stefan.froberg@petroprogram.com> a écrit :

> Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com>

Committed to next, thanks.

Thomas

Patch

diff --git a/package/cairo/Config.in b/package/cairo/Config.in
index 19c4723..398e47f 100644
--- a/package/cairo/Config.in
+++ b/package/cairo/Config.in
@@ -32,4 +32,7 @@  config BR2_PACKAGE_CAIRO_SVG
 	select BR2_PACKAGE_CAIRO_PNG
 	select BR2_PACKAGE_CAIRO_PDF
 
+config BR2_PACKAGE_CAIRO_TEE
+	bool "tee support"
 endif
+
diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk
index 6b456dd..eedb28d 100644
--- a/package/cairo/cairo.mk
+++ b/package/cairo/cairo.mk
@@ -77,4 +77,10 @@  else
 	CAIRO_CONF_OPT += --disable-svg
 endif
 
+ifeq ($(BR2_PACKAGE_CAIRO_TEE),y)
+	CAIRO_CONF_OPT += --enable-tee
+else
+	CAIRO_CONF_OPT += --disable-tee
+endif
+
 $(eval $(autotools-package))