xref: /OK3568_Linux_fs/buildroot/package/netsurf/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# netsurf mixes up host and target CFLAGS, so it isn't compatible with
2# architectures where we pass ABI specific compiler flags (TARGET_ABI)
3config BR2_PACKAGE_NETSURF_ARCH_SUPPORTS
4	bool
5	default y if !((BR2_arc && BR2_ARC_ATOMIC_EXT) || \
6		BR2_powerpc_8540 || BR2_powerpc_8548 || BR2_powerpc_e500mc || \
7		BR2_xtensa)
8
9comment "netsurf needs a toolchain w/ dynamic library"
10	depends on BR2_STATIC_LIBS
11	depends on BR2_PACKAGE_NETSURF_ARCH_SUPPORTS
12
13config BR2_PACKAGE_NETSURF
14	bool "netsurf"
15	# static linking support is broken beyond repair
16	depends on !BR2_STATIC_LIBS
17	depends on BR2_PACKAGE_NETSURF_ARCH_SUPPORTS
18	select BR2_PACKAGE_EXPAT
19	select BR2_PACKAGE_JPEG
20	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
21	select BR2_PACKAGE_LIBPNG
22	select BR2_PACKAGE_OPENSSL if BR2_PACKAGE_LIBCURL
23	help
24	  NetSurf is a compact graphical web browser which aims for
25	  HTML5, CSS and JavaScript support.
26	  Frontends: GTK (X11), SDL 1.2 (framebuffer)
27
28	  http://www.netsurf-browser.org/
29
30if BR2_PACKAGE_NETSURF
31
32choice
33	prompt "Netsurf frontend"
34	default BR2_PACKAGE_NETSURF_SDL
35
36config BR2_PACKAGE_NETSURF_SDL
37	bool "sdl frontend"
38	select BR2_PACKAGE_SDL
39	help
40	  Select SDL 1.2 frontend.
41
42config BR2_PACKAGE_NETSURF_GTK
43	bool "gtk2 frontend"
44	depends on BR2_PACKAGE_LIBGTK2
45	help
46	  Select GTK+ 2 frontend.
47
48config BR2_PACKAGE_NETSURF_GTK3
49	bool "gtk3 frontend"
50	depends on BR2_PACKAGE_LIBGTK3
51	help
52	  Select GTK+ 3 frontend.
53
54endchoice
55
56endif
57