diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-04-24 13:26:09 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-25 00:05:20 +0100 |
commit | 07d29e7cec4e03ef1063f29d03aaf54cdc331489 (patch) | |
tree | c6b2b2dcb524840abfd923695269869559f72a11 /meta/recipes-gnome/json-glib/json-glib_1.4.4.bb | |
parent | 8833afc0e05445978d942cfdc67f5c805dec9415 (diff) | |
download | poky-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.bb | 7 |
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 | ||
20 | PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native" | 20 | PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native" |
21 | 21 | ||
22 | # This builds both API docs (via gtk-doc) | ||
23 | GTKDOC_ENABLE_FLAG = "-Ddocs=true" | ||
24 | GTKDOC_DISABLE_FLAG = "-Ddocs=false" | ||
25 | |||
26 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \ | ||
27 | '${GTKDOC_DISABLE_FLAG}', d)} " | ||
28 | |||
29 | do_install_append() { | 22 | do_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} |