mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
23 lines
511 B
Meson
23 lines
511 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,
|
|
)
|
|
plugins += [gsttimecode]
|