diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-11-12 13:03:45 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-13 16:11:28 +0000 |
| commit | 7ca8dd76eaad52833f5e67d3c707966e19755e92 (patch) | |
| tree | d71ab04c7bf54fdc984ee963aac80c562d3facbe | |
| parent | 29249b6bc741ce73c50d60b75f99b31ca7450519 (diff) | |
| download | poky-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>
| -rw-r--r-- | meta/recipes-devtools/python/python3-pygobject_3.42.0.bb | 13 |
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" | |||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" |
| 7 | 7 | ||
| 8 | GNOMEBASEBUILDCLASS = "meson" | 8 | GNOMEBASEBUILDCLASS = "meson" |
| 9 | inherit gnomebase distutils3-base upstream-version-is-even | 9 | GIR_MESON_OPTION = "" |
| 10 | 10 | ||
| 11 | DEPENDS += "python3 glib-2.0" | 11 | inherit 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. | ||
| 15 | DEPENDS: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 | 13 | DEPENDS += "python3 glib-2.0" |
| 18 | # needed for m4 macros. | ||
| 19 | DEPENDS:append:class-native = " gobject-introspection-native" | ||
| 20 | DEPENDS:append:class-nativesdk = " gobject-introspection-native" | ||
| 21 | 14 | ||
| 22 | SRCNAME="pygobject" | 15 | SRCNAME="pygobject" |
| 23 | 16 | ||
