| Message ID | 20260120200835.160520-2-frederikbraendstrup@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | glaze: improve recipe | expand |
Please merge/squash the changes into a single commit and send it as v2, with description of what changed. On Tue, Jan 20, 2026 at 12:09 PM Frederik Brændstrup via lists.openembedded.org <frederikbraendstrup=gmail.com@lists.openembedded.org> wrote: > The initial revision was lacking in some aspects. This is a followup to > that > > Signed-off-by: Frede Hoey Braendstrup <frederikbraendstrup@gmail.com> > --- > meta-oe/recipes-support/glaze/glaze_7.0.1.bb | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-) > > diff --git a/meta-oe/recipes-support/glaze/glaze_7.0.1.bb > b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb > index f92777a25f..b11176cb52 100644 > --- a/meta-oe/recipes-support/glaze/glaze_7.0.1.bb > +++ b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb > @@ -1,13 +1,23 @@ > -DESCRIPTION = "Extremely fast, in memory, JSON and reflection library for > modern C++. BEVE, CBOR, CSV, MessagePack, TOML, EETF " > -HOMEPAGE = "https://stephenberry.github.io/glaze/" > +SUMMARY = "Extremely fast, in memory, JSON and reflection library for > modern C++. BEVE, CBOR, CSV, MessagePack, TOML, EETF " > +HOMEPAGE = "https://github.com/stephenberry/glaze/" > LICENSE = "MIT" > LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8" > > -SRC_URI = "git:// > github.com/stephenberry/glaze;protocol=https;branch=main;tag=${PV} > <http://github.com/stephenberry/glaze;protocol=https;branch=main;tag=$%7BPV%7D> > " > +SRC_URI = "git:// > github.com/stephenberry/glaze;protocol=https;branch=main;tag=v${PV} > <http://github.com/stephenberry/glaze;protocol=https;branch=main;tag=v$%7BPV%7D> > " > > SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593" > > inherit cmake > > -EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF > -Dglaze_ENABLE_FUZZING=OFF" > +EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF > -Dglaze_ENABLE_FUZZING=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" > -- > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#123679): > https://lists.openembedded.org/g/openembedded-devel/message/123679 > Mute This Topic: https://lists.openembedded.org/mt/117369931/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ > raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
diff --git a/meta-oe/recipes-support/glaze/glaze_7.0.1.bb b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb index f92777a25f..b11176cb52 100644 --- a/meta-oe/recipes-support/glaze/glaze_7.0.1.bb +++ b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb @@ -1,13 +1,23 @@ -DESCRIPTION = "Extremely fast, in memory, JSON and reflection library for modern C++. BEVE, CBOR, CSV, MessagePack, TOML, EETF " -HOMEPAGE = "https://stephenberry.github.io/glaze/" +SUMMARY = "Extremely fast, in memory, JSON and reflection library for modern C++. BEVE, CBOR, CSV, MessagePack, TOML, EETF " +HOMEPAGE = "https://github.com/stephenberry/glaze/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8" -SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=${PV}" +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" +EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Dglaze_ENABLE_FUZZING=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"
The initial revision was lacking in some aspects. This is a followup to that Signed-off-by: Frede Hoey Braendstrup <frederikbraendstrup@gmail.com> --- meta-oe/recipes-support/glaze/glaze_7.0.1.bb | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) --