From 6b4c82f4657bdb56e6b7a56651d6d4bb91a35b8f Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 26 Jun 2014 13:29:32 +0200 Subject: initial commit for Enea Linux 4.0 Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau --- meta-eca/recipes-connectivity/ofono/ofono_git.bb | 32 ++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-eca/recipes-connectivity/ofono/ofono_git.bb (limited to 'meta-eca/recipes-connectivity/ofono/ofono_git.bb') diff --git a/meta-eca/recipes-connectivity/ofono/ofono_git.bb b/meta-eca/recipes-connectivity/ofono/ofono_git.bb new file mode 100644 index 0000000..110358f --- /dev/null +++ b/meta-eca/recipes-connectivity/ofono/ofono_git.bb @@ -0,0 +1,32 @@ +require recipes-connectivity/ofono/ofono.inc + +S = "${WORKDIR}/git" +SRCREV = "516165c3114471400b4551ff9b04ff9ca7c1fc25" +PV = "1.14+git${SRCPV}" + +SRC_URI = "\ + git://git.kernel.org/pub/scm/network/ofono/ofono.git;protocol=git \ + file://ofono \ +" + +# We want to use bluez5 +DEPENDS := "${@oe_filter_out('bluez4', '${DEPENDS}', d)}" +DEPENDS += "${@base_contains('DISTRO_FEATURES', 'bluetooth','bluez5', '', d)}" + +# Test scripts use python3, the dbus module is still missing so the scripts +# do not work as expected. +RDEPENDS_${PN} = "\ + python3 \ + python3-codecs \ + python3-math \ + python3-io \ + python3-misc \ +" + +do_install_append() { + # Because python3-dbus module is currently not there, just use + # python 2.x in the ofono test scripts + for PYTHSCRIPT in `grep -rIl ${bindir}/python3 ${D}${libdir}/${PN}`; do + sed -i -e '1s|^#!.*|#!/usr/bin/env python|' $PYTHSCRIPT + done +} -- cgit v1.2.3-54-g00ecf