diff options
Diffstat (limited to 'meta-pipewire/recipes-multimedia/pipewire/pipewire-conf-agl_git.bb')
-rw-r--r-- | meta-pipewire/recipes-multimedia/pipewire/pipewire-conf-agl_git.bb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta-pipewire/recipes-multimedia/pipewire/pipewire-conf-agl_git.bb b/meta-pipewire/recipes-multimedia/pipewire/pipewire-conf-agl_git.bb index a28c6534..2bb76f9d 100644 --- a/meta-pipewire/recipes-multimedia/pipewire/pipewire-conf-agl_git.bb +++ b/meta-pipewire/recipes-multimedia/pipewire/pipewire-conf-agl_git.bb @@ -8,7 +8,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRC_URI = " \ - file://pipewire.conf.in \ + file://pipewire.conf \ file://client.env \ file://server.env \ " @@ -17,11 +17,8 @@ do_configure[noexec] = "1" do_compile[noexec] = "1" do_install_append() { - # enable optional features in the config - BLUEZ5=${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', '', '#', d)} - sed -e "s/#IF_BLUEZ5 /${BLUEZ5}/" ${WORKDIR}/pipewire.conf.in > ${WORKDIR}/pipewire.conf - - # install our custom config + # 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 |