summaryrefslogtreecommitdiffstats
path: root/x11/x11vnc/DEPENDS
blob: 7535e581d85e6cc0227b82820a895e83253547d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
depends xorg-server &&

optional_depends libvncserver \
                 "--with-system-libvncserver" \
                 "--without-system-libvncserver" \
                 "to use system libvncserver instead of bundled" &&

if ! is_depends_enabled $SPELL libvncserver; then
  optional_depends jpeg \
                   "--with-jpeg" \
                   "--without-jpeg" \
                   "for jpeg support" &&

  optional_depends zlib \
                   "--with-zlib" \
                   "--without-zlib" \
                   "for deflate support" &&

  config_query_option X11VNC_OPTS \
                      "Enable libpthread support?" y \
                      "--with-pthread" \
                      "--without-pthread" &&

  config_query_option X11VNC_OPTS \
                      "Enable 24 bpp framebuffers?" y \
                      "--with-24bpp" \
                      "--without-24bpp"
fi &&

optional_depends openssl \
                 "--with-ssl" \
                 "--without-ssl" \
                 "for SSL support" &&

if is_depends_enabled $SPELL openssl; then
  config_query_option X11VNC_OPTS \
                      "Enable libcrypto usage in OpenSSL?" y \
                      "--with-crypto" \
                      "--without-crypto"
fi &&

optional_depends avahi \
                 "--with-avahi" \
                 "--without-avahi" \
                 "for Avahi/mDNS support" &&

optional_depends LIBAVCODEC \
                 "--with-ffmpeg" \
                 "--without-ffmpeg" \
                 "for FFMPEG support" &&

optional_depends libxtrap \
                 "--with-xtrap" \
                 "--without-xtrap" \
                 "for xtrap extension support" &&

optional_depends libxdamage \
                 "--with-xdamage" \
                 "--without-xdamage" \
                 "for xdamage extension support" &&

optional_depends libxfixes \
                 "--with-xfixes" \
                 "--without-xfixes" \
                 "for xfixes extension support" &&

optional_depends libxrandr \
                 "--with-xrandr" \
                 "--without-xrandr" \
                 "for xrandr extension support" &&

optional_depends libxinerama \
                 "--with-xinerama" \
                 "--without-xinerama" \
                 "for xinerama extension support" &&

optional_depends -sub DPMS xorg-server \
                 "--with-dpms" \
                 "--without-dpms" \
                 "for dpms extension support" &&

persistent_read xorg-server XORG_SERVER_OPTS XORG_SERVER_OPTS &&

if list_find "$XORG_SERVER_OPTS" "--enable-record"; then
  config_query_option X11VNC_OPTS \
                      "Enable xrecord extension support?" y \
                      "--with-xrecord" \
                      "--without-xrecord"
fi