diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2023-08-25 11:54:04 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-08-26 17:32:45 -0700 |
commit | 90fbe305c538b1368cd655e5e5687e794b37a859 (patch) | |
tree | 90c8d972c272148f9b238ad8c0a3352f60b63374 /meta-oe/recipes-graphics/aml | |
parent | 8ff8621c4af2995b1f4033a14a117460ea663b70 (diff) | |
download | meta-openembedded-90fbe305c538b1368cd655e5e5687e794b37a859.tar.gz |
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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/aml')
-rw-r--r-- | meta-oe/recipes-graphics/aml/aml_git.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/aml/aml_git.bb b/meta-oe/recipes-graphics/aml/aml_git.bb new file mode 100644 index 0000000000..eed62adae0 --- /dev/null +++ b/meta-oe/recipes-graphics/aml/aml_git.bb @@ -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" |