2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-02-10 16:00:07 +01:00
|
|
|
#
|
|
|
|
# libvncserver
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-02-10 16:00:07 +01:00
|
|
|
|
2017-01-06 13:52:40 +01:00
|
|
|
LIBVNCSERVER_VERSION = 0.9.11
|
2012-02-10 16:00:07 +01:00
|
|
|
LIBVNCSERVER_SOURCE = LibVNCServer-$(LIBVNCSERVER_VERSION).tar.gz
|
2014-12-26 01:46:14 +01:00
|
|
|
LIBVNCSERVER_SITE = https://github.com/LibVNC/libvncserver/archive
|
2017-03-30 15:43:32 +02:00
|
|
|
LIBVNCSERVER_LICENSE = GPL-2.0+
|
2013-01-28 08:42:30 +01:00
|
|
|
LIBVNCSERVER_LICENSE_FILES = COPYING
|
2012-02-10 16:00:07 +01:00
|
|
|
LIBVNCSERVER_INSTALL_STAGING = YES
|
2013-05-10 08:29:31 +02:00
|
|
|
LIBVNCSERVER_CONFIG_SCRIPTS = libvncserver-config
|
2014-12-26 01:46:14 +01:00
|
|
|
LIBVNCSERVER_DEPENDENCIES = host-pkgconf
|
|
|
|
|
|
|
|
# Upstream decided to remove generated autotools files from the
|
|
|
|
# tarball, so we need to generate them.
|
|
|
|
LIBVNCSERVER_AUTORECONF = YES
|
2012-02-10 16:00:07 +01:00
|
|
|
|
2014-12-27 18:01:31 +01:00
|
|
|
# libvncserver does not get along with newer libva versions
|
|
|
|
# https://github.com/LibVNC/libvncserver/issues/11
|
|
|
|
LIBVNCSERVER_CONF_OPTS += --without-libva
|
|
|
|
|
2012-02-10 16:00:07 +01:00
|
|
|
# only used for examples
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBVNCSERVER_CONF_OPTS += --with-sdl-config=/bin/false
|
2012-02-10 16:00:07 +01:00
|
|
|
|
2013-11-13 09:07:41 +01:00
|
|
|
ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBVNCSERVER_CONF_OPTS += --without-pthread
|
2013-11-13 09:07:41 +01:00
|
|
|
endif
|
|
|
|
|
2014-12-28 17:34:54 +01:00
|
|
|
# openssl supports needs NPTL thread support
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL)$(BR2_TOOLCHAIN_HAS_THREADS_NPTL),yy)
|
2012-02-10 16:00:07 +01:00
|
|
|
LIBVNCSERVER_DEPENDENCIES += openssl
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBVNCSERVER_CONF_OPTS += --without-crypto --without-ssl
|
2012-02-10 16:00:07 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
2012-02-13 11:26:42 +01:00
|
|
|
LIBVNCSERVER_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
2012-02-10 16:00:07 +01:00
|
|
|
LIBVNCSERVER_DEPENDENCIES += libgcrypt
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBVNCSERVER_CONF_OPTS += --without-gcrypt
|
2012-02-10 16:00:07 +01:00
|
|
|
endif
|
|
|
|
|
2013-02-05 23:09:44 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
|
2012-10-22 17:47:52 +02:00
|
|
|
LIBVNCSERVER_DEPENDENCIES += gnutls host-pkgconf
|
2012-02-10 16:00:07 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBVNCSERVER_CONF_OPTS += --without-gnutls
|
2012-02-10 16:00:07 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
|
|
|
LIBVNCSERVER_DEPENDENCIES += jpeg
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBVNCSERVER_CONF_OPTS += --without-jpeg
|
2012-02-10 16:00:07 +01:00
|
|
|
endif
|
|
|
|
|
2014-12-27 20:12:54 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
|
|
|
LIBVNCSERVER_DEPENDENCIES += libpng
|
|
|
|
else
|
|
|
|
LIBVNCSERVER_CONF_OPTS += --without-png
|
|
|
|
endif
|
|
|
|
|
2012-02-10 16:00:07 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
LIBVNCSERVER_DEPENDENCIES += zlib
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBVNCSERVER_CONF_OPTS += --without-zlib
|
2012-02-10 16:00:07 +01:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|