summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/json-glib/json-glib_1.4.4.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-04-24 13:26:09 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-25 00:05:20 +0100
commit07d29e7cec4e03ef1063f29d03aaf54cdc331489 (patch)
treec6b2b2dcb524840abfd923695269869559f72a11 /meta/recipes-gnome/json-glib/json-glib_1.4.4.bb
parent8833afc0e05445978d942cfdc67f5c805dec9415 (diff)
downloadpoky-07d29e7cec4e03ef1063f29d03aaf54cdc331489.tar.gz
gtk-doc.bbclass: unify option setting for meson-based recipes
This is done similarly to gobject-introspection work by Andreas Müller, and allows dropping duplicate clutter from the recipes. (From OE-Core rev: ff578f4451a0a199202e576b647840910b4d3f59) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/json-glib/json-glib_1.4.4.bb')
-rw-r--r--meta/recipes-gnome/json-glib/json-glib_1.4.4.bb7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/recipes-gnome/json-glib/json-glib_1.4.4.bb b/meta/recipes-gnome/json-glib/json-glib_1.4.4.bb
index 31c008db47..1c663f93e1 100644
--- a/meta/recipes-gnome/json-glib/json-glib_1.4.4.bb
+++ b/meta/recipes-gnome/json-glib/json-glib_1.4.4.bb
@@ -19,13 +19,6 @@ SRC_URI[archive.sha256sum] = "720c5f4379513dc11fd97dc75336eb0c0d3338c53128044d9f
19 19
20PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native" 20PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native"
21 21
22# This builds both API docs (via gtk-doc)
23GTKDOC_ENABLE_FLAG = "-Ddocs=true"
24GTKDOC_DISABLE_FLAG = "-Ddocs=false"
25
26EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \
27 '${GTKDOC_DISABLE_FLAG}', d)} "
28
29do_install_append() { 22do_install_append() {
30 if ! ${@bb.utils.contains('PTEST_ENABLED', '1', 'true', 'false', d)}; then 23 if ! ${@bb.utils.contains('PTEST_ENABLED', '1', 'true', 'false', d)}; then
31 rm -rf ${D}${datadir}/installed-tests ${D}${libexecdir} 24 rm -rf ${D}${datadir}/installed-tests ${D}${libexecdir}