config BR2_PACKAGE_LIBVNCSERVER
	bool "libvncserver"
	depends on BR2_USE_MMU # VNCommand.c uses fork()
	depends on !BR2_STATIC_LIBS
	select BR2_PACKAGE_LZO
	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
	help
	  libvncserver is a VNC server/client library.

	  https://libvnc.github.io/

if BR2_PACKAGE_LIBVNCSERVER

config BR2_PACKAGE_LIBVNCSERVER_TIGHTPNG
	bool "TightPNG encoding support"
	select BR2_PACKAGE_JPEG
	select BR2_PACKAGE_LIBPNG
	help
	  TightPNG encoding speeds up HTML5 based VNC clients like
	  noVNC.

	  http://wiki.qemu.org/VNC_Tight_PNG

config BR2_PACKAGE_LIBVNCSERVER_WEBSOCKETS
	bool "WebSockets support"
	help
	  Enable WebSocket support (e.g. for noVNC)

config BR2_PACKAGE_LIBVNCSERVER_INSTALL_STOREPASSSWD
	bool "storepasswd tool"
	help
	  Install storepasswd tool used to create VNC passwords

endif

comment "libvncserver needs a toolchain w/ dynamic library"
	depends on BR2_USE_MMU
	depends on BR2_STATIC_LIBS
