• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1dv_sources = [
2  'gstdv.c',
3  'gstdvelement.c',
4  'gstdvdec.c',
5  'gstdvdemux.c',
6  'gstsmptetimecode.c',
7  'smpte_test.c',
8]
9
10dv_dep = dependency('libdv', version : '>= 0.100', required : get_option('dv'),
11  fallback: ['dv', 'dv_dep'])
12
13if dv_dep.found()
14  gstdv = library('gstdv',
15    dv_sources,
16    c_args : gst_plugins_good_args,
17    include_directories : [configinc, libsinc],
18    dependencies : [gstbase_dep, gsttag_dep, gstaudio_dep, gstvideo_dep, dv_dep],
19    install : true,
20    install_dir : plugins_install_dir,
21  )
22  pkgconfig.generate(gstdv, install_dir : plugins_pkgconfig_install_dir)
23  plugins += [gstdv]
24  # FIXME
25  #executable('smpte_test',
26  #  'smpte_test.c', 'gstsmptetimecode.c',
27  #  dependencies : [gstbase_dep, gsttag_dep, gstaudio_dep, gstvideo_dep, dv_dep],
28  #  install : false)
29endif
30