Alexander Kanavin fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00

35 lines
851 B
BlitzBasic

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"
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"