aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/python/python-pygobject-native_2.20.0.bb
blob: dc2bcad2f6e52b48e91ae8d806b4fadd24b72633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require python-pygobject_${PV}.bb

inherit native

DEPENDS = "python-native glib-2.0-native"
RDEPENDS_${PN} = ""

PARALLEL_MAKE = ""

SRC_URI = "\
  ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \
#  file://python-path.patch \
"

export GOBJECT_INTROSPECTION_CFLAGS="-pthread -I${STAGING_INCDIR}/gobject-introspection-1.0 -I${STAGING_INCDIR}/glib-2.0 -I${STAGING_LIBDIR}/glib-2.0/include"

do_configure_prepend() {
	unset PYTHONPATH
}

do_install_append() {
	install -d ${D}${bindir}
	install -m 0755 gobject/generate-constants ${D}${bindir}/gobject-generate-constants
}

SRC_URI[md5sum] = "10e1fb79be3d698476a28b1e1b0c5640"
SRC_URI[sha256sum] = "41e923a3f4426a3e19f6d154c424e3dac6f39defca77af602ac6272ce270fa81"