From: Floris Bos Date: Sat, 27 Dec 2014 19:12:54 +0000 (+0100) Subject: libvncserver: add config option for tightpng encoding support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4a54ed5157472f8e3c72f58bd79ab014845f03f;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- diff --git a/package/libvncserver/Config.in b/package/libvncserver/Config.in index 07b77f519e..28fbaa5833 100644 --- a/package/libvncserver/Config.in +++ b/package/libvncserver/Config.in @@ -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 diff --git a/package/libvncserver/libvncserver.mk b/package/libvncserver/libvncserver.mk index a8389b4203..ed6b64d95b 100644 --- a/package/libvncserver/libvncserver.mk +++ b/package/libvncserver/libvncserver.mk @@ -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