summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-11-12 13:03:45 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-13 16:11:28 +0000
commit7ca8dd76eaad52833f5e67d3c707966e19755e92 (patch)
treed71ab04c7bf54fdc984ee963aac80c562d3facbe /meta/recipes-devtools
parent29249b6bc741ce73c50d60b75f99b31ca7450519 (diff)
downloadpoky-7ca8dd76eaad52833f5e67d3c707966e19755e92.tar.gz
python3-pygobject: Improve introspection handling
meson 0.60 turns unknown options into them hard errors. Do not add -Dintrospection by using the new configuration option. (From OE-Core rev: a2023319eb315ba71f6c6699d2068e51524a2908) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python3-pygobject_3.42.0.bb13
1 files changed, 3 insertions, 10 deletions
diff --git a/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb b/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb
index 7ff7c5b4dd..b07969c5ef 100644
--- a/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb
+++ b/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb
@@ -6,18 +6,11 @@ LICENSE = "LGPLv2.1"
6LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" 6LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
7 7
8GNOMEBASEBUILDCLASS = "meson" 8GNOMEBASEBUILDCLASS = "meson"
9inherit gnomebase distutils3-base upstream-version-is-even 9GIR_MESON_OPTION = ""
10 10
11DEPENDS += "python3 glib-2.0" 11inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even
12
13# Generating introspection data depends on a combination of native and target
14# introspection tools, and qemu to run the target tools.
15DEPENDS:append:class-target = " gobject-introspection gobject-introspection-native qemu-native prelink-native"
16 12
17# Even though introspection is disabled on -native, gobject-introspection package is still 13DEPENDS += "python3 glib-2.0"
18# needed for m4 macros.
19DEPENDS:append:class-native = " gobject-introspection-native"
20DEPENDS:append:class-nativesdk = " gobject-introspection-native"
21 14
22SRCNAME="pygobject" 15SRCNAME="pygobject"
23 16