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
|
|
|
|
2012-09-25 20:25:17 +02:00
|
|
|
X11VNC_VERSION = 0.9.13
|
2012-08-23 00:11:55 +02:00
|
|
|
X11VNC_SITE = http://downloads.sourceforge.net/project/libvncserver/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
|
2012-09-29 20:40:39 +02:00
|
|
|
X11VNC_DEPENDENCIES = xlib_libXt xlib_libXext xlib_libXtst
|
2014-06-24 20:55:51 +02:00
|
|
|
X11VNC_LICENSE = GPLv2+
|
|
|
|
X11VNC_LICENSE_FILES = COPYING
|
2009-11-23 15:25:17 +01:00
|
|
|
|
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))
|