diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-pygobject_3.36.1.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-pygobject_3.36.1.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pygobject_3.36.1.bb b/meta/recipes-devtools/python/python3-pygobject_3.36.1.bb new file mode 100644 index 0000000000..0a34d4373f --- /dev/null +++ b/meta/recipes-devtools/python/python3-pygobject_3.36.1.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | SUMMARY = "Python GObject bindings" | ||
| 2 | SECTION = "devel/python" | ||
| 3 | LICENSE = "LGPLv2.1" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | ||
| 5 | |||
| 6 | GNOMEBASEBUILDCLASS = "meson" | ||
| 7 | inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even | ||
| 8 | |||
| 9 | DEPENDS += "python3 glib-2.0" | ||
| 10 | |||
| 11 | SRCNAME="pygobject" | ||
| 12 | |||
| 13 | SRC_URI = " \ | ||
| 14 | http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \ | ||
| 15 | file://0001-Do-not-build-tests.patch \ | ||
| 16 | " | ||
| 17 | SRC_URI[md5sum] = "ebfebc4533856572281add29f08412bf" | ||
| 18 | SRC_URI[sha256sum] = "d1bf42802d1cec113b5adaa0e7bf7f3745b44521dc2163588d276d5cd61d718f" | ||
| 19 | |||
| 20 | UNKNOWN_CONFIGURE_WHITELIST = "introspection" | ||
| 21 | |||
| 22 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 23 | |||
| 24 | PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}" | ||
| 25 | |||
| 26 | RDEPENDS_${PN} += "python3-pkgutil" | ||
| 27 | |||
| 28 | # python3-pycairo is checked on configuration -> DEPENDS | ||
| 29 | # we don't link against python3-pycairo -> RDEPENDS | ||
| 30 | PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python3-pycairo, python3-pycairo" | ||
| 31 | |||
| 32 | BBCLASSEXTEND = "native" | ||
| 33 | PACKAGECONFIG_class-native = "" | ||
