summaryrefslogtreecommitdiffstats
path: root/meta-pipewire/recipes-multimedia/pipewire/pipewire_1.%.bbappend
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2024-06-26 19:22:36 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-06-27 15:48:48 +0000
commit0bef2809872fac47b69eaab6c2479c50f3847328 (patch)
tree30731b695aacd6048114ee267bf88b2a1ca87564 /meta-pipewire/recipes-multimedia/pipewire/pipewire_1.%.bbappend
parent2460f6ac99d834f00dfa6e26546c41eac6cd38c9 (diff)
meta-pipewire: remove local pipewire recipe to track meta-openembedded
meta-openembedded/scarthgap already has 1.0.5, which is great! The local systemd unit dir patch has been dropped, as the upstream recipe uses a meson option to set the correct unit path. Bug-AGL: SPEC-5129 Change-Id: I7b156093f20821eae0c9db2a1d96feff68d81547 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30037 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Tested-by: Jenkins Job builder account
Diffstat (limited to 'meta-pipewire/recipes-multimedia/pipewire/pipewire_1.%.bbappend')
-rw-r--r--meta-pipewire/recipes-multimedia/pipewire/pipewire_1.%.bbappend21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-pipewire/recipes-multimedia/pipewire/pipewire_1.%.bbappend b/meta-pipewire/recipes-multimedia/pipewire/pipewire_1.%.bbappend
new file mode 100644
index 000000000..a25204093
--- /dev/null
+++ b/meta-pipewire/recipes-multimedia/pipewire/pipewire_1.%.bbappend
@@ -0,0 +1,21 @@
+PACKAGECONFIG:class-target = "\
+ ${@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 pw-cat readline', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-system-service', '', d)} \
+ gstreamer v4l2 wireplumber \
+"
+
+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
+ install -d ${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/* \
+"