summaryrefslogtreecommitdiffstats
path: root/meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.40.bbappend
diff options
context:
space:
mode:
authorAshok Sidipotu <ashok.sidipotu@collabora.com>2021-12-01 13:47:25 +0530
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-12-22 09:17:04 +0000
commitfca7086a9227ca81302fd08ffc8df40d5a0163b4 (patch)
tree4f5b6edb06b7d717e53688491c76601739c47637 /meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.40.bbappend
parent15f6be527e8c54f6695345554bbbf4500b5a83e8 (diff)
pipewire: update to pw 0.3.40 and wp 0.4.5
Change-Id: Ie9e3fd0a67e6a5fa38543cb9b4cc54f2e0555813 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27040 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.40.bbappend')
-rw-r--r--meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.40.bbappend25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.40.bbappend b/meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.40.bbappend
new file mode 100644
index 000000000..dfe73083b
--- /dev/null
+++ b/meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.40.bbappend
@@ -0,0 +1,25 @@
+PACKAGECONFIG = "\
+ ${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa pipewire-alsa', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', 'sndfile', '', d)} \
+ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
+ gstreamer v4l2 \
+"
+
+SRC_URI += "\
+ file://0001-Revert-meson-declare-spa_dep-and-override_dependency.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/* \
+"