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-support/libsoup | |
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-support/libsoup')
-rw-r--r-- | meta/recipes-support/libsoup/libsoup-2.4_2.64.2.bb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.64.2.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.64.2.bb index b095397ec2..e718b2248d 100644 --- a/meta/recipes-support/libsoup/libsoup-2.4_2.64.2.bb +++ b/meta/recipes-support/libsoup/libsoup-2.4_2.64.2.bb | |||
@@ -26,12 +26,7 @@ PACKAGECONFIG[gssapi] = "-Dgssapi=true,-Dgssapi=false,krb5" | |||
26 | 26 | ||
27 | EXTRA_OEMESON_append = " -Dvapi=false" | 27 | EXTRA_OEMESON_append = " -Dvapi=false" |
28 | 28 | ||
29 | GTKDOC_ENABLE_FLAG = "-Ddoc=true" | 29 | GTKDOC_MESON_OPTION = "doc" |
30 | GTKDOC_DISABLE_FLAG = "-Ddoc=false" | ||
31 | |||
32 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \ | ||
33 | '${GTKDOC_DISABLE_FLAG}', d)} " | ||
34 | |||
35 | 30 | ||
36 | # When built without gnome support, libsoup-2.4 will contain only one shared lib | 31 | # When built without gnome support, libsoup-2.4 will contain only one shared lib |
37 | # and will therefore become subject to renaming by debian.bbclass. Prevent | 32 | # and will therefore become subject to renaming by debian.bbclass. Prevent |