summaryrefslogtreecommitdiffstats
path: root/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
blob: 9de5f427fb5426ecbfd0e087b7c415cd5c532271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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"
DESCRIPTION = "Package group that installs ALSA and PulseAudio user-space audio \
               tools and utilities, selected according to the enabled audio \
               DISTRO_FEATURES."
SECTION = "multimedia"
LICENSE = "MIT"
# LIC_FILES_CHKSUM references the shared common-licenses copies as this
# package group ships no source tree of its own.
# nooelint: oelint.var.licenseremotefile
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
                    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)} \
"