The package group is used to provide an easy way to install
the audio tools for either pulseaudio or alsa based distributions.

Signed-off-by: Yuqing Zhu <[email protected]>
---
 .../packagegroups/packagegroup-imx-tools-audio.bb  | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb

diff --git a/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb 
b/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
new file mode 100644
index 0000000..69b4c22
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
@@ -0,0 +1,33 @@
+# Copyright (C) 2015 Freescale Semiconductor
+# Copyright (C) 2015 O.S. Systems Software LTDA.
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Set of audio tools for inclusion on images"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
+                    
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit packagegroup
+
+ALSA_INSTALL = " \
+    alsa-utils \
+    alsa-tools \
+"
+
+PULSEAUDIO_INSTALL = " \
+    pulseaudio-server \
+    pulseaudio-module-cli \
+    pulseaudio-misc \
+    pulseaudio-module-device-manager \
+    ${@bb.utils.contains('DISTRO_FEATURES',"x11", "pulseaudio-module-x11-xsmp \
+                                                   
pulseaudio-module-x11-publish \
+                                                   
pulseaudio-module-x11-cork-request \
+                                                   pulseaudio-module-x11-bell \
+                                                   consolekit", \
+                                           "", d)} \
+"
+
+RDEPENDS_${PN} = " \
+    ${@bb.utils.contains("DISTRO_FEATURES", "alsa",  "${ALSA_INSTALL}", "", 
d)} \
+    ${@bb.utils.contains("DISTRO_FEATURES", "pulseaudio",  
"${PULSEAUDIO_INSTALL}", "", d)} \
+"
-- 
1.9.1

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to