summaryrefslogtreecommitdiffstats
path: root/package/libvncserver/libvncserver.mk
diff options
context:
space:
mode:
authorFloris Bos <bos@je-eigen-domein.nl>2014-12-27 20:12:54 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-27 21:30:05 +0100
commitd4a54ed5157472f8e3c72f58bd79ab014845f03f (patch)
treeec31d3d88d0a3781ab04905799b634cc5a8a782a /package/libvncserver/libvncserver.mk
parent8016f1294c4b18629c2170b10b4064dbd8de57e1 (diff)
downloadbuildroot-d4a54ed5157472f8e3c72f58bd79ab014845f03f.tar.gz
buildroot-d4a54ed5157472f8e3c72f58bd79ab014845f03f.zip
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>
Diffstat (limited to 'package/libvncserver/libvncserver.mk')
-rw-r--r--package/libvncserver/libvncserver.mk6
1 files changed, 6 insertions, 0 deletions
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
OpenPOWER on IntegriCloud