summaryrefslogtreecommitdiff
path: root/package/cairo/Config.in
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-12 10:21:21 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-12 10:21:21 +0000
commitbcbd1442878dcb73b9c1efaf123651bfb9139dba (patch)
treee02b835b0b482fe53e7149976245943c12e51654 /package/cairo/Config.in
parentba567f8a582cdf3ec59a9187c42e1294f860f5f0 (diff)
cairo: more fine grained configutation and fix dependencies
Diffstat (limited to 'package/cairo/Config.in')
-rw-r--r--package/cairo/Config.in24
1 files changed, 21 insertions, 3 deletions
diff --git a/package/cairo/Config.in b/package/cairo/Config.in
index 2c924cf70..bd2845b3c 100644
--- a/package/cairo/Config.in
+++ b/package/cairo/Config.in
@@ -1,11 +1,8 @@
config BR2_PACKAGE_CAIRO
bool "cairo"
select BR2_PACKAGE_PKGCONFIG
- select BR2_PACKAGE_LIBPNG
- select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_PIXMAN
select BR2_PACKAGE_FONTCONFIG
- depends on BR2_PACKAGE_XORG||BR2_PACKAGE_XORG7||BR2_PACKAGE_TINYX||BR2_PACKAGE_DIRECTFB
help
Cairo is a 2D graphics library with support for multiple
output devices. Currently supported output targets include
@@ -14,3 +11,24 @@ config BR2_PACKAGE_CAIRO
OpenGL (through glitz), Quartz, and XCB.
http://cairographics.org/
+
+if BR2_PACKAGE_CAIRO
+
+config BR2_PACKAGE_CAIRO_PS
+ bool "postscript support"
+ select BR2_PACKAGE_ZLIB
+
+config BR2_PACKAGE_CAIRO_PDF
+ bool "pdf support"
+ select BR2_PACKAGE_ZLIB
+
+config BR2_PACKAGE_CAIRO_PNG
+ bool "png support"
+ select BR2_PACKAGE_LIBPNG
+ select BR2_PACKAGE_ZLIB
+
+config BR2_PACKAGE_CAIRO_SVG
+ bool "svg support"
+ select BR2_PACKAGE_CAIRO_PNG
+
+endif