aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-multimedia/alsa/alsa-utils-config.bb
blob: c7ecfea957d95aa66756dd82e599f7daf3f8b160 (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
SUMMARY = "ALSA sound configuration"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=3d5968ae2c5badd70c24075cfe58cc1e"

RDEPENDS_${PN} = "alsa-utils"

COMPATIBLE_MACHINE = "(porter|koelsch)"

FILESEXTRAPATHS_prepend := ":${THISDIR}/alsa-utils-config:"

SRC_URI = "file://COPYING \
          "
SRC_URI_append_porter  = "file://asound.state-porter"
SRC_URI_append_koelsch = "file://asound.state-porter"
# SRC_URI_append_silk  = "file://asound.state-silk"

do_configure() {
       cp ${WORKDIR}/COPYING ${S}
       cp ${WORKDIR}/asound.state* ${S}/asound.state
}

do_install() {
       install -d ${D}/${localstatedir}/lib/alsa
       install -m 0644 asound.state ${D}/${localstatedir}/lib/alsa
}

FILES_${PN} += "${localstatedir}"