Skip to contentSkip to conversation

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

PATCH Superseded Yuqing Zhu 2 participants 5 messages May 10, 2016 – May 11, 2016 Arm i.MX and Layerscape

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Yuqing Zhu

author
#0 lore raw

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

-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 v3 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..b54e5af
@@ -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=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
#2 lore raw

Re: [meta-fsl-demos][PATCH v3 1/2] packagegroup-imx-tools-audio.bb: Add recipe for new package group.

Quoted 2 lines · Yuqing Zhu

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

Why one would like to use this packagegroup?

Why it is not upstreamed to yocto project's source code instead?

Quoted 13 lines
---
 .../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 +0 -0
new file mode 100644
index 0000000..b54e5af

recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb line 5

Quoted 5 lines
recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb new file +5 -0
@@ -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"

This SUMMARY makes me feel this packagegroup is useless. You could a DESCRIPTION instead, adding what motivated you to create such packagegroup, and maybe adding what problem this packagegroup solves.

Quoted 36 lines
recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb new file +28 -1
+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)} \
+"
--

1.9.1

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

author
#3 lore raw

Re: [meta-fsl-demos][PATCH v3 1/2] packagegroup-imx-tools-audio.bb: Add recipe for new package group.

Hi Daiane,

Thanks for your feedback.
The definition of this package group is based on i.MX project and it provides an easy way to install the audio tools for either pulseaudio or alsa based distributions.

B.R.
Carol

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Daiane Angolini
Sent: Tuesday, May 10, 2016 7:35 PM
To: Yuqing Zhu <[email protected]>
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-demos][PATCH v3 1/2] packagegroup-imx-tools-audio.bb: Add recipe for new package group.

Quoted 2 lines · Yuqing Zhu

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

Why one would like to use this packagegroup?

Why it is not upstreamed to yocto project's source code instead?

Quoted 16 lines
---
 .../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 +0 -0
new file mode 100644
index 0000000..b54e5af

recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb line 5

Quoted 5 lines
recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb new file +5 -0
@@ -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"

This SUMMARY makes me feel this packagegroup is useless. You could a DESCRIPTION instead, adding what motivated you to create such packagegroup, and maybe adding what problem this packagegroup solves.

Quoted 35 lines
recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb new file +27 -1
+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)} \ "
--

1.9.1

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

author
#4 lore raw

PATCH v3 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 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 \
Signature · 1 line
1.9.1