2016-08-12 15:42:30 +00:00
|
|
|
autodetect_sources = [
|
|
|
|
'gstautoaudiosink.c',
|
|
|
|
'gstautoaudiosrc.c',
|
|
|
|
'gstautodetect.c',
|
2021-02-15 12:02:59 +00:00
|
|
|
'gstautodetectplugin.c',
|
|
|
|
'gstautodetectelement.c',
|
2016-08-12 15:42:30 +00:00
|
|
|
'gstautovideosink.c',
|
|
|
|
'gstautovideosrc.c',
|
|
|
|
]
|
|
|
|
|
2025-01-13 17:10:31 +00:00
|
|
|
autodetect_headers = [
|
|
|
|
'gstautodetectelements.h',
|
|
|
|
'gstautoaudiosink.h',
|
|
|
|
'gstautoaudiosrc.h',
|
|
|
|
'gstautovideosrc.h',
|
|
|
|
'gstautodetect.h',
|
|
|
|
'gstautovideosink.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
doc_sources = []
|
|
|
|
foreach s: autodetect_sources + autodetect_headers
|
|
|
|
doc_sources += meson.current_source_dir() / s
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
plugin_sources += {
|
|
|
|
'autodetect': pathsep.join(doc_sources)
|
|
|
|
}
|
|
|
|
|
|
|
|
if get_option('autodetect').disabled()
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2016-08-12 15:42:30 +00:00
|
|
|
gstautodetect = library('gstautodetect',
|
|
|
|
autodetect_sources,
|
|
|
|
c_args : gst_plugins_good_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gst_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-10-22 09:39:55 +00:00
|
|
|
plugins += [gstautodetect]
|