1 ################################################################################
5 ################################################################################
7 LIBVNCSERVER_VERSION
= 0.9.10
8 LIBVNCSERVER_SOURCE
= LibVNCServer-
$(LIBVNCSERVER_VERSION
).
tar.gz
9 LIBVNCSERVER_SITE
= https
://github.com
/LibVNC
/libvncserver
/archive
10 LIBVNCSERVER_LICENSE
= GPLv2
+
11 LIBVNCSERVER_LICENSE_FILES
= COPYING
12 LIBVNCSERVER_INSTALL_STAGING
= YES
13 LIBVNCSERVER_CONFIG_SCRIPTS
= libvncserver-config
14 LIBVNCSERVER_DEPENDENCIES
= host-pkgconf
16 # Upstream decided to remove generated autotools files from the
17 # tarball, so we need to generate them.
18 LIBVNCSERVER_AUTORECONF
= YES
20 # libvncserver does not get along with newer libva versions
21 # https://github.com/LibVNC/libvncserver/issues/11
22 LIBVNCSERVER_CONF_OPTS
+= --without-libva
24 # only used for examples
25 LIBVNCSERVER_CONF_OPTS
+= --with-sdl-config
=/bin
/false
27 ifneq ($(BR2_TOOLCHAIN_HAS_THREADS
),y
)
28 LIBVNCSERVER_CONF_OPTS
+= --without-pthread
31 # openssl supports needs NPTL thread support
32 ifeq ($(BR2_PACKAGE_OPENSSL
)$(BR2_TOOLCHAIN_HAS_THREADS_NPTL
),yy
)
33 LIBVNCSERVER_DEPENDENCIES
+= openssl
35 LIBVNCSERVER_CONF_OPTS
+= --without-crypto
--without-ssl
38 ifeq ($(BR2_PACKAGE_LIBGCRYPT
),y
)
39 LIBVNCSERVER_CONF_ENV
+= LIBGCRYPT_CONFIG
=$(STAGING_DIR
)/usr
/bin
/libgcrypt-config
40 LIBVNCSERVER_DEPENDENCIES
+= libgcrypt
42 LIBVNCSERVER_CONF_OPTS
+= --without-gcrypt
45 ifeq ($(BR2_PACKAGE_GNUTLS
)$(BR2_PACKAGE_LIBGCRYPT
),yy
)
46 LIBVNCSERVER_DEPENDENCIES
+= gnutls host-pkgconf
48 LIBVNCSERVER_CONF_OPTS
+= --without-gnutls
51 ifeq ($(BR2_PACKAGE_JPEG
),y
)
52 LIBVNCSERVER_DEPENDENCIES
+= jpeg
54 LIBVNCSERVER_CONF_OPTS
+= --without-jpeg
57 ifeq ($(BR2_PACKAGE_LIBPNG
),y
)
58 LIBVNCSERVER_DEPENDENCIES
+= libpng
60 LIBVNCSERVER_CONF_OPTS
+= --without-png
63 ifeq ($(BR2_PACKAGE_ZLIB
),y
)
64 LIBVNCSERVER_DEPENDENCIES
+= zlib
66 LIBVNCSERVER_CONF_OPTS
+= --without-zlib
69 $(eval
$(autotools-package
))