summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pygobject_3.40.1.bb
diff options
context:
space:
mode:
authorzhengruoqin <zhengrq.fnst@fujitsu.com>2021-04-16 19:23:46 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-18 11:37:26 +0100
commit7117390a4213cfe346c5d7eea7e06dab2701dc82 (patch)
tree26f936cc5ba57e48e524706b80c0ad88a326abf4 /meta/recipes-devtools/python/python3-pygobject_3.40.1.bb
parenta369684a851d6a3fe198b2be7ab0d49bf1f5cd67 (diff)
downloadpoky-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.bb34
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 @@
1SUMMARY = "Python GObject bindings"
2HOMEPAGE = "https://gitlab.gnome.org/GNOME/pygobject"
3DESCRIPTION = "PyGObject is a Python package which provides bindings for GObject based libraries such as GTK, GStreamer, WebKitGTK, GLib, GIO and many more."
4SECTION = "devel/python"
5LICENSE = "LGPLv2.1"
6LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
7
8GNOMEBASEBUILDCLASS = "meson"
9inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even
10
11DEPENDS += "python3 glib-2.0"
12
13SRCNAME="pygobject"
14
15SRC_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"
19SRC_URI[sha256sum] = "00c6d591f4cb40c335ab1fd3e8c17869ba15cfda54416fe363290af766790035"
20
21UNKNOWN_CONFIGURE_WHITELIST = "introspection"
22
23S = "${WORKDIR}/${SRCNAME}-${PV}"
24
25PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}"
26
27RDEPENDS_${PN} += "python3-pkgutil"
28
29# python3-pycairo is checked on configuration -> DEPENDS
30# we don't link against python3-pycairo -> RDEPENDS
31PACKAGECONFIG[cairo] = "-Dpycairo=enabled,-Dpycairo=disabled, cairo python3-pycairo, python3-pycairo"
32
33BBCLASSEXTEND = "native"
34PACKAGECONFIG_class-native = ""