Skip to contentSkip to conversation

yaml-cpp: add new recipe

PATCH New Marek Vasut 1 participant 1 message Sep 20, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 yaml-cpp: add new recipe

From: Ramon Fried <[email protected]>

yaml-cpp is a YAML parser and emitter in C++
matching the YAML 1.2 spec.

(cherry picked from commit 4090ca3b5be48b4df4c526cf0b66bf02ee2a8058)

---
NOTE: This would be useful to me in dunfell, but it is not a fix

---
 .../packagegroups/packagegroup-meta-oe.bb       |  1 +
 .../recipes-support/yaml-cpp/yaml-cpp_0.6.3.bb  | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.6.3.bb
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -0
index 505d4efc1..3f2e23c13 100644
@@ -279,6 +279,7 @@ RDEPENDS_packagegroup-meta-oe-support ="\
     tree uhubctl unixodbc uriparser usb-modeswitch \
     usb-modeswitch-data uthash utouch-evemu utouch-frame \
     vim vim-tiny websocketpp xdelta3 xdg-user-dirs xmlstarlet \
+    yaml-cpp \
     zbar zile \
     ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geis toscoterm uim synergy utouch-mtview links-x11 fltk pidgin-otr", "", d)} \
     libcanberra \
meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.6.3.bb new file +17 -0
new file mode 100644
index 000000000..9d359d624
@@ -0,0 +1,17 @@
+SUMMARY = "yaml-cpp parser and emitter library"
+DESCRIPTION = "yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec."
+HOMEPAGE = "https://github.com/jbeder/yaml-cpp"
+SECTION = "devel"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6a8aaf0595c2efc1a9c2e0913e9c1a2c"
+
+# yaml-cpp releases are stored as archive files in github.
+# download the exact revision of release
+SRC_URI = "git://github.com/jbeder/yaml-cpp.git"
+SRCREV = "9a3624205e8774953ef18f57067b3426c1c5ada6"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DYAML_CPP_BUILD_TESTS=OFF -DYAML_BUILD_SHARED_LIBS=ON -DYAML_CPP_BUILD_TOOLS=OFF"
Signature · 1 line
2.33.0