summaryrefslogtreecommitdiff
path: root/recipes/python/python-pygobject-native_2.20.0.bb
blob: 918ffa264320c1d330080db3a75fc9c913f9d9c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require python-pygobject_${PV}.bb

DEPENDS = "python-native glib-2.0-native"

PARALLEL_MAKE = ""

inherit native

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

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_stage_append() {
	install -d ${STAGING_BINDIR}
	install -m 0755 gobject/generate-constants ${STAGING_BINDIR}/gobject-generate-constants
}