2019-05-31 23:40:52 +02:00
|
|
|
# netsurf mixes up host and target CFLAGS, so it isn't compatible with
|
|
|
|
# architectures where we pass ABI specific compiler flags (TARGET_ABI)
|
|
|
|
config BR2_PACKAGE_NETSURF_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
default y if !((BR2_arc && BR2_ARC_ATOMIC_EXT) || \
|
|
|
|
BR2_powerpc_8540 || BR2_powerpc_8548 || BR2_powerpc_e500mc || \
|
|
|
|
BR2_xtensa)
|
|
|
|
|
2019-05-09 22:28:08 +02:00
|
|
|
comment "netsurf needs a toolchain w/ dynamic library"
|
|
|
|
depends on BR2_STATIC_LIBS
|
2019-05-31 23:40:52 +02:00
|
|
|
depends on BR2_PACKAGE_NETSURF_ARCH_SUPPORTS
|
2019-05-09 22:28:08 +02:00
|
|
|
|
2018-12-05 14:40:40 +01:00
|
|
|
config BR2_PACKAGE_NETSURF
|
|
|
|
bool "netsurf"
|
2019-05-09 22:28:08 +02:00
|
|
|
# static linking support is broken beyond repair
|
|
|
|
depends on !BR2_STATIC_LIBS
|
2019-05-31 23:40:52 +02:00
|
|
|
depends on BR2_PACKAGE_NETSURF_ARCH_SUPPORTS
|
2018-12-05 14:40:40 +01:00
|
|
|
select BR2_PACKAGE_EXPAT
|
|
|
|
select BR2_PACKAGE_JPEG
|
|
|
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
|
|
|
select BR2_PACKAGE_LIBPNG
|
2018-12-12 08:14:55 +01:00
|
|
|
select BR2_PACKAGE_OPENSSL if BR2_PACKAGE_LIBCURL
|
2018-12-05 14:40:40 +01:00
|
|
|
help
|
|
|
|
NetSurf is a compact graphical web browser which aims for
|
|
|
|
HTML5, CSS and JavaScript support.
|
2018-12-12 08:14:54 +01:00
|
|
|
Frontends: GTK (X11), SDL 1.2 (framebuffer)
|
2018-12-05 14:40:40 +01:00
|
|
|
|
|
|
|
http://www.netsurf-browser.org/
|
|
|
|
|
|
|
|
if BR2_PACKAGE_NETSURF
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Netsurf frontend"
|
|
|
|
default BR2_PACKAGE_NETSURF_SDL
|
|
|
|
|
|
|
|
config BR2_PACKAGE_NETSURF_SDL
|
|
|
|
bool "sdl frontend"
|
|
|
|
select BR2_PACKAGE_SDL
|
|
|
|
help
|
|
|
|
Select SDL 1.2 frontend.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_NETSURF_GTK
|
2018-12-12 08:14:54 +01:00
|
|
|
bool "gtk2 frontend"
|
2018-12-05 14:40:40 +01:00
|
|
|
depends on BR2_PACKAGE_LIBGTK2
|
|
|
|
help
|
2018-12-12 08:14:54 +01:00
|
|
|
Select GTK+ 2 frontend.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_NETSURF_GTK3
|
|
|
|
bool "gtk3 frontend"
|
|
|
|
depends on BR2_PACKAGE_LIBGTK3
|
|
|
|
help
|
|
|
|
Select GTK+ 3 frontend.
|
2018-12-05 14:40:40 +01:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif
|