mirror of
https://github.com/videolan/vlc.git
synced 2024-11-24 02:14:26 +08:00
visualization: meson: add missing plugins
This commit is contained in:
parent
626864109b
commit
0a03780ca8
@ -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',
|
||||
|
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user