Commit ee6af76a authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜
Browse files

Add a variant to control building the JACK plugin

Similar to ALSA and Pulse, but not enabled by default.

Part-of: <gstreamer/cerbero!874>
parent 69e09032
Pipeline #596579 passed with stages
in 65 minutes and 3 seconds
......@@ -72,7 +72,7 @@ def set_nofile_ulimit():
class Variants(object):
# Variants that are booleans, and are unset when prefixed with 'no'
__disabled_variants = ['x11', 'alsa', 'pulse', 'cdparanoia', 'v4l2',
__disabled_variants = ['x11', 'alsa', 'pulse', 'jack', 'cdparanoia', 'v4l2',
'gi', 'unwind', 'rpi', 'visualstudio', 'uwp', 'qt5',
'intelmsdk', 'python', 'werror', 'vaapi']
__enabled_variants = ['debug', 'optimization', 'testspackage']
......@@ -22,7 +22,6 @@ class Recipe(custom.GStreamer):
'aalib': 'disabled',
'dv1394': 'disabled',
'gtk3': 'disabled',
'jack': 'disabled',
'libcaca': 'disabled',
'oss': 'disabled',
'oss4': 'disabled',
......@@ -232,9 +231,10 @@ class Recipe(custom.GStreamer):
elif self.config.target_platform == Platform.IOS:
self.meson_options['osxaudio'] = 'enabled'
self.enable_plugin('video4linux2', 'capture', 'v4l2', option='v4l2')
self.enable_plugin('ximagesrc', 'capture', 'x11')
self.enable_plugin('pulseaudio', 'sys', 'pulse', option='pulse')
self.enable_plugin('video4linux2', 'capture', variant='v4l2', option='v4l2')
self.enable_plugin('ximagesrc', 'capture', variant='x11')
self.enable_plugin('pulseaudio', 'sys', variant='pulse', option='pulse')
self.enable_plugin('jack', 'sys', variant='jack')
# Enable qt5 plugin if possible and selected
can_enable_qt5 = True
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment