diff options
Diffstat (limited to 'meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.6.bb')
| -rw-r--r-- | meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.6.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.6.bb b/meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.6.bb new file mode 100644 index 0000000000..34cfbf18cc --- /dev/null +++ b/meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.6.bb | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | SUMMARY = "A liberally licensed VNC server library" | ||
| 2 | DESCRIPTION = "This is a liberally licensed VNC server library that's intended to be fast and neat." | ||
| 3 | HOMEPAGE = "https://github.com/any1/neatvnc" | ||
| 4 | LICENSE = "ISC" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7" | ||
| 6 | |||
| 7 | SRC_URI = "git://github.com/any1/neatvnc;branch=v0.9;protocol=https \ | ||
| 8 | file://0001-meson-Use-new-pkgconfig-for-aml1.patch \ | ||
| 9 | file://0001-Add-method-to-listen-on-multiple-fds.patch \ | ||
| 10 | file://0001-Use-aml-v1.patch \ | ||
| 11 | " | ||
| 12 | |||
| 13 | SRCREV = "3295c11b934a83dbcb44beabf3f21a8b885a2d11" | ||
| 14 | |||
| 15 | |||
| 16 | DEPENDS = "libdrm pixman aml zlib" | ||
| 17 | |||
| 18 | PACKAGECONFIG ??= "" | ||
| 19 | PACKAGECONFIG[tls] = "-Dtls=enabled,-Dtls=disabled,gnutls" | ||
| 20 | PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,libjpeg-turbo" | ||
| 21 | PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng" | ||
| 22 | PACKAGECONFIG[benchmarks] = "-Dbenchmarks=true,-Dbenchmarks=false,libpng" | ||
| 23 | |||
| 24 | PACKAGE_BEFORE_PN += "${PN}-examples" | ||
| 25 | ALLOW_EMPTY:${PN}-examples = "1" | ||
| 26 | FILES:${PN}-examples = "${bindir}" | ||
| 27 | |||
| 28 | NEATVNC_EXAMPLES = "draw png-server" | ||
| 29 | |||
| 30 | inherit meson pkgconfig | ||
| 31 | |||
| 32 | do_install:append () { | ||
| 33 | if ${@bb.utils.contains('PACKAGECONFIG', 'examples', 'true', 'false', d)}; then | ||
| 34 | install -d ${D}${bindir} | ||
| 35 | for bin in ${NEATVNC_EXAMPLES}; do | ||
| 36 | install -m 0755 ${B}/examples/$bin ${D}${bindir} | ||
| 37 | done | ||
| 38 | fi | ||
| 39 | } | ||
| 40 | |||
| 41 | BBCLASSEXTEND = "native" | ||
