2009-06-10 11:21:24 +00:00
|
|
|
DESCRIPTION = "Python GObject bindings"
|
|
|
|
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"
|
2010-12-31 10:07:04 +00:00
|
|
|
DEPENDS_virtclass-native = "glib-2.0-native"
|
|
|
|
RDEPENDS_virtclass-native = ""
|
2011-10-31 12:51:51 +00:00
|
|
|
PR = "r3"
|
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
|
|
|
|
2011-03-22 18:39:49 +00:00
|
|
|
SRC_URI = "${GNOME_MIRROR}/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2011-05-23 22:42:18 +00:00
|
|
|
SRC_URI[md5sum] = "2b11a3050264721aac83188224b093a8"
|
|
|
|
SRC_URI[sha256sum] = "a1dffbe2a8e0d490594554ed8d06f0ee4a371acb6c210e7f35158e9ae77e0df4"
|
2009-06-10 11:21:24 +00:00
|
|
|
S = "${WORKDIR}/pygobject-${PV}"
|
|
|
|
|
|
|
|
FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files"
|
2010-12-21 09:07:06 +00:00
|
|
|
EXTRA_OECONF += "--disable-introspection"
|
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"
|