]>
Commit | Line | Data |
---|---|---|
8dfd59d1 | 1 | ################################################################################ |
eda9b0fe | 2 | # |
966e005d | 3 | # x11vnc |
eda9b0fe | 4 | # |
8dfd59d1 | 5 | ################################################################################ |
70270401 | 6 | |
99c6f9fb | 7 | X11VNC_VERSION = 0.9.15 |
aeea662f | 8 | X11VNC_SITE = $(call github,LibVNC,x11vnc,$(X11VNC_VERSION)) |
2410e3d2 PK |
9 | # sdl support is not used in x11vnc, but host include / library search paths |
10 | # leak in if host has sdl-config | |
aaffd209 | 11 | X11VNC_CONF_OPTS = --without-sdl |
61d0a655 | 12 | X11VNC_DEPENDENCIES = xlib_libXt xlib_libXext xlib_libXtst libvncserver |
af31c309 | 13 | X11VNC_LICENSE = GPL-2.0+ |
3917c616 | 14 | X11VNC_LICENSE_FILES = COPYING |
4cc4e572 | 15 | |
aeea662f MK |
16 | # Source coming from github, no configure included |
17 | X11VNC_AUTORECONF = YES | |
18 | ||
2410e3d2 PK |
19 | ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy) |
20 | X11VNC_DEPENDENCIES += avahi dbus | |
21 | else | |
aaffd209 | 22 | X11VNC_CONF_OPTS += --without-avahi |
2410e3d2 PK |
23 | endif |
24 | ||
25 | ifeq ($(BR2_PACKAGE_JPEG),y) | |
26 | X11VNC_DEPENDENCIES += jpeg | |
27 | else | |
aaffd209 | 28 | X11VNC_CONF_OPTS += --without-jpeg |
2410e3d2 PK |
29 | endif |
30 | ||
31 | ifeq ($(BR2_PACKAGE_OPENSSL),y) | |
32 | X11VNC_DEPENDENCIES += openssl | |
33 | else | |
aaffd209 | 34 | X11VNC_CONF_OPTS += --without-ssl --without-crypto |
2410e3d2 PK |
35 | endif |
36 | ||
37 | ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) | |
38 | X11VNC_DEPENDENCIES += xlib_libXinerama | |
39 | else | |
aaffd209 | 40 | X11VNC_CONF_OPTS += --without-xinerama |
2410e3d2 PK |
41 | endif |
42 | ||
43 | ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) | |
44 | X11VNC_DEPENDENCIES += xlib_libXrandr | |
45 | else | |
aaffd209 | 46 | X11VNC_CONF_OPTS += --without-xrandr |
2410e3d2 PK |
47 | endif |
48 | ||
49 | ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y) | |
50 | X11VNC_DEPENDENCIES += xlib_libXfixes | |
51 | else | |
aaffd209 | 52 | X11VNC_CONF_OPTS += --without-xfixes |
2410e3d2 PK |
53 | endif |
54 | ||
55 | ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y) | |
56 | X11VNC_DEPENDENCIES += xlib_libXdamage | |
57 | else | |
aaffd209 | 58 | X11VNC_CONF_OPTS += --without-xdamage |
2410e3d2 PK |
59 | endif |
60 | ||
61 | ifeq ($(BR2_PACKAGE_ZLIB),y) | |
62 | X11VNC_DEPENDENCIES += zlib | |
63 | else | |
aaffd209 | 64 | X11VNC_CONF_OPTS += --without-zlib |
2410e3d2 PK |
65 | endif |
66 | ||
e1502ebc | 67 | $(eval $(autotools-package)) |