summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
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-graphics
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-graphics')
-rw-r--r--meta/recipes-graphics/clutter/clutter-gtk-1.0.inc6
-rw-r--r--meta/recipes-graphics/pango/pango_1.42.4.bb5
2 files changed, 2 insertions, 9 deletions
diff --git a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
index 5f7daf8124..11826a6f0c 100644
--- a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
@@ -13,10 +13,6 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
13DEPENDS = "clutter-1.0 gtk+3" 13DEPENDS = "clutter-1.0 gtk+3"
14PACKAGES =+ "${PN}-examples" 14PACKAGES =+ "${PN}-examples"
15 15
16GTKDOC_ENABLE_FLAG = "-Denable_docs=true" 16GTKDOC_MESON_OPTION = "enable_docs"
17GTKDOC_DISABLE_FLAG = "-Denable_docs=false"
18
19EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \
20 '${GTKDOC_DISABLE_FLAG}', d)} "
21 17
22GIR_MESON_OPTION = 'enable_gi' 18GIR_MESON_OPTION = 'enable_gi'
diff --git a/meta/recipes-graphics/pango/pango_1.42.4.bb b/meta/recipes-graphics/pango/pango_1.42.4.bb
index f3be9f44e1..58e1f41be5 100644
--- a/meta/recipes-graphics/pango/pango_1.42.4.bb
+++ b/meta/recipes-graphics/pango/pango_1.42.4.bb
@@ -26,10 +26,7 @@ DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo h
26PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" 26PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
27PACKAGECONFIG[x11] = ",,virtual/libx11 libxft" 27PACKAGECONFIG[x11] = ",,virtual/libx11 libxft"
28 28
29GTKDOC_ENABLE_FLAG = "-Denable_docs=true" 29GTKDOC_MESON_OPTION = "enable_docs"
30GTKDOC_DISABLE_FLAG = "-Denable_docs=false"
31EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \
32 '${GTKDOC_DISABLE_FLAG}', d)} "
33GIR_MESON_OPTION = 'gir' 30GIR_MESON_OPTION = 'gir'
34 31
35LEAD_SONAME = "libpango-1.0*" 32LEAD_SONAME = "libpango-1.0*"