visualization: meson: add missing plugins

This commit is contained in:
Alexandre Janniaux 2024-03-08 15:31:22 +01:00 committed by Felix Paul Kühne
parent 626864109b
commit 0a03780ca8
2 changed files with 36 additions and 0 deletions

View File

@ -265,6 +265,11 @@ option('vorbis',
value : 'auto',
description : 'Enable/disable vorbis support')
option('vsxu',
type : 'feature',
value : 'auto',
description : 'Enable/disable VSXU visualization support')
option('x265',
type : 'feature',
value : 'auto',

View File

@ -1,3 +1,14 @@
# glspectrum plugin
vlc_modules += {
'name' : 'glspectrum',
'sources' : files('glspectrum.c',
'visual/fft.c', 'visual/fft.h',
'visual/window.c', 'visual/window.h',
'visual/window_presets.h'),
'dependencies' : [opengl_dep, m_lib],
'enabled' : opengl_dep.found(),
}
# goom visualization plugin
goom2_dep = dependency('libgoom2', required: get_option('goom2'))
vlc_modules += {
@ -25,3 +36,23 @@ vlc_modules += {
'cpp_args' : [projectm_args],
'enabled' : projectm_dep.found() and host_system != 'windows'
}
# Visual visualization plugin
vlc_modules += {
'name' : 'visual',
'sources' : files(
'visual/visual.c', 'visual/visual.h',
'visual/fft.c', 'visual/fft.h',
'visual/window.c', 'visual/window.h',
'visual/effects.c', 'visual/window_presets.h'),
'dependencies' : [m_lib],
}
# Vsxu plugin
vsxu_dep = dependency('libvsxu', required: get_option('vsxu'))
vlc_modules += {
'name' : 'vsxu',
'sources' : files('vsxu.cpp', 'cyclic_buffer.h'),
'dependencies' : [m_lib, vsxu_dep],
'enabled' : vsxu_dep.found()
}