diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2021-06-22 15:08:25 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-08-25 12:50:36 +0000 |
commit | 330d34dc020189984878df86d2f4d9eeef5632e8 (patch) | |
tree | a4bdf3e3a4e8eee9346895299bb323fe9dfd38ad /meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.30.bbappend | |
parent | 502057487cf7346e136e058880a33ac298facb19 (diff) |
pipewire: fix alsa virtual device to work again
* Install symlinks to the configuration files in /etc/alsa/conf.d
* Add patch from pipewire master to support roles on the virtual
alsa device
Bug-AGL: SPEC-3822
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
[manual cherry-pick of 2837293 from master/lamprey]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If9743a3399bdee2ef36cd84487b4de09a764e905
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26570
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.30.bbappend')
-rw-r--r-- | meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.30.bbappend | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.30.bbappend b/meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.30.bbappend index cc2308e95..d45e0538b 100644 --- a/meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.30.bbappend +++ b/meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.30.bbappend @@ -5,3 +5,21 @@ PACKAGECONFIG = "\ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ gstreamer v4l2 \ " + +SRC_URI += "\ + file://0001-alsa-plugin-allow-specifying-a-media.role-on-the-vir.patch \ +" + +do_install_append() { + # install symlinks to alsalib configuration files + for i in 50-pipewire.conf 99-pipewire-default.conf; do + if [ -f ${D}${datadir}/alsa/alsa.conf.d/${i} ]; then + mkdir -p ${D}${sysconfdir}/alsa/conf.d + ln -s ${datadir}/alsa/alsa.conf.d/${i} ${D}${sysconfdir}/alsa/conf.d/${i} + fi + done +} + +FILES_${PN}-alsa_append = "\ + ${sysconfdir}/alsa/conf.d/* \ +" |