e014e3da09
As soon as PostScript, PNG or SVG support is enabled, PDF support is required for Cairo to build properly. Otherwise, you get build failures such as: .libs/cairo-type3-glyph-surface.o: In function `_cairo_type3_glyph_surface_set_stream': /home/thomas/local/buildroot-dl/cairo-1.8.10/src/cairo-type3-glyph-surface.c:337: undefined reference to `_cairo_pdf_operators_set_stream' /home/thomas/local/buildroot-dl/cairo-1.8.10/src/cairo-type3-glyph-surface.c:337: undefined reference to `_cairo_pdf_operators_set_stream' Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
36 lines
847 B
Plaintext
36 lines
847 B
Plaintext
config BR2_PACKAGE_CAIRO
|
|
bool "cairo"
|
|
select BR2_PACKAGE_PIXMAN
|
|
select BR2_PACKAGE_FONTCONFIG
|
|
help
|
|
Cairo is a 2D graphics library with support for multiple
|
|
output devices. Currently supported output targets include
|
|
the X Window System, Win32, image buffers, and PostScript,
|
|
PDF, and SVG file output. Experimental backends include
|
|
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
|
|
select BR2_PACKAGE_CAIRO_PDF
|
|
|
|
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
|
|
select BR2_PACKAGE_CAIRO_PDF
|
|
|
|
endif
|