diff options
| -rw-r--r-- | meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb | 25 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb | 23 |
2 files changed, 23 insertions, 25 deletions
diff --git a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb deleted file mode 100644 index 38dac06e64..0000000000 --- a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 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 | DEPENDS += "zlib libsdl jpeg libpng gtk+ libgcrypt nettle gnutls gmp" | ||
| 9 | |||
| 10 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" | ||
| 11 | PACKAGECONFIG[systemd] = ",,systemd" | ||
| 12 | |||
| 13 | RDEPENDS_${PN} += "libpng gtk+ libgcrypt" | ||
| 14 | |||
| 15 | inherit distro_features_check autotools binconfig pkgconfig | ||
| 16 | |||
| 17 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 18 | |||
| 19 | SRC_URI = "https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${PV}.tar.gz" | ||
| 20 | SRC_URI[md5sum] = "7f06104d5c009813e95142932c4ddb06" | ||
| 21 | SRC_URI[sha256sum] = "193d630372722a532136fd25c5326b2ca1a636cbb8bf9bb115ef869c804d2894" | ||
| 22 | |||
| 23 | S = "${WORKDIR}/${BPN}-LibVNCServer-${PV}" | ||
| 24 | |||
| 25 | TARGET_LDFLAGS += "-lgcrypt" | ||
diff --git a/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb b/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb new file mode 100644 index 0000000000..25917756fc --- /dev/null +++ b/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb | |||
| @@ -0,0 +1,23 @@ | |||
| 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 ??= "gcrypt gnutls jpeg png ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} sdl zlib" | ||
| 9 | PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt" | ||
| 10 | PACKAGECONFIG[gnutls] = ",,gnutls" | ||
| 11 | PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg" | ||
| 12 | PACKAGECONFIG[openssl] = ",,openssl" | ||
| 13 | PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng" | ||
| 14 | PACKAGECONFIG[systemd] = ",,systemd" | ||
| 15 | PACKAGECONFIG[sdl] = ",,libsdl2" | ||
| 16 | PACKAGECONFIG[zlib] = ",,zlib" | ||
| 17 | |||
| 18 | inherit cmake | ||
| 19 | |||
| 20 | SRC_URI = "git://github.com/LibVNC/libvncserver" | ||
| 21 | SRCREV = "f997b5a75fa171d79c5e568b7157fba83c8d8355" | ||
| 22 | |||
| 23 | S = "${WORKDIR}/git" | ||
