blob: 93f6951739889e116e978785f0d47dff5f7cee11 [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"
Andrew Geissler9aee5002022-03-30 16:27:02 +00005LICENSE = "GPL-2.0-only"
Brad Bishop19323692019-04-05 15:28:33 -04006LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f"
7
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00008# ffmpeg support is not currently compatible with ffmpeg 5.0
Brad Bishop19323692019-04-05 15:28:33 -04009PACKAGECONFIG ??= " \
Brad Bishope42b3e32020-01-15 22:08:42 -050010 24bpp \
11 filetransfer \
Brad Bishop19323692019-04-05 15:28:33 -040012 gcrypt \
13 gnutls \
14 jpeg \
15 lzo \
16 png \
Brad Bishope42b3e32020-01-15 22:08:42 -050017 pthread \
Brad Bishop19323692019-04-05 15:28:33 -040018 ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} \
Brad Bishope42b3e32020-01-15 22:08:42 -050019 ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '',d)} \
Brad Bishop19323692019-04-05 15:28:33 -040020 sdl \
Brad Bishope42b3e32020-01-15 22:08:42 -050021 websockets \
Brad Bishop19323692019-04-05 15:28:33 -040022 zlib \
23"
Brad Bishope42b3e32020-01-15 22:08:42 -050024
25PACKAGECONFIG[24bpp] = "-DWITH_24BPP=ON,-DWITH_24BPP=OFF,"
26PACKAGECONFIG[filetransfer] = "-DWITH_TIGHTVNC_FILETRANSFER=ON,-DWITH_TIGHTVNC_FILETRANSFER=OFF,"
27PACKAGECONFIG[ffmpeg] = "-DWITH_FFMPEG=ON,-DWITH_FFMPEG=OFF,ffmpeg,ffmpeg"
Brad Bishop19323692019-04-05 15:28:33 -040028PACKAGECONFIG[gcrypt] = "-DWITH_GCRYPT=ON,-DWITH_GCRYPT=OFF,libgcrypt,libgcrypt"
29PACKAGECONFIG[gnutls] = "-DWITH_GNUTLS=ON,-DWITH_GNUTLS=OFF,gnutls"
30PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON,-DWITH_JPEG=OFF,jpeg"
Brad Bishope42b3e32020-01-15 22:08:42 -050031PACKAGECONFIG[ipv6] = "-DWITH_IPv6=ON,-DWITH_IPv6=OFF,"
Brad Bishop19323692019-04-05 15:28:33 -040032PACKAGECONFIG[lzo] = "-DWITH_LZO=ON,-DWITH_LZO=OFF,lzo"
33PACKAGECONFIG[openssl] = "-DWITH_OPENSSL=ON,-DWITH_OPENSSL=OFF,openssl"
34PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng,libpng"
Brad Bishope42b3e32020-01-15 22:08:42 -050035PACKAGECONFIG[pthread] = "-DWITH_THREADS=ON,-DWITH_THREADS=OFF,"
Brad Bishop19323692019-04-05 15:28:33 -040036PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=ON,-DWITH_SYSTEMD=OFF,systemd"
Brad Bishope42b3e32020-01-15 22:08:42 -050037PACKAGECONFIG[sasl] = "-DWITH_SASL=ON,-DWITH_SASL=OFF,cyrus-sasl"
Brad Bishop19323692019-04-05 15:28:33 -040038PACKAGECONFIG[sdl] = "-DWITH_SDL=ON,-DWITH_SDL=OFF,libsdl2"
Brad Bishope42b3e32020-01-15 22:08:42 -050039PACKAGECONFIG[websockets] = "-DWITH_WEBSOCKETS=ON,-DWITH_WEBSOCKETS=OFF,"
Brad Bishop19323692019-04-05 15:28:33 -040040PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
41
Brad Bishop34ae6002019-04-08 15:21:03 -040042PACKAGE_BEFORE_PN = "libvncclient"
Patrick Williams213cb262021-08-07 19:21:33 -050043FILES:libvncclient = "${libdir}/libvncclient.*"
Brad Bishop34ae6002019-04-08 15:21:03 -040044
Brad Bishop19323692019-04-05 15:28:33 -040045inherit cmake
46
Andrew Geissler595f6302022-01-24 19:11:47 +000047SRC_URI = "git://github.com/LibVNC/libvncserver;branch=master;protocol=https"
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050048SRCREV = "2aa20dad4c23c18948d3f63b33f9dfec1f837729"
Brad Bishop19323692019-04-05 15:28:33 -040049
50S = "${WORKDIR}/git"
Brad Bishop26bdd442019-08-16 17:08:17 -040051
52EXTRA_OECMAKE = "-DMAKE_INSTALL_LIBDIR=${libdir}"