diff options
Diffstat (limited to 'meta/recipes-devtools/python/python-pygobject_2.27.91.bb')
-rw-r--r-- | meta/recipes-devtools/python/python-pygobject_2.27.91.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-pygobject_2.27.91.bb b/meta/recipes-devtools/python/python-pygobject_2.27.91.bb new file mode 100644 index 0000000000..49ee1083cf --- /dev/null +++ b/meta/recipes-devtools/python/python-pygobject_2.27.91.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "Python GObject bindings" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "LGPLv2.1" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | ||
5 | DEPENDS = "python python-pygobject-native glib-2.0" | ||
6 | DEPENDS_class-native = "python-native glib-2.0-native" | ||
7 | RDEPENDS_class-native = "" | ||
8 | PR = "r6" | ||
9 | |||
10 | MAJ_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" | ||
11 | |||
12 | SRC_URI = "${GNOME_MIRROR}/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \ | ||
13 | file://obsolete_automake_macros.patch \ | ||
14 | " | ||
15 | |||
16 | SRC_URI[md5sum] = "2b11a3050264721aac83188224b093a8" | ||
17 | SRC_URI[sha256sum] = "a1dffbe2a8e0d490594554ed8d06f0ee4a371acb6c210e7f35158e9ae77e0df4" | ||
18 | S = "${WORKDIR}/pygobject-${PV}" | ||
19 | |||
20 | FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files" | ||
21 | EXTRA_OECONF += "--disable-introspection" | ||
22 | |||
23 | PARALLEL_MAKEINST = "" | ||
24 | |||
25 | inherit autotools distutils-base pkgconfig | ||
26 | |||
27 | # necessary to let the call for python-config succeed | ||
28 | export BUILD_SYS | ||
29 | export HOST_SYS | ||
30 | export STAGING_INCDIR | ||
31 | export STAGING_LIBDIR | ||
32 | |||
33 | PACKAGES += "${PN}-lib" | ||
34 | |||
35 | RDEPENDS_${PN} += "python-textutils" | ||
36 | |||
37 | FILES_${PN} = "${libdir}/python*" | ||
38 | FILES_${PN}-lib = "${libdir}/lib*.so.*" | ||
39 | FILES_${PN}-dev += "${bindir} ${datadir}" | ||
40 | |||
41 | BBCLASSEXTEND = "native" | ||