diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-devtools/python/python-pygobject_2.28.3.bb | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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 | 39 |
1 files changed, 39 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..45a0603eb7 --- /dev/null +++ b/meta/recipes-devtools/python/python-pygobject_2.28.3.bb | |||
@@ -0,0 +1,39 @@ | |||
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 libffi glib-2.0" | ||
6 | DEPENDS_class-native = "python-native libffi-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 | EXTRA_OECONF += "--disable-introspection" | ||
20 | |||
21 | PARALLEL_MAKEINST = "" | ||
22 | |||
23 | inherit autotools distutils-base pkgconfig | ||
24 | |||
25 | # necessary to let the call for python-config succeed | ||
26 | export BUILD_SYS | ||
27 | export HOST_SYS | ||
28 | export STAGING_INCDIR | ||
29 | export STAGING_LIBDIR | ||
30 | |||
31 | PACKAGES += "${PN}-lib" | ||
32 | |||
33 | RDEPENDS_${PN} += "python-textutils" | ||
34 | |||
35 | FILES_${PN} = "${libdir}/python*" | ||
36 | FILES_${PN}-lib = "${libdir}/lib*.so.*" | ||
37 | FILES_${PN}-dev += "${bindir} ${datadir}" | ||
38 | |||
39 | BBCLASSEXTEND = "native" | ||