From 83294dcfbcd71ad0bd25299e7c57d79749883cb6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 6 Aug 2026 13:34:37 +0000 Subject: [PATCH] expected-lite: add new recipe (0.8.0) restinio 0.7.x drops its bundled nonstd::expected backport and instead requires expected-lite to be supplied externally via find_package(). Add a new recipe pinned to v0.8.0, the exact version restinio 0.7.9.1 pins in its externals.rb manifest. Modeled on the existing span-lite recipe (same author/ecosystem, same LICENSE.txt boilerplate). AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../expected-lite/expected-lite_0.8.0.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-oe/recipes-support/expected-lite/expected-lite_0.8.0.bb diff --git a/meta-oe/recipes-support/expected-lite/expected-lite_0.8.0.bb b/meta-oe/recipes-support/expected-lite/expected-lite_0.8.0.bb new file mode 100644 index 0000000000..f63d5dde2e --- /dev/null +++ b/meta-oe/recipes-support/expected-lite/expected-lite_0.8.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "Expected objects in C++11 and later in a single-file header-only library" +DESCRIPTION = "A single-file header-only library to represent value objects \ + that either contain a valid value or an error, providing a \ + backport of the C++23 std::expected for use with C++11 and \ + later." +HOMEPAGE = "https://github.com/martinmoene/expected-lite" +SECTION = "libs" +LICENSE = "BSL-1.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c" + +SRC_URI = "git://github.com/martinmoene/expected-lite.git;protocol=https;branch=master;tag=v${PV}" +SRCREV = "182165b584dad130afaf4bcd25b8629799baea38" + +inherit cmake + +BBCLASSEXTEND = "native nativesdk"