diff options
| author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2019-09-16 01:41:29 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-09-16 07:10:03 -0700 |
| commit | 7cd6cf7035375204780310cde3e295f52d4a6b53 (patch) | |
| tree | 3a71828613c6f6062d3cc6357e5b3b19690b7d01 /meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb | |
| parent | b779db68a61ac7b814a95bac191c9d9726e5cea1 (diff) | |
| download | meta-openembedded-7cd6cf7035375204780310cde3e295f52d4a6b53.tar.gz | |
python-pyobject: update to 3.34.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb new file mode 100644 index 0000000000..0cbd07f666 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | SUMMARY = "Python GObject bindings" | ||
| 2 | HOMEPAGE = "http://www.pygtk.org/" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "LGPLv2.1" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | ||
| 6 | |||
| 7 | GNOMEBASEBUILDCLASS = "meson" | ||
| 8 | inherit gnomebase gobject-introspection distutils-base upstream-version-is-even | ||
| 9 | |||
| 10 | DEPENDS += "python glib-2.0" | ||
| 11 | |||
| 12 | SRCNAME = "pygobject" | ||
| 13 | SRC_URI = " \ | ||
| 14 | http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \ | ||
| 15 | file://0001-python-pyobject-fix-install-dir.patch \ | ||
| 16 | " | ||
| 17 | |||
| 18 | SRC_URI[md5sum] = "ca1dc4f31c1d6d283758e8f315a88ab6" | ||
| 19 | SRC_URI[sha256sum] = "87e2c9aa785f352ef111dcc5f63df9b85cf6e05e52ff04f803ffbebdacf5271a" | ||
| 20 | |||
| 21 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 22 | |||
| 23 | UNKNOWN_CONFIGURE_WHITELIST = "introspection" | ||
| 24 | |||
| 25 | PACKAGECONFIG ??= "stagedir" | ||
| 26 | |||
| 27 | PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python-pycairo, python-pycairo" | ||
| 28 | PACKAGECONFIG[tests] = "-Dtests=true, -Dtests=false, , " | ||
| 29 | PACKAGECONFIG[python] = "-Dpython=python3, -Dpython=python2, , " | ||
| 30 | PACKAGECONFIG[stagedir] = "-Dstagedir=${PYTHON_SITEPACKAGES_DIR}, -Dstagedir="", , " | ||
| 31 | |||
| 32 | BBCLASSEXTEND = "native" | ||
| 33 | RDEPENDS_${PN} = "python-pkgutil" | ||
| 34 | RDEPENDS_${PN}_class-native = "" | ||
| 35 | |||
| 36 | do_install_append() { | ||
| 37 | # Remove files that clash with python3-pygobject; their content is same | ||
| 38 | rm -r ${D}${includedir}/pygobject-3.0/pygobject.h ${D}${libdir}/pkgconfig | ||
| 39 | } | ||
