diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-06-02 15:46:03 +0200 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-02 21:07:27 +0200 |
| commit | 6136b9f7544319b107b599fcb5ec8bea4fa08dca (patch) | |
| tree | 768be8bd1fe0a86f6c093e8c87712009ee47c2c5 /meta-oe/recipes-gnome | |
| parent | 6f3ca440cb00622ae42433a4088c59eb11fb0bb3 (diff) | |
| download | meta-openembedded-6136b9f7544319b107b599fcb5ec8bea4fa08dca.tar.gz | |
gobject-introspection: move to recipes-gnome to match oe-core structure
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-gnome')
3 files changed, 85 insertions, 0 deletions
diff --git a/meta-oe/recipes-gnome/gnome/gobject-introspection/use-usr-bin-env-for-python.patch b/meta-oe/recipes-gnome/gnome/gobject-introspection/use-usr-bin-env-for-python.patch new file mode 100644 index 0000000000..67b85470d3 --- /dev/null +++ b/meta-oe/recipes-gnome/gnome/gobject-introspection/use-usr-bin-env-for-python.patch | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | Index: gobject-introspection-0.9.10/tools/g-ir-annotation-tool.in | ||
| 2 | =================================================================== | ||
| 3 | --- gobject-introspection-0.9.10.orig/tools/g-ir-annotation-tool.in | ||
| 4 | +++ gobject-introspection-0.9.10/tools/g-ir-annotation-tool.in | ||
| 5 | @@ -1,4 +1,4 @@ | ||
| 6 | -#!@PYTHON@ | ||
| 7 | +#!/usr/bin/env python | ||
| 8 | # -*- Mode: Python -*- | ||
| 9 | # GObject-Introspection - a framework for introspecting GObject libraries | ||
| 10 | # Copyright (C) 2008 Johan Dahlin | ||
| 11 | Index: gobject-introspection-0.9.10/tools/g-ir-scanner.in | ||
| 12 | =================================================================== | ||
| 13 | --- gobject-introspection-0.9.10.orig/tools/g-ir-scanner.in | ||
| 14 | +++ gobject-introspection-0.9.10/tools/g-ir-scanner.in | ||
| 15 | @@ -1,4 +1,4 @@ | ||
| 16 | -#!@PYTHON@ | ||
| 17 | +#!/usr/bin/env python | ||
| 18 | # -*- Mode: Python -*- | ||
| 19 | # GObject-Introspection - a framework for introspecting GObject libraries | ||
| 20 | # Copyright (C) 2008 Johan Dahlin | ||
diff --git a/meta-oe/recipes-gnome/gnome/gobject-introspection_0.9.10.bb b/meta-oe/recipes-gnome/gnome/gobject-introspection_0.9.10.bb new file mode 100644 index 0000000000..f1a46a10b2 --- /dev/null +++ b/meta-oe/recipes-gnome/gnome/gobject-introspection_0.9.10.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | # NOTE: WIP! This recipe does not cross-compile atm., only -native | ||
| 2 | SECTION = "libs" | ||
| 3 | DEPENDS = "glib-2.0 libffi bison-native" | ||
| 4 | BBCLASSEXTEND = "native" | ||
| 5 | PR = "r1" | ||
| 6 | |||
| 7 | LICENSE = "GPLv2+ & LGPLv2+" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=90d577535a3898e1ae5dbf0ae3509a8c \ | ||
| 9 | file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
| 10 | file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7" | ||
| 11 | |||
| 12 | SRC_URI[md5sum] = "e5cd63d6bcc5c105e898e7c33cf42175" | ||
| 13 | SRC_URI[sha256sum] = "4bf244db75df04499dea704e7734376c0fc5a3a17fb59be2123c8d76111e6fb8" | ||
| 14 | |||
| 15 | SRC_URI = "\ | ||
| 16 | ${GNOME_MIRROR}/gobject-introspection/0.9/${BPN}-${PV}.tar.bz2 \ | ||
| 17 | file://use-usr-bin-env-for-python.patch \ | ||
| 18 | " | ||
| 19 | S = "${WORKDIR}/${BPN}-${PV}" | ||
| 20 | |||
| 21 | inherit autotools | ||
| 22 | |||
| 23 | do_configure_prepend() { | ||
| 24 | touch -f gtk-doc.make | ||
| 25 | } | ||
| 26 | |||
| 27 | EXTRA_OECONF = "\ | ||
| 28 | --disable-gtk-doc \ | ||
| 29 | --disable-gtk-doc-html \ | ||
| 30 | --disable-gtk-doc-pdf \ | ||
| 31 | --disable-tests \ | ||
| 32 | " | ||
diff --git a/meta-oe/recipes-gnome/gnome/gobject-introspection_git.bb b/meta-oe/recipes-gnome/gnome/gobject-introspection_git.bb new file mode 100644 index 0000000000..2a7f30c11c --- /dev/null +++ b/meta-oe/recipes-gnome/gnome/gobject-introspection_git.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | # NOTE: WIP! This recipe does not cross-compile atm., only -native | ||
| 2 | DEPENDS = "glib-2.0 libffi python-native gobject-introspection-native" | ||
| 3 | DEPENDS_virtclass-native = "libffi-native python-native bison-native flex-native" | ||
| 4 | BBCLASSEXTEND = "native" | ||
| 5 | |||
| 6 | SRC_URI = "git://git.gnome.org/gobject-introspection;protocol=git \ | ||
| 7 | file://use-usr-bin-env-for-python.patch \ | ||
| 8 | " | ||
| 9 | |||
| 10 | LICENSE = "GPLv2+ & LGPLv2+" | ||
| 11 | LIC_FILES_CHKSUM = "file://COPYING.tools;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
| 12 | file://COPYING.lib;md5=3bf50002aefd002f49e7bb854063f7e7" | ||
| 13 | |||
| 14 | SRCREV = "8d64bc23d2b837421ecf9c7b0e4b8d5d95ca0d21" | ||
| 15 | PV = "1.29.0+gitr${SRCPV}" | ||
| 16 | DEFAULT_PREFERENCE = "-1" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | |||
| 20 | inherit autotools | ||
| 21 | |||
| 22 | BBCLASSEXTEND = "native" | ||
| 23 | |||
| 24 | do_configure_prepend () { | ||
| 25 | echo "EXTRA_DIST = " > ${S}/gtk-doc.make | ||
| 26 | } | ||
| 27 | |||
| 28 | EXTRA_OECONF = "\ | ||
| 29 | --disable-gtk-doc \ | ||
| 30 | --disable-gtk-doc-html \ | ||
| 31 | --disable-gtk-doc-pdf \ | ||
| 32 | --disable-tests \ | ||
| 33 | " | ||
