> -----Original Message-----
> From: [email protected] 
> <[email protected]> On Behalf Of Frederik Brændstrup 
> via lists.openembedded.org
> Sent: den 19 januari 2026 13:30
> To: [email protected]
> Cc: Frede Hoey Braendstrup <[email protected]>
> Subject: [oe] [PATCH v3] glaze: add recipe
> 
> ---
>  meta-oe/recipes-support/glaze/glaze_7.0.1.bb | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>  create mode 100644 meta-oe/recipes-support/glaze/glaze_7.0.1.bb
> 
> diff --git a/meta-oe/recipes-support/glaze/glaze_7.0.1.bb 
> b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb
> new file mode 100644
> index 0000000000..6526b1d8a3
> --- /dev/null
> +++ b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb
> @@ -0,0 +1,13 @@
> +DESCRIPTION = "Extremely fast, in memory, JSON and reflection library for 
> modern C++. BEVE, CBOR, CSV, MessagePack, TOML, EETF "
> +HOMEPAGE = "https://stephenberry.github.io/glaze/";
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"
> +
> +SRC_URI = 
> "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=v${PV}"
> +
> +SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593"
> +
> +inherit cmake
> +
> +EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF 
> -Dglaze_ENABLE_FUZZING=OFF"
> +
> --

We use the following recipe for glaze:

SUMMARY = "Header-only C++23 JSON library with compile time reflection"
HOMEPAGE = "https://github.com/stephenberry/glaze";

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"

SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593"

SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main"

inherit cmake

EXTRA_OECMAKE += "-Dglaze_BUILD_EXAMPLES=OFF -Dglaze_DEVELOPER_MODE=OFF"

do_install:append() {
    install -d ${D}${datadir}/cmake/${BPN}
    mv -f ${D}${datadir}/${BPN}/*.cmake ${D}${datadir}/cmake/${BPN}
    rmdir -p --ignore-fail-on-non-empty ${D}${datadir}/${BPN}
}

# Glaze is a header-only C++ library, so the main package will be empty.
ALLOW_EMPTY:${PN} = "1"

BBCLASSEXTEND = "native"

I believe there a some pieces that you may want to pick up.

//Peter

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#123670): 
https://lists.openembedded.org/g/openembedded-devel/message/123670
Mute This Topic: https://lists.openembedded.org/mt/117343499/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

  • [oe] [PATCH v1] glaze:... Frederik Brændstrup via lists . openembedded . org
    • [oe] [PATCH v2] g... Frederik Brændstrup via lists . openembedded . org
      • [oe] [PATCH] ... Frederik Brændstrup via lists . openembedded . org
        • [oe] [PAT... Frederik Brændstrup via lists . openembedded . org
          • Re: [... Peter Kjellerstedt via lists.openembedded.org
            • ... Frederik Brændstrup via lists . openembedded . org
              • ... Peter Kjellerstedt via lists.openembedded.org

Reply via email to