1 FILESEXTRAPATHS_prepend := "${THISDIR}/bluez-alsa:"
4 file://0001-utils-add-a-gstreamer-helper-application-for-interco.patch \
5 file://bluealsa-gst-helper@.service \
8 PACKAGECONFIG += "gsthelper"
9 PACKAGECONFIG[gsthelper] = "--enable-gsthelper, --disable-gsthelper, gstreamer1.0"
12 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
13 # install the service file
14 mkdir -p ${D}${systemd_system_unitdir}/
15 install -m 0644 ${WORKDIR}/bluealsa-gst-helper@.service ${D}${systemd_system_unitdir}/bluealsa-gst-helper@.service
17 # enable the helper to start together with afm-user-session
18 mkdir -p ${D}${systemd_system_unitdir}/afm-user-session@.target.wants
19 ln -sf ../bluealsa-gst-helper@.service ${D}${systemd_system_unitdir}/afm-user-session@.target.wants/bluealsa-gst-helper@.service
23 PACKAGES =+ "${PN}-pipewire"
25 FILES_${PN}-pipewire = "\
26 ${bindir}/bluealsa-gst-helper \
27 ${systemd_system_unitdir}/bluealsa-gst-helper@.service \
28 ${systemd_system_unitdir}/afm-user-session@.target.wants/bluealsa-gst-helper@.service \
30 RDEPENDS_${PN}-pipewire += "\
33 gstreamer1.0-plugins-base \
34 gstreamer1.0-pipewire \