[oe] [meta-oe][PATCH 1/2] gobject-introspection: add newer git version compatible with glib-2.0_git

Khem Raj raj.khem at gmail.com
Thu Jun 2 21:52:37 UTC 2011


On Thursday, June 02, 2011 11:51:34 AM Martin Jansa 
wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
>  .../gobject-introspection_git.bb                   |   
33
> ++++++++++++++++++++ 1 files changed, 33 
insertions(+), 0 deletions(-)
>  create mode 100644
> meta-oe/recipes-devtools/gobject-
introspection/gobject-introspection_git.b
> b
> 
> diff --git
> a/meta-oe/recipes-devtools/gobject-
introspection/gobject-introspection_git
> .bb
> b/meta-oe/recipes-devtools/gobject-
introspection/gobject-introspection_git
> .bb new file mode 100644
> index 0000000..2a7f30c
> --- /dev/null
> +++
> b/meta-oe/recipes-devtools/gobject-
introspection/gobject-introspection_git
> .bb @@ -0,0 +1,33 @@
> +# NOTE: WIP! This recipe does not cross-compile 
atm., only -native
> +DEPENDS = "glib-2.0 libffi python-native gobject-
introspection-native"
> +DEPENDS_virtclass-native = "libffi-native python-
native bison-native
> flex-native" +BBCLASSEXTEND = "native"
> +
> +SRC_URI = "git://git.gnome.org/gobject-
introspection;protocol=git \
> +  file://use-usr-bin-env-for-python.patch \
> +"
> +
> +LICENSE = "GPLv2+ & LGPLv2+"
> +LIC_FILES_CHKSUM =
> 
"file://COPYING.tools;md5=94d55d512a9ba36caa9b7df079bae19f 
\ +		   
> 
file://COPYING.lib;md5=3bf50002aefd002f49e7bb854063f7e7"
> +
> +SRCREV = "8d64bc23d2b837421ecf9c7b0e4b8d5d95ca0d21"
> +PV = "1.29.0+gitr${SRCPV}"
> +DEFAULT_PREFERENCE = "-1"

why DP -1

> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools
> +
> +BBCLASSEXTEND = "native"
> +
> +do_configure_prepend () {
> +        echo "EXTRA_DIST = " > ${S}/gtk-doc.make
> +}
> +
> +EXTRA_OECONF = "\
> +  --disable-gtk-doc \
> +  --disable-gtk-doc-html \
> +  --disable-gtk-doc-pdf \
> +  --disable-tests \
> +"




More information about the Openembedded-devel mailing list