Skip to contentSkip to conversation

fsl-image-multimedia: Extra install a new packagegroup: packagegroup-imx-tools-audio

PATCH Superseded Yuqing Zhu 2 participants 4 messages May 4, 2016 Arm i.MX and Layerscape

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Yuqing Zhu

author
#0 lore raw

PATCH 1/1 fsl-image-multimedia: Extra install a new packagegroup: packagegroup-imx-tools-audio

packagegroup-imx-tools-audio has two sub-groups: ALSA and PulseAudio.

---
 recipes-fsl/images/fsl-image-multimedia.bb         |  1 +
 .../packagegroups/packagegroup-imx-tools-audio.bb  | 32 ++++++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
recipes-fsl/images/fsl-image-multimedia.bb +1 -0
index 649e1ca..69b77ab 100644
@@ -13,6 +13,7 @@ inherit core-image
 CORE_IMAGE_EXTRA_INSTALL += " \
     packagegroup-fsl-tools-gpu \
     packagegroup-fsl-gstreamer1.0 \
+    packagegroup-imx-tools-audio \
     ${@base_contains('DISTRO_FEATURES', 'x11', '', \
                       base_contains('DISTRO_FEATURES', 'wayland', \
                                     'weston weston-init weston-examples \
recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb new file +32 -0
new file mode 100644
index 0000000..10e151e
@@ -0,0 +1,32 @@
+# Copyright (C) 2015 Freescale Semiconductor
+# 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=3f40d7994397109285ec7b81fdeb3b58 \
+                    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
#1 lore raw
Quoted 4 lines · Yuqing Zhu

packagegroup-imx-tools-audio has two sub-groups: ALSA and PulseAudio.

Split this patch.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
author
#2 lore raw

Hi Otavio,

Do you mean split the two sub-groups into two patches?

B.R.
Yuqing Zhu

From: Otavio Salvador [mailto:[email protected]]
Sent: Wednesday, May 04, 2016 9:10 PM
To: Yuqing Zhu <[email protected]>
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-demos][PATCH] fsl-image-multimedia: Extra install a new packagegroup: packagegroup-imx-tools-audio

On Wed, May 4, 2016 at 6:45 AM, Yuqing Zhu <[email protected]<mailto:[email protected]>> wrote:
packagegroup-imx-tools-audio has two sub-groups: ALSA and PulseAudio.

Split this patch.

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750

#3 lore raw
Quoted 6 lines · Yuqing Zhu

Hi Otavio,

Do you mean split the two sub-groups into two patches?

One for the packagegroup and another for the image.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750