2017-03-22 21:18:10 +00:00
|
|
|
if mjpegtools_dep.found()
|
|
|
|
mplex2_dep = cxx.find_library('mplex2', required : false)
|
|
|
|
|
|
|
|
if mplex2_dep.found()
|
2017-03-30 03:36:50 +00:00
|
|
|
gstmplex2 = library('gstmplex',
|
2017-03-22 21:18:10 +00:00
|
|
|
'gstmplex.cc',
|
|
|
|
'gstmplexibitstream.cc',
|
|
|
|
'gstmplexjob.cc',
|
|
|
|
'gstmplexoutputstream.cc',
|
|
|
|
cpp_args : gst_plugins_bad_args + ['-DGST_MJPEGTOOLS_API=' + mjpegtools_api],
|
|
|
|
link_args : noseh_link_args,
|
2017-03-24 19:43:07 +00:00
|
|
|
include_directories : [configinc, libsinc],
|
2017-03-22 21:18:10 +00:00
|
|
|
dependencies : [gstaudio_dep, mjpegtools_dep, mplex2_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstmplex2, install_dir : plugins_pkgconfig_install_dir)
|
2017-03-22 21:18:10 +00:00
|
|
|
endif
|
|
|
|
endif
|