diff mbox series

[meta-oe,106/109] expected-lite: add new recipe (0.8.0)

Message ID 20260815025044.437694-7-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python] python3-pystemd: add python3-wheel-native to DEPENDS | expand

Commit Message

Khem Raj Aug. 15, 2026, 2:50 a.m. UTC
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 <khem.raj@oss.qualcomm.com>
---
 .../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 mbox series

Patch

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"