mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 11:13:04 +01:00
python3-pygobject: update to 3.32.0
Switch to meson build system. Add a patch to disable tests. Add "introspection" to unknown configure option whitelist, as this recipe needs g-i unconditionally. (From OE-Core rev: 890a460d2ad9bce8f6a1df055e040f334f958673) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1b74389d93
commit
66ecad10ae
33
meta/recipes-devtools/python/python3-pygobject_3.32.0.bb
Normal file
33
meta/recipes-devtools/python/python3-pygobject_3.32.0.bb
Normal file
@@ -0,0 +1,33 @@
|
||||
SUMMARY = "Python GObject bindings"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "LGPLv2.1"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even
|
||||
|
||||
DEPENDS += "python3 glib-2.0"
|
||||
|
||||
SRCNAME="pygobject"
|
||||
SRC_URI = " \
|
||||
http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \
|
||||
file://0001-Do-not-build-tests.patch \
|
||||
"
|
||||
|
||||
UNKNOWN_CONFIGURE_WHITELIST = "introspection"
|
||||
|
||||
SRC_URI[md5sum] = "6e39bca1d19a27cde4435061dd59578a"
|
||||
SRC_URI[sha256sum] = "83f4d7e59fde6bc6b0d39c5e5208574802f759bc525a4cb8e7265dfcba45ef29"
|
||||
|
||||
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}"
|
||||
|
||||
# python3-pycairo is checked on configuration -> DEPENDS
|
||||
# we don't link against python3-pycairo -> RDEPENDS
|
||||
PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python3-pycairo, python3-pycairo"
|
||||
|
||||
RDEPENDS_${PN} += "python3-setuptools"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
PACKAGECONFIG_class-native = ""
|
||||
Reference in New Issue
Block a user