Commit d4a54ed5 authored by Floris Bos's avatar Floris Bos Committed by Thomas Petazzoni
Browse files

libvncserver: add config option for tightpng encoding support



TightPNG encoding speeds up HTML5 based VNC clients like noVNC.
libvncserver enables this encoding if both libpng and jpeg libraries
are available.

[Thomas: rewrap Config.in help text.]

Signed-off-by: default avatarFloris Bos <bos@je-eigen-domein.nl>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 8016f129
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -5,3 +5,17 @@ config BR2_PACKAGE_LIBVNCSERVER
	  libvncserver is a VNC server/client library.

	  http://libvncserver.sourceforge.net/

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
+6 −0
Original line number Diff line number Diff line
@@ -58,6 +58,12 @@ else
LIBVNCSERVER_CONF_OPTS += --without-jpeg
endif

ifeq ($(BR2_PACKAGE_LIBPNG),y)
LIBVNCSERVER_DEPENDENCIES += libpng
else
LIBVNCSERVER_CONF_OPTS += --without-png
endif

ifeq ($(BR2_PACKAGE_ZLIB),y)
LIBVNCSERVER_DEPENDENCIES += zlib
else