summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/pango
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:15 +0100
commitff578f4451a0a199202e576b647840910b4d3f59 (patch)
treee7c457effd4583d79a22c82f88798744a34a6a73 /meta/recipes-graphics/pango
parent8becde63763027037d40ef82dd6678721e6d90d4 (diff)
downloadopenembedded-core-contrib-ff578f4451a0a199202e576b647840910b4d3f59.tar.gz
openembedded-core-contrib-ff578f4451a0a199202e576b647840910b4d3f59.tar.bz2
openembedded-core-contrib-ff578f4451a0a199202e576b647840910b4d3f59.zip
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. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/pango')
-rw-r--r--meta/recipes-graphics/pango/pango_1.42.4.bb5
1 files changed, 1 insertions, 4 deletions
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
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
PACKAGECONFIG[x11] = ",,virtual/libx11 libxft"
-GTKDOC_ENABLE_FLAG = "-Denable_docs=true"
-GTKDOC_DISABLE_FLAG = "-Denable_docs=false"
-EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \
- '${GTKDOC_DISABLE_FLAG}', d)} "
+GTKDOC_MESON_OPTION = "enable_docs"
GIR_MESON_OPTION = 'gir'
LEAD_SONAME = "libpango-1.0*"