mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
21 lines
647 B
Meson
21 lines
647 B
Meson
libvisual_sources = [
|
|
'visual.c',
|
|
'plugin.c',
|
|
]
|
|
|
|
libvisual_dep = dependency('libvisual-0.4', version : '>= 0.4.0',
|
|
required : get_option('libvisual'))
|
|
if libvisual_dep.found()
|
|
core_conf.set_quoted('LIBVISUAL_PLUGINSBASEDIR',
|
|
libvisual_dep.get_variable('pluginsbasedir'))
|
|
|
|
gstlibvisual = library('gstlibvisual',
|
|
libvisual_sources,
|
|
c_args : gst_plugins_base_args,
|
|
include_directories: [configinc, libsinc],
|
|
dependencies : [libvisual_dep, audio_dep, video_dep, pbutils_dep, gst_dep, gst_base_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstlibvisual]
|
|
endif
|