summaryrefslogtreecommitdiff
path: root/ext/mplex/meson.build
blob: e2a6d07831d8494e646f5266eeee48a1ebe39037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if mjpegtools_dep.found()
  mplex2_dep = cxx.find_library('mplex2', required : false)

  if mplex2_dep.found()
    gstmplex2 = library('gstmplex2',
      'gstmplex.cc',
      'gstmplexibitstream.cc',
      'gstmplexjob.cc',
      'gstmplexoutputstream.cc',
      cpp_args : gst_plugins_bad_args + ['-DGST_MJPEGTOOLS_API=' + mjpegtools_api],
      link_args : noseh_link_args,
      include_directories : [configinc, libsinc],
      dependencies : [gstaudio_dep, mjpegtools_dep, mplex2_dep],
      install : true,
      install_dir : plugins_install_dir,
    )
  endif
endif