2016-08-12 15:42:30 +00:00
|
|
|
dv_sources = [
|
|
|
|
'gstdv.c',
|
|
|
|
'gstdvdec.c',
|
|
|
|
'gstdvdemux.c',
|
|
|
|
'gstsmptetimecode.c',
|
|
|
|
'smpte_test.c',
|
|
|
|
]
|
|
|
|
|
2021-01-14 19:13:03 +00:00
|
|
|
dv_dep = dependency('libdv', version : '>= 0.100', required : get_option('dv'),
|
|
|
|
fallback: ['dv', 'dv_dep'])
|
2016-08-12 15:42:30 +00:00
|
|
|
|
|
|
|
if dv_dep.found()
|
|
|
|
gstdv = library('gstdv',
|
|
|
|
dv_sources,
|
|
|
|
c_args : gst_plugins_good_args,
|
|
|
|
include_directories : [configinc, libsinc],
|
|
|
|
dependencies : [gstbase_dep, gsttag_dep, gstaudio_dep, gstvideo_dep, dv_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:06:10 +00:00
|
|
|
pkgconfig.generate(gstdv, install_dir : plugins_pkgconfig_install_dir)
|
2019-05-29 09:58:40 +00:00
|
|
|
plugins += [gstdv]
|
2018-07-25 02:05:28 +00:00
|
|
|
# FIXME
|
2016-08-12 15:42:30 +00:00
|
|
|
#executable('smpte_test',
|
|
|
|
# 'smpte_test.c', 'gstsmptetimecode.c',
|
|
|
|
# dependencies : [gstbase_dep, gsttag_dep, gstaudio_dep, gstvideo_dep, dv_dep],
|
|
|
|
# install : false)
|
|
|
|
endif
|