summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.6.bb
diff options
context:
space:
mode:
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.bb41
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 @@
1SUMMARY = "A liberally licensed VNC server library"
2DESCRIPTION = "This is a liberally licensed VNC server library that's intended to be fast and neat."
3HOMEPAGE = "https://github.com/any1/neatvnc"
4LICENSE = "ISC"
5LIC_FILES_CHKSUM = "file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7"
6
7SRC_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
13SRCREV = "3295c11b934a83dbcb44beabf3f21a8b885a2d11"
14
15
16DEPENDS = "libdrm pixman aml zlib"
17
18PACKAGECONFIG ??= ""
19PACKAGECONFIG[tls] = "-Dtls=enabled,-Dtls=disabled,gnutls"
20PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,libjpeg-turbo"
21PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng"
22PACKAGECONFIG[benchmarks] = "-Dbenchmarks=true,-Dbenchmarks=false,libpng"
23
24PACKAGE_BEFORE_PN += "${PN}-examples"
25ALLOW_EMPTY:${PN}-examples = "1"
26FILES:${PN}-examples = "${bindir}"
27
28NEATVNC_EXAMPLES = "draw png-server"
29
30inherit meson pkgconfig
31
32do_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
41BBCLASSEXTEND = "native"