Re: [meta-arago] [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files
Denys Dmytriyenko <[email protected]>
| Newsgroups | org.yoctoproject.lists.meta-arago |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jan 23, 2026 at 10:03:39AM -0600, Ryan Eatmon via lists.yoctoproject.org wrote: > > > On 1/23/2026 12:03 AM, Paresh Bhagat wrote: > >- Add 92-capture.conf for capture configuration > >- Add 90-multichannel.conf for multichannel setup > >- Add pipewire_1.0.9.bbappend recipe extension > > > >Signed-off-by: Paresh Bhagat <[email protected]> > >--- > > .../pipewire/pipewire/90-multichannel.conf | 17 +++++++++++++++++ > > .../pipewire/pipewire/92-capture.conf | 17 +++++++++++++++++ > > .../pipewire/pipewire_1.0.9.bbappend | 14 ++++++++++++++ > > 3 files changed, 48 insertions(+) > > create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf > > create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf > > create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend > > > >diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf > >new file mode 100644 > >index 00000000..1dd926bc > >--- /dev/null > >+++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf > >@@ -0,0 +1,17 @@ > >+context.objects = [ > >+ { > >+ factory = adapter > >+ args = { > >+ factory.name = api.alsa.pcm.sink > >+ node.name = "alsa_multidac_8ch" > >+ node.description = "Multi-DAC 8ch Output" > >+ media.class = "Audio/Sink" > >+ > >+ api.alsa.path = "hw:0,0" > >+ api.alsa.disable-mmap = true > >+ > >+ audio.channels = 8 > >+ audio.position = [ FL FR FC LFE RL RR SL SR ] > >+ } > >+ } > >+] > >diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf > >new file mode 100644 > >index 00000000..b0871da2 > >--- /dev/null > >+++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf > >@@ -0,0 +1,17 @@ > >+context.objects = [ > >+ { > >+ factory = adapter > >+ args = { > >+ factory.name = api.alsa.pcm.source > >+ node.name = "alsa_multidac_4ch_capture" > >+ node.description = "ALSA 4ch Capture (L1 L2 R1 R2)" > >+ media.class = Audio/Source > >+ > >+ api.alsa.path = "hw:0,0" > >+ api.alsa.disable-mmap = true > >+ > >+ audio.channels = 4 > >+ audio.position = [ FL FR SL SR ] > >+ } > >+ } > >+] > >diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend b/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend > >new file mode 100644 > >index 00000000..29b17af3 > >--- /dev/null > >+++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend > > > We do not directly bbappend recipes to maintain yoctoproject > compatible status. Please check other bbappends in meta-arago for > examples on how to do this properly. For example: > meta-arago-distro/recipes-multimedia/libtiff/tiff_%.bbappend > > > This same comment applies to the other patches where you add > bbappend files as well. And since this is to add 2 extra conf files, alternatively this could be a completely separate recipe. > >@@ -0,0 +1,14 @@ > >+SRC_URI += " \ > >+ file://90-multichannel.conf \ > >+ file://92-capture.conf \ > >+" > >+ > >+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" > >+ > >+do_install:append() { > >+ install -d ${D}${sysconfdir}/pipewire/pipewire.conf.d > >+ install -m 0644 ${WORKDIR}/90-multichannel.conf ${D}${sysconfdir}/pipewire/pipewire.conf.d/ > >+ install -m 0644 ${WORKDIR}/92-capture.conf ${D}${sysconfdir}/pipewire/pipewire.conf.d/ > >+} > >+ > >+FILES:${PN} += " ${sysconfdir}"