config BR2_PACKAGE_LIBVNCSERVER
	bool "libvncserver"
	depends on BR2_USE_MMU # VNCommand.c uses fork()
	# binutils issue (bad expression)
	depends on !BR2_nios2
	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

endif

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