summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/atk
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-support/atk
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-support/atk')
-rw-r--r--meta/recipes-support/atk/at-spi2-core_2.30.0.bb6
-rw-r--r--meta/recipes-support/atk/atk_2.30.0.bb6
2 files changed, 1 insertions, 11 deletions
diff --git a/meta/recipes-support/atk/at-spi2-core_2.30.0.bb b/meta/recipes-support/atk/at-spi2-core_2.30.0.bb
index 36e8a9ef48..cfe0ddeef2 100644
--- a/meta/recipes-support/atk/at-spi2-core_2.30.0.bb
+++ b/meta/recipes-support/atk/at-spi2-core_2.30.0.bb
@@ -22,11 +22,7 @@ inherit meson gtk-doc gettext systemd pkgconfig upstream-version-is-even gobject
22EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ 22EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \
23 -Ddbus_daemon=${bindir}/dbus-daemon" 23 -Ddbus_daemon=${bindir}/dbus-daemon"
24 24
25GTKDOC_ENABLE_FLAG = "-Denable_docs=true" 25GTKDOC_MESON_OPTION = "enable_docs"
26GTKDOC_DISABLE_FLAG = "-Denable_docs=false"
27
28EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \
29 '${GTKDOC_DISABLE_FLAG}', d)} "
30 26
31GIR_MESON_OPTION = 'enable-introspection' 27GIR_MESON_OPTION = 'enable-introspection'
32GIR_MESON_ENABLE_FLAG = 'yes' 28GIR_MESON_ENABLE_FLAG = 'yes'
diff --git a/meta/recipes-support/atk/atk_2.30.0.bb b/meta/recipes-support/atk/atk_2.30.0.bb
index 84fdb1510a..4e22b3f811 100644
--- a/meta/recipes-support/atk/atk_2.30.0.bb
+++ b/meta/recipes-support/atk/atk_2.30.0.bb
@@ -14,12 +14,6 @@ DEPENDS = "gettext-native glib-2.0"
14GNOMEBASEBUILDCLASS = "meson" 14GNOMEBASEBUILDCLASS = "meson"
15inherit gnomebase gtk-doc gettext upstream-version-is-even gobject-introspection 15inherit gnomebase gtk-doc gettext upstream-version-is-even gobject-introspection
16 16
17GTKDOC_ENABLE_FLAG = "-Ddocs=true"
18GTKDOC_DISABLE_FLAG = "-Ddocs=false"
19
20EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \
21 '${GTKDOC_DISABLE_FLAG}', d)} "
22
23SRC_URI_append = " \ 17SRC_URI_append = " \
24 file://0001-meson.build-enable-introspection-for-cross-compile.patch \ 18 file://0001-meson.build-enable-introspection-for-cross-compile.patch \
25 file://0001-Switch-from-filename-to-basename.patch \ 19 file://0001-Switch-from-filename-to-basename.patch \