diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-04-10 13:24:47 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2011-04-10 14:43:41 +0200 |
| commit | 89500c583e0f1dc1b4ffdf72914e08e505e427e0 (patch) | |
| tree | b073036cc61aa34ca5ac9eec4d617366e0dcb3d5 /meta-oe/recipes-devtools/gdbus-binding-tool/gdbus-binding-tool_git.bb | |
| parent | e66079da37992abd54486488aa06a99bf7a4198c (diff) | |
| download | meta-openembedded-89500c583e0f1dc1b4ffdf72914e08e505e427e0.tar.gz | |
recipes,classes: import a lot of recipes from meta-shr
* tested on shr-lite-image for om-gta02 and nokia900 (with meta-shr layer)
Diffstat (limited to 'meta-oe/recipes-devtools/gdbus-binding-tool/gdbus-binding-tool_git.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/gdbus-binding-tool/gdbus-binding-tool_git.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/gdbus-binding-tool/gdbus-binding-tool_git.bb b/meta-oe/recipes-devtools/gdbus-binding-tool/gdbus-binding-tool_git.bb new file mode 100644 index 0000000000..286434de64 --- /dev/null +++ b/meta-oe/recipes-devtools/gdbus-binding-tool/gdbus-binding-tool_git.bb | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | DESCRIPTION = "gdbus-binding-tool is used to generate C code for interacting with remote objects using D-Bus." | ||
| 2 | DEPENDS = "glib-2.0 gdbus-binding-tool-native" | ||
| 3 | DEPENDS_virtclass-native = "glib-2.0-native" | ||
| 4 | RDEPENDS_${PN} = "glib-2.0-utils" | ||
| 5 | # taken from glib where this is supposed to be moved later | ||
| 6 | LICENSE = "LGPLv2+ & BSD & public domain" | ||
| 7 | LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" | ||
| 8 | |||
| 9 | PR = "r2" | ||
| 10 | |||
| 11 | inherit autotools pkgconfig | ||
| 12 | |||
| 13 | SRC_URI = "git://anongit.freedesktop.org/~david/${BPN};protocol=git;branch=master \ | ||
| 14 | file://COPYING" | ||
| 15 | SRCREV = "229fd9adbb6bd9d824b38a3bd092229016540f41" | ||
| 16 | PV = "0.1+gitr${SRCPV}" | ||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | do_configure() { | ||
| 20 | # missing ${topdir}/gtk-doc.make and --disable-gtk-doc* is not enough | ||
| 21 | sed -i '/^doc\/Makefile/d' ${S}/configure.ac | ||
| 22 | sed -i 's/SUBDIRS = src doc/SUBDIRS = src/g' ${S}/Makefile.am | ||
| 23 | |||
| 24 | # cannot execute target binary, so use staged native | ||
| 25 | sed -i "s#\$(top_builddir)/src/gdbus-codegen#${STAGING_BINDIR_NATIVE}/gdbus-codegen#g" ${S}/src/Makefile.am | ||
| 26 | |||
| 27 | autotools_do_configure | ||
| 28 | } | ||
| 29 | do_configure_virtclass-native() { | ||
| 30 | # missing ${topdir}/gtk-doc.make and --disable-gtk-doc* is not enough | ||
| 31 | sed -i '/^doc\/Makefile/d' ${S}/configure.ac | ||
| 32 | sed -i 's/SUBDIRS = src doc/SUBDIRS = src/g' ${S}/Makefile.am | ||
| 33 | |||
| 34 | autotools_do_configure | ||
| 35 | } | ||
| 36 | |||
| 37 | BBCLASSEXTEND = "native" | ||
