[oe-commits] Klaus Kurzmann : bluez4_4.39.bb: fix audio routing for gta01/gta02

git version control git at git.openembedded.org
Wed Jul 15 11:21:35 UTC 2009


Module: openembedded.git
Branch: shr/import
Commit: 333d4c584c4eee0fe76ef59958c1208e6f52ed0d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=333d4c584c4eee0fe76ef59958c1208e6f52ed0d

Author: Klaus Kurzmann <mok at fluxnetz.de>
Date:   Wed Jul 15 13:21:24 2009 +0200

bluez4_4.39.bb: fix audio routing for gta01/gta02

Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>

---

 recipes/bluez/bluez4_4.39.bb |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/recipes/bluez/bluez4_4.39.bb b/recipes/bluez/bluez4_4.39.bb
index b177e0b..4127874 100644
--- a/recipes/bluez/bluez4_4.39.bb
+++ b/recipes/bluez/bluez4_4.39.bb
@@ -5,7 +5,7 @@ DEPENDS = "gst-plugins-base alsa-lib libusb-compat dbus-glib"
 HOMEPAGE = "http://www.bluez.org"
 LICENSE = "GPL"
 
-PR = "r2"
+PR = "r3"
 
 # For angstrom we want this to replace at least bluez-libs
 PROVIDES_append_angstrom = " bluez-utils bluez-libs"
@@ -41,6 +41,15 @@ EXTRA_OECONF = "\
   --disable-pcmciarules \
 "
 
+# correct audio routing for Openmoko phones
+do_install_prepend_om-gta01() {
+	sed -i 's/#SCORouting=PCM/SCORouting=PCM/' ${S}/audio/audio.conf
+}
+
+do_install_prepend_om-gta02() {
+	sed -i 's/#SCORouting=PCM/SCORouting=PCM/' ${S}/audio/audio.conf
+}
+
 do_install_append() {
         install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
         install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/





More information about the Openembedded-commits mailing list