summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorL. E. Segovia <amy@centricular.com>2024-03-08 21:56:04 -0300
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2024-04-02 16:46:44 +0000
commit9aa460487ad54a0673d75cf2f004a36c98099cfc (patch)
treeb9ca998aab5c1bac852d1294e2b23afc8edd6736
parent41067f35328f7f160f9cf285abe88168db4c63b9 (diff)
gst-plugins-base: Only enable ALSA for Linux
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1403>
-rw-r--r--recipes/gst-plugins-base-1.0.recipe3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/gst-plugins-base-1.0.recipe b/recipes/gst-plugins-base-1.0.recipe
index a174488b..db8923f8 100644
--- a/recipes/gst-plugins-base-1.0.recipe
+++ b/recipes/gst-plugins-base-1.0.recipe
@@ -174,7 +174,8 @@ class Recipe(custom.GStreamer):
self.enable_plugin('cdparanoia', 'sys', 'cdparanoia', dep='cdparanoia')
self.enable_plugin('ximagesink', 'sys', 'x11', option='x11')
self.enable_plugin('xvimagesink', 'sys', 'x11', option='xvideo')
- self.enable_plugin('alsa', 'sys', 'alsa')
+ if self.config.target_platform == Platform.LINUX:
+ self.enable_plugin('alsa', 'sys', 'alsa')
if self.using_uwp():
# All these can be ported to Meson/UWP