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: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Floris Bos 2014-12-27 20:12:54 +01:00 committed by Thomas Petazzoni
parent 8016f1294c
commit d4a54ed515
2 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -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