summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb
diff options
context:
space:
mode:
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.bb33
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 @@
1SUMMARY = "Python GObject bindings"
2SECTION = "devel/python"
3LICENSE = "LGPLv2.1"
4LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
5
6inherit autotools pkgconfig gnomebase distutils-base gobject-introspection
7
8PYTHON_BASEVERSION = "2.7"
9PYTHON_PN = "python"
10
11DEPENDS += "gnome-common-native python glib-2.0"
12
13SRCNAME="pygobject"
14SRC_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
19SRC_URI[md5sum] = "ed4117ed5d554d25fd7718807fbf819f"
20SRC_URI[sha256sum] = "08b29cfb08efc80f7a8630a2734dec65a99c1b59f1e5771c671d2e4ed8a5cbe7"
21
22S = "${WORKDIR}/${SRCNAME}-${PV}"
23
24BBCLASSEXTEND = "native"
25
26EXTRA_OECONF = "--disable-cairo --with-python=${PYTHON}"
27
28RDEPENDS_${PN} += "python-setuptools python-importlib"
29
30do_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}