summaryrefslogtreecommitdiffstats
path: root/meta-pipewire/recipes-multimedia/pipewire/pipewire-conf-agl_git.bb
blob: 4c0b6609c225118c49dd43b01d1dad4ef247649a (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
SUMMARY     = "AGL configuration file for pipewire"
HOMEPAGE    = "https://pipewire.org"
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://pipewire.conf \
 "

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

do_install_append() {
    # if we are distributing our own configuration file,
    # replace the one installed by pipewire
    install -d ${D}/${sysconfdir}/pipewire/
    install -m 0644 ${WORKDIR}/pipewire.conf ${D}${sysconfdir}/pipewire/pipewire.conf
}

FILES_${PN} = "\
    ${sysconfdir}/pipewire/pipewire.conf \
"
CONFFILES_${PN} += "\
    ${sysconfdir}/pipewire/pipewire.conf \
"

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