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