diff options
| -rw-r--r-- | meta-oe/recipes-graphics/neatvnc/neatvnc_git.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/neatvnc/neatvnc_git.bb b/meta-oe/recipes-graphics/neatvnc/neatvnc_git.bb new file mode 100644 index 0000000000..8344015204 --- /dev/null +++ b/meta-oe/recipes-graphics/neatvnc/neatvnc_git.bb | |||
| @@ -0,0 +1,40 @@ | |||
| 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=master;protocol=https" | ||
| 8 | |||
| 9 | SRCREV = "8b3dc1ae6099dcfa73aec3ae11df2fdc58540d14" | ||
| 10 | |||
| 11 | PV = "0.6.0+git${SRCPV}" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | DEPENDS = "libdrm pixman aml zlib" | ||
| 16 | |||
| 17 | PACKAGECONFIG ??= "" | ||
| 18 | PACKAGECONFIG[tls] = "-Dtls=enabled,-Dtls=disabled,gnutls" | ||
| 19 | PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,libjpeg-turbo" | ||
| 20 | PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng" | ||
| 21 | PACKAGECONFIG[benchmarks] = "-Dbenchmarks=true,-Dbenchmarks=false,libpng" | ||
| 22 | |||
| 23 | PACKAGE_BEFORE_PN += "${PN}-examples" | ||
| 24 | ALLOW_EMPTY:${PN}-examples = "1" | ||
| 25 | FILES:${PN}-examples = "${bindir}" | ||
| 26 | |||
| 27 | NEATVNC_EXAMPLES = "draw png-server" | ||
| 28 | |||
| 29 | inherit meson pkgconfig | ||
| 30 | |||
| 31 | do_install:append () { | ||
| 32 | if ${@bb.utils.contains('PACKAGECONFIG', 'examples', 'true', 'false', d)}; then | ||
| 33 | install -d ${D}${bindir} | ||
| 34 | for bin in ${NEATVNC_EXAMPLES}; do | ||
| 35 | install -m 0755 ${B}/examples/$bin ${D}${bindir} | ||
| 36 | done | ||
| 37 | fi | ||
| 38 | } | ||
| 39 | |||
| 40 | BBCLASSEXTEND = "native" | ||
