diff options
Diffstat (limited to 'meta/recipes-devtools/python/python-pygobject_2.28.3.bb')
-rw-r--r-- | meta/recipes-devtools/python/python-pygobject_2.28.3.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-pygobject_2.28.3.bb b/meta/recipes-devtools/python/python-pygobject_2.28.3.bb new file mode 100644 index 0000000000..9dbe47cfc9 --- /dev/null +++ b/meta/recipes-devtools/python/python-pygobject_2.28.3.bb | |||
@@ -0,0 +1,40 @@ | |||
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 | |||
9 | MAJ_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" | ||
10 | |||
11 | SRC_URI = "${GNOME_MIRROR}/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \ | ||
12 | file://obsolete_automake_macros.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[md5sum] = "aa64900b274c4661a5c32e52922977f9" | ||
16 | SRC_URI[sha256sum] = "7da88c169a56efccc516cebd9237da3fe518a343095a664607b368fe21df95b6" | ||
17 | S = "${WORKDIR}/pygobject-${PV}" | ||
18 | |||
19 | FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files" | ||
20 | EXTRA_OECONF += "--disable-introspection" | ||
21 | |||
22 | PARALLEL_MAKEINST = "" | ||
23 | |||
24 | inherit autotools distutils-base pkgconfig | ||
25 | |||
26 | # necessary to let the call for python-config succeed | ||
27 | export BUILD_SYS | ||
28 | export HOST_SYS | ||
29 | export STAGING_INCDIR | ||
30 | export STAGING_LIBDIR | ||
31 | |||
32 | PACKAGES += "${PN}-lib" | ||
33 | |||
34 | RDEPENDS_${PN} += "python-textutils" | ||
35 | |||
36 | FILES_${PN} = "${libdir}/python*" | ||
37 | FILES_${PN}-lib = "${libdir}/lib*.so.*" | ||
38 | FILES_${PN}-dev += "${bindir} ${datadir}" | ||
39 | |||
40 | BBCLASSEXTEND = "native" | ||