From 972faf66cfceb538e8e04da755eae0ced6a3d361 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 4 Aug 2025 16:33:23 +0800 Subject: aml: upgrade 0.3.0 -> 1.0.0 Changelog: =========== - sys/queue.h: Remove "#include " - FUNDING.yml: Add github sponsors - Stop single-shot also when no cb is set - Replicate methods for every type - Use explicit types in callbacks - meson: Add run_command check argument - meson: Relocate headers and pkgconfig - kqueue: Call EV_SET without NOTE_ABSTIME on Mach - kqueue: Pass unspecified timeout as NULL - thread-pool: Make pthread_setcancelstate optional for Android - build: Make librt optional - Properly initialize global mutex Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/aml/aml_1.0.0.bb | 31 ++++++++++++++++++++++++++++ meta-oe/recipes-graphics/aml/aml_git.bb | 34 ------------------------------- 2 files changed, 31 insertions(+), 34 deletions(-) create mode 100644 meta-oe/recipes-graphics/aml/aml_1.0.0.bb delete mode 100644 meta-oe/recipes-graphics/aml/aml_git.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-graphics/aml/aml_1.0.0.bb b/meta-oe/recipes-graphics/aml/aml_1.0.0.bb new file mode 100644 index 0000000000..c88591f114 --- /dev/null +++ b/meta-oe/recipes-graphics/aml/aml_1.0.0.bb @@ -0,0 +1,31 @@ +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;tag=v${PV}" + +SRCREV = "685035c9830aa89df02a43df89b644690bd885f5" + +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" diff --git a/meta-oe/recipes-graphics/aml/aml_git.bb b/meta-oe/recipes-graphics/aml/aml_git.bb deleted file mode 100644 index a0b27bd256..0000000000 --- a/meta-oe/recipes-graphics/aml/aml_git.bb +++ /dev/null @@ -1,34 +0,0 @@ -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" -- cgit v1.2.3-54-g00ecf