blob: 4e4acb835c7d0e3ced4705e69a56e26852220951 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001DESCRIPTION = "library for easy implementation of a RDP/VNC server"
2HOMEPAGE = "https://libvnc.github.io"
3SECTION = "libs"
4PRIORITY = "optional"
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f"
7
8PACKAGECONFIG ??= " \
9 gcrypt \
10 gnutls \
11 jpeg \
12 lzo \
13 png \
14 ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} \
15 sdl \
16 zlib \
17"
18PACKAGECONFIG[gcrypt] = "-DWITH_GCRYPT=ON,-DWITH_GCRYPT=OFF,libgcrypt,libgcrypt"
19PACKAGECONFIG[gnutls] = "-DWITH_GNUTLS=ON,-DWITH_GNUTLS=OFF,gnutls"
20PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON,-DWITH_JPEG=OFF,jpeg"
21PACKAGECONFIG[lzo] = "-DWITH_LZO=ON,-DWITH_LZO=OFF,lzo"
22PACKAGECONFIG[openssl] = "-DWITH_OPENSSL=ON,-DWITH_OPENSSL=OFF,openssl"
23PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng,libpng"
24PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=ON,-DWITH_SYSTEMD=OFF,systemd"
25PACKAGECONFIG[sdl] = "-DWITH_SDL=ON,-DWITH_SDL=OFF,libsdl2"
26PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
27
Brad Bishop34ae6002019-04-08 15:21:03 -040028PACKAGE_BEFORE_PN = "libvncclient"
29FILES_libvncclient = "${libdir}/libvncclient.*"
30
Brad Bishop19323692019-04-05 15:28:33 -040031inherit cmake
32
33SRC_URI = "git://github.com/LibVNC/libvncserver"
Brad Bishop26bdd442019-08-16 17:08:17 -040034SRCREV = "1354f7f1bb6962dab209eddb9d6aac1f03408110"
35PV .= "+git${SRCPV}"
Brad Bishop19323692019-04-05 15:28:33 -040036
37S = "${WORKDIR}/git"
Brad Bishop26bdd442019-08-16 17:08:17 -040038
39EXTRA_OECMAKE = "-DMAKE_INSTALL_LIBDIR=${libdir}"