aml: add new recipe
PATCH 1/2 aml: add new recipe
Add a new recipe for aml (Andri's Main Loop) v0.3.0. It is required for neatvnc which is required for building Weston with VNC backend.
Signed-off-by Leon Anavi <[email protected]>
--- meta-oe/recipes-graphics/aml/aml_git.bb | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-oe/recipes-graphics/aml/aml_git.bb
meta-oe/recipes-graphics/aml/aml_git.bb new file +35 -0
@@ -0,0 +1,35 @@ +SUMMARY = "Andri's Main Loop" +DESCRIPTION = "Andri's Main Loop" +HOMEPAGE = "https://github.com/any1/aml" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://COPYING;md5=e6f3cfaa39204b96e14b68b9d50d3e4e" + +SRC_URI = "git://github.com/any1/aml;branch=master;protocol=https" + +SRCREV = "b83f3576ce4187d9285f06e9066ef43a691464d4" + +PV = "0.3.0+git${SRCPV}" + +S = "${WORKDIR}/git" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false" + +PACKAGE_BEFORE_PN += "${PN}-examples" +ALLOW_EMPTY:${PN}-examples = "1" +FILES:${PN}-examples = "${bindir}" + +inherit meson pkgconfig + +AML_EXAMPLES = "ticker nested-ticker reader" + +do_install:append () { + if ${@bb.utils.contains('PACKAGECONFIG', 'examples', 'true', 'false', d)}; then + install -d ${D}${bindir} + for bin in ${AML_EXAMPLES}; do + install -m 0755 ${B}/examples/$bin ${D}${bindir} + done + fi +} + +BBCLASSEXTEND = "native"
Signature · 1 line
2.39.2
PATCH 2/2 neatvnc: add new recipe
Add a new recipe for neatvnc v0.6.0, a liberally licensed VNC server library with a clean interface. It is required for building Weston with VNC backend.
Please note that tls is not part of the default PACKAGECONFIG because it requires gnutls. However, to use properly VNC it should be enabled if building Weston 12 with VNC backend.
Signed-off-by Leon Anavi <[email protected]>
--- .../recipes-graphics/neatvnc/neatvnc_git.bb | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 meta-oe/recipes-graphics/neatvnc/neatvnc_git.bb
meta-oe/recipes-graphics/neatvnc/neatvnc_git.bb new file +40 -0
@@ -0,0 +1,40 @@ +SUMMARY = "A liberally licensed VNC server library" +DESCRIPTION = "This is a liberally licensed VNC server library that's intended to be fast and neat." +HOMEPAGE = "https://github.com/any1/neatvnc" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7" + +SRC_URI = "git://github.com/any1/neatvnc;branch=master;protocol=https" + +SRCREV = "8b3dc1ae6099dcfa73aec3ae11df2fdc58540d14" + +PV = "0.6.0+git${SRCPV}" + +S = "${WORKDIR}/git" + +DEPENDS = "libdrm pixman aml zlib" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[tls] = "-Dtls=enabled,-Dtls=disabled,gnutls" +PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,libjpeg-turbo" +PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng" +PACKAGECONFIG[benchmarks] = "-Dbenchmarks=true,-Dbenchmarks=false,libpng" + +PACKAGE_BEFORE_PN += "${PN}-examples" +ALLOW_EMPTY:${PN}-examples = "1" +FILES:${PN}-examples = "${bindir}" + +NEATVNC_EXAMPLES = "draw png-server" + +inherit meson pkgconfig + +do_install:append () { + if ${@bb.utils.contains('PACKAGECONFIG', 'examples', 'true', 'false', d)}; then + install -d ${D}${bindir} + for bin in ${NEATVNC_EXAMPLES}; do + install -m 0755 ${B}/examples/$bin ${D}${bindir} + done + fi +} + +BBCLASSEXTEND = "native"
Signature · 1 line
2.39.2