Skip to contentSkip to conversation

mycroft: Check for pulseaudio in distro features

PATCH New Khem Raj 1 participant 1 message Jan 5, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 mycroft: Check for pulseaudio in distro features

It needs pulseaudio but its only available via distro features so check it before enabling this recipe

---
 meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb +3 -1
index aab43ea297..6797899808 100644
@@ -22,7 +22,7 @@ SRC_URI = "git://github.com/MycroftAI/mycroft-core.git;branch=master;protocol=ht
 
 S = "${WORKDIR}/git"
 
-inherit systemd
+inherit systemd features_check
 
 # Mycroft installs itself on the host
 # Just copy the setup files to the rootfs
@@ -91,3 +91,5 @@ RDEPENDS:${PN} += "procps"
 RDEPENDS:${PN} += "bash jq libnotify"
 
 SYSTEMD_SERVICE:${PN} = "mycroft-setup.service mycroft.service"
+
+REQUIRED_DISTRO_FEATURES += "pulseaudio"
Signature · 1 line
2.39.0