diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-19 17:33:49 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-23 17:42:26 +0100 |
| commit | 0ddce9242c9597b4503b137e6cda70a6db966eb0 (patch) | |
| tree | 36d09b0cbd797dce07a1aaf013199b79c715ecce /meta/recipes-devtools/python/python3-pygobject_3.42.0.bb | |
| parent | 35c9953c605958158b61c6985d5d62f179544209 (diff) | |
| download | poky-0ddce9242c9597b4503b137e6cda70a6db966eb0.tar.gz | |
python3-pygobject: upgrade 3.40.1 -> 3.42.0
(From OE-Core rev: b65725375868e9acbe317c3bfbe989d3da300c50)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pygobject_3.42.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-pygobject_3.42.0.bb | 34 |
1 files changed, 34 insertions, 0 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 new file mode 100644 index 0000000000..461ddcfe31 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | SUMMARY = "Python GObject bindings" | ||
| 2 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/pygobject" | ||
| 3 | DESCRIPTION = "PyGObject is a Python package which provides bindings for GObject based libraries such as GTK, GStreamer, WebKitGTK, GLib, GIO and many more." | ||
| 4 | SECTION = "devel/python" | ||
| 5 | LICENSE = "LGPLv2.1" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | ||
| 7 | |||
| 8 | GNOMEBASEBUILDCLASS = "meson" | ||
| 9 | inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even | ||
| 10 | |||
| 11 | DEPENDS += "python3 glib-2.0" | ||
| 12 | |||
| 13 | SRCNAME="pygobject" | ||
| 14 | |||
| 15 | SRC_URI = " \ | ||
| 16 | http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \ | ||
| 17 | file://0001-Do-not-build-tests.patch \ | ||
| 18 | " | ||
| 19 | SRC_URI[sha256sum] = "9b12616e32cfc792f9dc841d9c472a41a35b85ba67d3a6eb427e307a6fe4367b" | ||
| 20 | |||
| 21 | UNKNOWN_CONFIGURE_WHITELIST = "introspection" | ||
| 22 | |||
| 23 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 24 | |||
| 25 | PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}" | ||
| 26 | |||
| 27 | RDEPENDS:${PN} += "python3-pkgutil" | ||
| 28 | |||
| 29 | # python3-pycairo is checked on configuration -> DEPENDS | ||
| 30 | # we don't link against python3-pycairo -> RDEPENDS | ||
| 31 | PACKAGECONFIG[cairo] = "-Dpycairo=enabled,-Dpycairo=disabled, cairo python3-pycairo, python3-pycairo" | ||
| 32 | |||
| 33 | BBCLASSEXTEND = "native" | ||
| 34 | PACKAGECONFIG:class-native = "" | ||
