2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2018 Harry Liebel
13 # Copyright 2022 Jim Klimov
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= x11vnc
21 COMPONENT_VERSION
= 0.9.16
23 COMPONENT_SUMMARY
= VNC server for use with real X displays
24 COMPONENT_DESCRIPTION
= VNC
(Virtual Network Computing
) is a very useful network graphics protocol which allows multiple simple remote viewers to watch and control a single desktop. x11vnc differs from traditional UNIX VNC servers in that it is accessing a real X displays that may already be in progress rather than creating its own X server for clients to connect to.
25 COMPONENT_PROJECT_URL
= https
://libvnc.github.io
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
28 COMPONENT_ARCHIVE_HASH
= sha256
:885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
29 COMPONENT_ARCHIVE_URL
= https
://github.com
/LibVNC
/$(COMPONENT_NAME
)/archive
/$(COMPONENT_VERSION
).
tar.gz
30 COMPONENT_FMRI
= x11
/x11vnc
31 COMPONENT_CLASSIFICATION
= System
/X11
32 COMPONENT_LICENSE
= GPLv2
33 COMPONENT_LICENSE_FILE
= COPYING
35 include $(WS_MAKE_RULES
)/common.mk
37 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && autoreconf
-v
--install )
39 CFLAGS
+= -I
$(OPENSSL_INCDIR
)
40 LDFLAGS
+= -L
$(OPENSSL_LIBDIR
)
43 REQUIRED_PACKAGES
+= library
/libvncserver
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES
+= library
/desktop
/cairo
47 REQUIRED_PACKAGES
+= library
/libvncserver
48 REQUIRED_PACKAGES
+= library
/security
/openssl-31
49 REQUIRED_PACKAGES
+= shell/ksh93
50 REQUIRED_PACKAGES
+= system
/library
51 REQUIRED_PACKAGES
+= system
/network
/avahi
52 REQUIRED_PACKAGES
+= x11
/library
/libx11
53 REQUIRED_PACKAGES
+= x11
/library
/libxcomposite
54 REQUIRED_PACKAGES
+= x11
/library
/libxcursor
55 REQUIRED_PACKAGES
+= x11
/library
/libxdamage
56 REQUIRED_PACKAGES
+= x11
/library
/libxext
57 REQUIRED_PACKAGES
+= x11
/library
/libxfixes
58 REQUIRED_PACKAGES
+= x11
/library
/libxi
59 REQUIRED_PACKAGES
+= x11
/library
/libxinerama
60 REQUIRED_PACKAGES
+= x11
/library
/libxrandr
61 REQUIRED_PACKAGES
+= x11
/library
/libxtst