mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
6ea4557271
Based on a patch by Georg Lippitsch <glippitsch@toolsonair.com> Vivia Nikolaidou <vivia@toolsonair.com> Using libltc from https://github.com/x42/libltc
24 lines
588 B
Meson
24 lines
588 B
Meson
timecode_sources = [
|
|
'plugin.c',
|
|
'gsttimecodestamper.c',
|
|
'gstavwait.c'
|
|
]
|
|
|
|
tc_deps = [gstbase_dep, gstaudio_dep, gstvideo_dep]
|
|
|
|
ltc_dep = dependency('ltc', version : '>=1.1.4', required : false)
|
|
if ltc_dep.found()
|
|
cdata.set('HAVE_LTC', 1)
|
|
tc_deps += [ltc_dep]
|
|
endif
|
|
|
|
gsttimecode = library('gsttimecode',
|
|
timecode_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : [configinc],
|
|
dependencies : tc_deps,
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gsttimecode, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gsttimecode]
|