26e37dd3c4
Webkit currently depends on libgtk2, which itself depends on Cairo. However, the dependency of libgtk2 is only on BR2_PACKAGE_CAIRO, BR2_PACKAGE_CAIRO_PS and BR2_PACKAGE_CAIRO_PDF. While this might be enough for libgtk2 to build and work, Webkit makes direct use of the PNG functionnalities of Cairo. If this functionnality is not available in Cairo, the Webkit build complains that cairo_surface_write_to_png_stream() is not defined. Therefore, we make sure that WebKit selects BR2_PACKAGE_CAIRO_PNG. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
40 lines
857 B
Plaintext
40 lines
857 B
Plaintext
config BR2_PACKAGE_WEBKIT
|
|
bool "webkit"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_USE_WCHAR
|
|
select BR2_PACKAGE_LIBGTK2
|
|
select BR2_PACKAGE_ICU
|
|
select BR2_PACKAGE_CURL
|
|
select BR2_PACKAGE_LIBXML2
|
|
select BR2_PACKAGE_LIBXSLT
|
|
select BR2_PACKAGE_SQLITE
|
|
select BR2_PACKAGE_ENCHANT
|
|
select BR2_PACKAGE_LIBSOUP
|
|
select BR2_PACKAGE_CAIRO_PNG
|
|
help
|
|
WebKit is an open source, standards compliant web browser engine.
|
|
|
|
http://webkit.org/
|
|
|
|
comment "webkit requires a toolchain with C++ support and WCHAR enabled"
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
|
|
|
|
if BR2_PACKAGE_WEBKIT
|
|
|
|
choice
|
|
prompt "Rendering target"
|
|
default BR2_PACKAGE_WEBKIT_X
|
|
help
|
|
Selects which rendering target will be used.
|
|
|
|
config BR2_PACKAGE_WEBKIT_X11
|
|
bool "X11"
|
|
|
|
config BR2_PACKAGE_WEBKIT_DIRECTFB
|
|
bool "DirectFB"
|
|
select BR2_PACKAGE_DIRECTFB
|
|
|
|
endchoice
|
|
|
|
endif
|