diff options
author | zhengruoqin <zhengrq.fnst@fujitsu.com> | 2021-04-16 19:23:46 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-18 11:37:26 +0100 |
commit | 7117390a4213cfe346c5d7eea7e06dab2701dc82 (patch) | |
tree | 26f936cc5ba57e48e524706b80c0ad88a326abf4 /meta/recipes-devtools/python/python3-pygobject_3.40.1.bb | |
parent | a369684a851d6a3fe198b2be7ab0d49bf1f5cd67 (diff) | |
download | poky-7117390a4213cfe346c5d7eea7e06dab2701dc82.tar.gz |
python3-pygobject: upgrade 3.38.0 -> 3.40.1
(From OE-Core rev: 3a274301edc359fba086e36da1272af93d59d178)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pygobject_3.40.1.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-pygobject_3.40.1.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pygobject_3.40.1.bb b/meta/recipes-devtools/python/python3-pygobject_3.40.1.bb new file mode 100644 index 0000000000..f5679a4ba2 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pygobject_3.40.1.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] = "00c6d591f4cb40c335ab1fd3e8c17869ba15cfda54416fe363290af766790035" | ||
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 = "" | ||