summaryrefslogtreecommitdiffstats
path: root/meta-pipewire/recipes-multimedia/pipewire
AgeCommit message (Collapse)AuthorFilesLines
2019-06-27pipewire: install environment variable filesGeorge Kiagiadakis4-2/+34
DISABLE_RTKIT saves us from nasty error messages about not being able to connect to dbus. This doesn't make sense anyway, real-time mode should not be enabled on embedded. PIPEWIRE_DEBUG/G_MESSAGES_DEBUG are put there in comments so that people can easily uncomment to figure out what is wrong with their pipewire setup. Bug-AGL: SPEC-2473 Change-Id: Id07d3d21f472885434158c300a227d53020c2189 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-27pipewire: run with the System::Pipewire smack labelGeorge Kiagiadakis3-2/+19
Pipewire shares memory with its clients using open file descriptors (memfd or shared memory file) which are created within pipewire and therefore they have the same smack label as the pipewire process. Clients must be able to read and write to this memory, therefore they need rw acess to that smack label. Since all AGL apps have only write access to the System label, we need to use a different smack label which can be granted rw access from the applications that need to use audio. "System::Pipewire" is chosen here to follow the "System::Sub" pattern that is described in the documentation. Bug-AGL: SPEC-2554 Change-Id: I81cbf82adfde3ef4f67872bd91293370339b18d7 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-25pipewire: build with -mno-unaligned-access on armGeorge Kiagiadakis2-0/+29
Bug-AGL: SPEC-2393 Change-Id: I2e4feef547642c2b3d34403f7a1a45999cd4db11 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-21pipewire: switch system-wide template systemd service & socket filesGeorge Kiagiadakis3-6/+58
This allows granting pipewire additional permissions, most notably the permission to access the alsa devices (SupplementaryGroups=audio) and therefore fixes pipewire for the "running as non-root" setup Bug-AGL: SPEC-2554 Change-Id: Ie9192a7f42f4929f70114ddc39a23d94f9ba84fc Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-20pipewire: Enable Bluetooth supportScott Murray1-0/+1
Add DISTRO_FEATURES based enabling of bluez5 support to pipewire recipe so the Bluetooth plugin is enabled for experimentation. Bug-AGL: SPEC-2473 Change-Id: Ic63df580c4005e924a2172d2d513dbdca94457f4 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-12pipewire: Add user session socket activationScott Murray1-0/+11
Add a bbappend to the pipewire recipe to create the required symlink in /etc/systemd/user/sockets.target.wants to enable per-user socket activation. A bbappend is used as this change is likely to be AGL specific (for now?). Bug-AGL: SPEC-2521 Change-Id: I4b349ab8151eabfb933f2dcfcf9d293fcb3ea321 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-12Fix the LIC_FILES_CHKSUM of the pipewire-conf-agl packageJan-Simon Möller1-0/+1
We were missing the LIC_FILES_CHKSUM = "file:///${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" Bug-AGL: SPEC-2473 Change-Id: Ic7751ceb08fef1f19426e66c850740abf653fef7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-11pipewire recipe plumbingJan-Simon Möller7-18/+47
This does enhance the recipes for pipewire and wireplumber in 2 ways: a) we add a separate package for the configuration and make it replaceable w/o recompiling pipewire or wireplumber itself b) this in turn makes the recipes not AGL specific and upstreamable as-is. v2: enhanced config recipes v3 & v4: fix typo Bug-AGL: SPEC-2473 Change-Id: I1f6f32d7cc64d9424706ca6bc87550f5e2c6d359 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-31meta-pipewire: initial pipewire recipeGeorge Kiagiadakis6-0/+1890
Bug-AGL: SPEC-2473 Change-Id: Ide95be79adb69437564e94071d0315ae5cfd9ae2 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>