aboutsummaryrefslogtreecommitdiffstats
path: root/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl_git.bb
blob: cab61e497028f8a1f7ec3820d78cb279491605bc (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
SUMMARY     = "AGL configuration file for wireplumber"
HOMEPAGE    = "https://gitlab.freedesktop.org/gkiagia/wireplumber"
BUGTRACKER  = "https://jira.automotivelinux.org"
AUTHOR      = "George Kiagiadakis <george.kiagiadakis@collabora.com>"
SECTION     = "multimedia"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI = "\
    file://wireplumber.conf \
    file://00-audio-sink.endpoint \
    file://00-audio-source.endpoint \
    file://00-default-input-audio.endpoint-link \
    file://00-default-output-audio.endpoint-link \
    file://00-stream-input-audio.endpoint \
    file://00-stream-output-audio.endpoint \
    file://01-hw00-audio-sink.endpoint \
    file://01-hw00-audio-source.endpoint \
    file://30-ak4613-audio-sink.endpoint \
    file://30-ak4613-audio-source.endpoint \
    file://30-dra7xx-audio-sink.endpoint \
    file://30-dra7xx-audio-source.endpoint \
    file://30-rpi3-audio-sink.endpoint \
    file://40-fiberdyne-amp.endpoint \
    file://40-microchip-mic.endpoint \
    file://70-usb-audio-sink.endpoint \
    file://70-usb-audio-source.endpoint \
    file://bluealsa-input-audio.endpoint-link \
    file://bluealsa-output-audio.endpoint-link \
    file://capture.streams \
    file://playback.streams \
"

PACKAGE_ARCH = "${MACHINE_ARCH}"

do_configure[noexec] = "1"
do_compile[noexec] = "1"

do_install_append() {
    install -d ${D}/${sysconfdir}/wireplumber/
    install -m 644 ${WORKDIR}/wireplumber.conf ${D}/${sysconfdir}/wireplumber/wireplumber.conf
    install -m 644 ${WORKDIR}/*.endpoint ${D}/${sysconfdir}/wireplumber/
    install -m 644 ${WORKDIR}/*.endpoint-link ${D}/${sysconfdir}/wireplumber/
    install -m 644 ${WORKDIR}/*.streams ${D}/${sysconfdir}/wireplumber/
}

FILES_${PN} += "\
    ${sysconfdir}/wireplumber/* \
"
CONFFILES_${PN} += "\
    ${sysconfdir}/wireplumber/* \
"

RPROVIDES_${PN} += "virtual/wireplumber-config"