blob: 6a806ffbaf31b40df229ba9bcbc1fd052ee1710b [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"
34SRCREV = "c0a23857a5c42b45b6d22ccf7218becd1fa69402"
35
36
37S = "${WORKDIR}/git"