Skip to contentSkip to conversation

libxmlb: Add recipe

PATCH New Alex Kiernan 1 participant 1 message Jun 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxmlb: Add recipe

---

 .../recipes-gnome/libxmlb/libxmlb/run-ptest   |  3 +++
 .../recipes-gnome/libxmlb/libxmlb_0.1.15.bb   | 19 +++++++++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-gnome/libxmlb/libxmlb/run-ptest
 create mode 100644 meta-oe/recipes-gnome/libxmlb/libxmlb_0.1.15.bb
meta-oe/recipes-gnome/libxmlb/libxmlb/run-ptest new file +3 -0
new file mode 100644
index 000000000000..6d0bb95d3aec
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+gnome-desktop-testing-runner libxmlb
meta-oe/recipes-gnome/libxmlb/libxmlb_0.1.15.bb new file +19 -0
new file mode 100644
index 000000000000..c545993174de
@@ -0,0 +1,19 @@
+SUMMARY = "A library to help create and query binary XML blobs"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
+
+SRC_URI = "\
+    git://github.com/hughsie/libxmlb.git \
+    file://run-ptest \
+"
+SRCREV = "ee4aafdd97844f1c73021a4978a43460f0835d5c"
+S = "${WORKDIR}/git"
+
+inherit gobject-introspection gtk-doc meson ptest-gnome
+
+PACKAGECONFIG ??= "\
+    ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
+"
+PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
+
+GTKDOC_MESON_OPTION = "gtkdoc"
Signature · 1 line
2.17.1