aboutsummaryrefslogtreecommitdiff
path: root/package/cairo
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2015-04-19 06:48:19 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-19 14:40:22 +0200
commit7f463cbfcde69d0c43025fd6fbd7ab64455db5c7 (patch)
tree77e1f8fef07ad646737be3a2cfd0ab6ba86646a3 /package/cairo
parenta14f3d2e2ed76472a4f1ec32bf64220ee001bb5d (diff)
downloadbuildroot-7f463cbfcde69d0c43025fd6fbd7ab64455db5c7.tar.gz
buildroot-7f463cbfcde69d0c43025fd6fbd7ab64455db5c7.tar.bz2
cairo: add host variant
Required for host-pango, which in turn is required for host-librsvg and at last midori. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/cairo')
-rw-r--r--package/cairo/cairo.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk
index 2c553382aa..098f24953d 100644
--- a/package/cairo/cairo.mk
+++ b/package/cairo/cairo.mk
@@ -74,6 +74,33 @@ CAIRO_CONF_OPTS = \
CAIRO_DEPENDENCIES = host-pkgconf fontconfig pixman
+# Just the bare minimum to make other host-* packages happy
+HOST_CAIRO_CONF_OPTS = \
+ --enable-trace=no \
+ --enable-interpreter=no \
+ --disable-directfb \
+ --enable-ft \
+ --disable-gobject \
+ --disable-glesv2 \
+ --disable-vg \
+ --disable-xlib \
+ --disable-xcb \
+ --without-x \
+ --disable-xlib-xrender \
+ --disable-ps \
+ --disable-pdf \
+ --enable-png \
+ --disable-script \
+ --disable-svg \
+ --disable-tee \
+ --disable-xml
+HOST_CAIRO_DEPENDENCIES = \
+ host-freetype \
+ host-fontconfig \
+ host-libpng \
+ host-pixman \
+ host-pkgconf
+
# DirectFB svg support rely on Cairo and Cairo DirectFB support depends on
# DirectFB. Break circular dependency by disabling DirectFB support in Cairo
# (which is experimental)
@@ -172,3 +199,4 @@ CAIRO_CONF_OPTS += --disable-xml
endif
$(eval $(autotools-package))
+$(eval $(host-autotools-package))