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