The initial revision was lacking in some aspects. This is a followup to
that

Signed-off-by: Frede Hoey Braendstrup <[email protected]>
---
 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}"
+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"
-- 

-=-=-=-=-=-=-=-=-=-=-=-
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/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

  • [oe] [PATCH] glaze: im... Frederik Brændstrup via lists . openembedded . org

Reply via email to