Skip to contentSkip to conversation

task-base: pull in the bluez asound module when appropriate

PATCH Applied Christopher Larson 2 participants 2 messages Aug 21, 2012 – Aug 24, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 task-base: pull in the bluez asound module when appropriate

From: Christopher Larson <[email protected]>

If the machine and distro both want alsa, then have task-base-bluetooth pull in the libasound-module-bluez package.

---
 meta/recipes-core/tasks/task-base.bb |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-core/tasks/task-base.bb +3 -2
index 2325dbf..d5dd140 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Merge machine and distro options to create a basic machine task/p
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r74"
+PR = "r75"
 
 inherit task
 
@@ -205,8 +205,9 @@ RRECOMMENDS_task-base-pcmcia = "\
 
 # Provide bluez-utils-compat utils for the time being, the binaries in that package will vanish soon from upstream releases, so beware! 
 
-RDEPENDS_task-base-bluetooth = "\ 
+RDEPENDS_task-base-bluetooth = "\
     bluez4 \
+    ${@base_contains('COMBINED_FEATURES', 'alsa', 'libasound-module-bluez', '',d)} \
     "
 
 RRECOMMENDS_task-base-bluetooth = "\
Signature · 1 line
1.7.9.5
Applied
#1 lore raw
Quoted 25 lines · Christopher Larson

From: Christopher Larson <[email protected]>

If the machine and distro both want alsa, then have task-base-bluetooth pull in the libasound-module-bluez package.

---
  meta/recipes-core/tasks/task-base.bb |    5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-core/tasks/task-base.bb +1 -1
index 2325dbf..d5dd140 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Merge machine and distro options to create a basic machine task/p
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                      file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r74"
+PR = "r75"
 
  inherit task
 

meta/recipes-core/tasks/task-base.bb RRECOMMENDS_task-base-pcmcia = "\ · line 213

Quoted 10 lines
meta/recipes-core/tasks/task-base.bb +2 -1
@@ -205,8 +205,9 @@ RRECOMMENDS_task-base-pcmcia = "\
 
  # Provide bluez-utils-compat utils for the time being, the binaries in that package will vanish soon from upstream releases, so beware!
 
-RDEPENDS_task-base-bluetooth = "\
+RDEPENDS_task-base-bluetooth = "\
      bluez4 \
+    ${@base_contains('COMBINED_FEATURES', 'alsa', 'libasound-module-bluez', '',d)} \
      "
 
  RRECOMMENDS_task-base-bluetooth = "\

Merged into OE-Core

Thanks
Sau!