mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
20 lines
716 B
Meson
20 lines
716 B
Meson
if mjpegtools_dep.found()
|
|
mpeg2enc_dep = cxx.find_library('mpeg2encpp', required : false)
|
|
|
|
if mpeg2enc_dep.found()
|
|
gstmpeg2enc = library('gstmpeg2enc',
|
|
'gstmpeg2enc.cc',
|
|
'gstmpeg2encoptions.cc',
|
|
'gstmpeg2encoder.cc',
|
|
'gstmpeg2encstreamwriter.cc',
|
|
'gstmpeg2encpicturereader.cc',
|
|
cpp_args : gst_plugins_bad_args + ['-DGST_MJPEGTOOLS_API=' + mjpegtools_api],
|
|
link_args : noseh_link_args,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [gstvideo_dep, mjpegtools_dep, mpeg2enc_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstmpeg2enc, install_dir : plugins_pkgconfig_install_dir)
|
|
endif
|
|
endif
|