2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "Python GObject bindings"
|
2009-06-10 11:21:24 +00:00
|
|
|
SECTION = "devel/python"
|
2010-11-26 01:28:33 +00:00
|
|
|
LICENSE = "LGPLv2.1"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
|
2011-09-27 11:08:47 +00:00
|
|
|
DEPENDS = "python python-pygobject-native glib-2.0"
|
2013-05-16 11:44:39 +00:00
|
|
|
DEPENDS_class-native = "python-native glib-2.0-native"
|
2012-10-27 08:48:17 +00:00
|
|
|
RDEPENDS_class-native = ""
|
2009-06-10 11:21:24 +00:00
|
|
|
|
Convert to use direct access to the data store (instead of bb.data.*Var*())
This is the result of running the following over the metadata:
sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`
(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-09 15:00:01 +00:00
|
|
|
MAJ_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
|
2009-06-10 11:21:24 +00:00
|
|
|
|
2013-01-10 09:59:55 +00:00
|
|
|
SRC_URI = "${GNOME_MIRROR}/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \
|
|
|
|
file://obsolete_automake_macros.patch \
|
|
|
|
"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2014-04-28 11:12:02 +00:00
|
|
|
SRC_URI[md5sum] = "aa64900b274c4661a5c32e52922977f9"
|
|
|
|
SRC_URI[sha256sum] = "7da88c169a56efccc516cebd9237da3fe518a343095a664607b368fe21df95b6"
|
2009-06-10 11:21:24 +00:00
|
|
|
S = "${WORKDIR}/pygobject-${PV}"
|
|
|
|
|
2010-12-21 09:07:06 +00:00
|
|
|
EXTRA_OECONF += "--disable-introspection"
|
2009-06-10 11:21:24 +00:00
|
|
|
|
2013-06-19 10:33:07 +00:00
|
|
|
PARALLEL_MAKEINST = ""
|
|
|
|
|
2009-06-10 11:21:24 +00:00
|
|
|
inherit autotools distutils-base pkgconfig
|
|
|
|
|
|
|
|
# necessary to let the call for python-config succeed
|
|
|
|
export BUILD_SYS
|
|
|
|
export HOST_SYS
|
2009-06-16 22:37:22 +00:00
|
|
|
export STAGING_INCDIR
|
|
|
|
export STAGING_LIBDIR
|
2009-06-10 11:21:24 +00:00
|
|
|
|
|
|
|
PACKAGES += "${PN}-lib"
|
|
|
|
|
|
|
|
RDEPENDS_${PN} += "python-textutils"
|
|
|
|
|
|
|
|
FILES_${PN} = "${libdir}/python*"
|
|
|
|
FILES_${PN}-lib = "${libdir}/lib*.so.*"
|
|
|
|
FILES_${PN}-dev += "${bindir} ${datadir}"
|
2010-12-23 00:41:31 +00:00
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|