diff options
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb new file mode 100644 index 0000000000..56691aa21f --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.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 | inherit autotools pkgconfig gnomebase distutils-base gobject-introspection | ||
| 7 | |||
| 8 | PYTHON_BASEVERSION = "2.7" | ||
| 9 | PYTHON_PN = "python" | ||
| 10 | |||
| 11 | DEPENDS += "gnome-common-native python glib-2.0" | ||
| 12 | |||
| 13 | SRCNAME="pygobject" | ||
| 14 | SRC_URI = " \ | ||
| 15 | http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \ | ||
| 16 | file://0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch \ | ||
| 17 | " | ||
| 18 | |||
| 19 | SRC_URI[md5sum] = "ed4117ed5d554d25fd7718807fbf819f" | ||
| 20 | SRC_URI[sha256sum] = "08b29cfb08efc80f7a8630a2734dec65a99c1b59f1e5771c671d2e4ed8a5cbe7" | ||
| 21 | |||
| 22 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 23 | |||
| 24 | BBCLASSEXTEND = "native" | ||
| 25 | |||
| 26 | EXTRA_OECONF = "--disable-cairo --with-python=${PYTHON}" | ||
| 27 | |||
| 28 | RDEPENDS_${PN} += "python-setuptools python-importlib" | ||
| 29 | |||
| 30 | do_install_append() { | ||
| 31 | # Remove files that clash with python3-pygobject; their content is same | ||
| 32 | rm ${D}${includedir}/pygobject-3.0/pygobject.h ${D}${libdir}/pkgconfig/pygobject-3.0.pc | ||
| 33 | } | ||
