2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-03-06 19:34:39 +01:00
|
|
|
#
|
2013-06-06 01:53:28 +02:00
|
|
|
# x11vnc
|
2008-03-06 19:34:39 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2019-01-07 12:32:27 +01:00
|
|
|
X11VNC_VERSION = 0.9.16
|
2017-04-29 15:00:34 +02:00
|
|
|
X11VNC_SITE = $(call github,LibVNC,x11vnc,$(X11VNC_VERSION))
|
2012-09-29 21:58:19 +02:00
|
|
|
# sdl support is not used in x11vnc, but host include / library search paths
|
|
|
|
# leak in if host has sdl-config
|
2014-09-27 21:32:44 +02:00
|
|
|
X11VNC_CONF_OPTS = --without-sdl
|
2017-04-30 15:05:02 +02:00
|
|
|
X11VNC_DEPENDENCIES = xlib_libXt xlib_libXext xlib_libXtst libvncserver
|
2017-03-30 15:43:32 +02:00
|
|
|
X11VNC_LICENSE = GPL-2.0+
|
2014-06-24 20:55:51 +02:00
|
|
|
X11VNC_LICENSE_FILES = COPYING
|
2009-11-23 15:25:17 +01:00
|
|
|
|
2017-04-29 15:00:34 +02:00
|
|
|
# Source coming from github, no configure included
|
|
|
|
X11VNC_AUTORECONF = YES
|
|
|
|
|
2012-09-29 21:58:19 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy)
|
|
|
|
X11VNC_DEPENDENCIES += avahi dbus
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
X11VNC_CONF_OPTS += --without-avahi
|
2012-09-29 21:58:19 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
|
|
|
X11VNC_DEPENDENCIES += jpeg
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
X11VNC_CONF_OPTS += --without-jpeg
|
2012-09-29 21:58:19 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
X11VNC_DEPENDENCIES += openssl
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
X11VNC_CONF_OPTS += --without-ssl --without-crypto
|
2012-09-29 21:58:19 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
|
|
|
X11VNC_DEPENDENCIES += xlib_libXinerama
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
X11VNC_CONF_OPTS += --without-xinerama
|
2012-09-29 21:58:19 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
|
|
|
|
X11VNC_DEPENDENCIES += xlib_libXrandr
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
X11VNC_CONF_OPTS += --without-xrandr
|
2012-09-29 21:58:19 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y)
|
|
|
|
X11VNC_DEPENDENCIES += xlib_libXfixes
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
X11VNC_CONF_OPTS += --without-xfixes
|
2012-09-29 21:58:19 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y)
|
|
|
|
X11VNC_DEPENDENCIES += xlib_libXdamage
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
X11VNC_CONF_OPTS += --without-xdamage
|
2012-09-29 21:58:19 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
X11VNC_DEPENDENCIES += zlib
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
X11VNC_CONF_OPTS += --without-zlib
|
2012-09-29 21:58:19 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|