Skip to contentSkip to conversation

Install a new audio tool packagegroup into fsl-image-multimedia

PATCH New Yuqing Zhu 1 participant 3 messages Jun 24, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore

Yuqing Zhu

author
#0 lore raw

v4 cover Install a new audio tool packagegroup into fsl-image-multimedia

Rework the patch as the master branch has new changes.

-Add recipe for new package group: packagegroup-imx-tools-audio
It provides an easy way to install the audio tools for either pulseaudio or alsa based distributions.

-Install the new package group into fsl-image-multimedia.

Yuqing Zhu (2):
packagegroup-imx-tools-audio.bb: Add recipe for new package group.
fsl-image-multimedia: Extra install packagegroup-imx-tools-audio into
image.

 recipes-fsl/images/fsl-image-multimedia.bb         |  1 +
 .../packagegroups/packagegroup-imx-tools-audio.bb  | 33 ++++++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH v4 1/2 packagegroup-imx-tools-audio.bb: Add recipe for new package group.

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

---
 .../packagegroups/packagegroup-imx-tools-audio.bb  | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb new file +33 -0
new file mode 100644
index 0000000..69b4c22
@@ -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)} \
+"
Signature · 1 line
1.9.1
author
#2 lore raw

PATCH v4 2/2 fsl-image-multimedia: Extra install packagegroup-imx-tools-audio into image.

In reply to Yuqing Zhu
---
 recipes-fsl/images/fsl-image-multimedia.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-fsl/images/fsl-image-multimedia.bb +1 -0
index 331084d..3acada6 100644
@@ -15,6 +15,7 @@ inherit core-image
 CORE_IMAGE_EXTRA_INSTALL += " \
     packagegroup-fsl-tools-gpu \
     packagegroup-fsl-gstreamer1.0 \
+    packagegroup-imx-tools-audio \
     ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', \
                          'weston weston-init weston-examples \
                           gtk+3-demo clutter-1.0-examples', '', d)} \
Signature · 1 line
1.9.1