2016-08-12 15:26:31 +00:00
|
|
|
libvisual_sources = [
|
|
|
|
'visual.c',
|
|
|
|
'plugin.c',
|
|
|
|
]
|
|
|
|
|
2018-07-25 02:05:05 +00:00
|
|
|
libvisual_dep = dependency('libvisual-0.4', version : '>= 0.4.0',
|
|
|
|
required : get_option('libvisual'))
|
2016-08-12 15:26:31 +00:00
|
|
|
if libvisual_dep.found()
|
2017-06-05 22:57:48 +00:00
|
|
|
core_conf.set_quoted('LIBVISUAL_PLUGINSBASEDIR',
|
2021-10-17 23:40:14 +00:00
|
|
|
libvisual_dep.get_variable('pluginsbasedir'))
|
2016-08-12 15:26:31 +00:00
|
|
|
|
|
|
|
gstlibvisual = library('gstlibvisual',
|
|
|
|
libvisual_sources,
|
|
|
|
c_args : gst_plugins_base_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
2022-03-25 19:00:20 +00:00
|
|
|
dependencies : [libvisual_dep, audio_dep, video_dep, pbutils_dep, gst_dep, gst_base_dep],
|
2016-08-12 15:26:31 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:57 +00:00
|
|
|
pkgconfig.generate(gstlibvisual, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 06:17:24 +00:00
|
|
|
plugins += [gstlibvisual]
|
2016-08-12 15:26:31 +00:00
|
|
|
endif
|