mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
afc94046ba
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1262 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2670>
28 lines
796 B
Meson
28 lines
796 B
Meson
dv_sources = [
|
|
'gstdv.c',
|
|
'gstdvelement.c',
|
|
'gstdvdec.c',
|
|
'gstdvdemux.c',
|
|
'gstsmptetimecode.c',
|
|
]
|
|
|
|
dv_dep = dependency('libdv', version : '>= 0.100', required : get_option('dv'),
|
|
fallback: ['dv', 'dv_dep'])
|
|
|
|
if dv_dep.found()
|
|
gstdv = library('gstdv',
|
|
dv_sources,
|
|
c_args : gst_plugins_good_args,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [gstbase_dep, gsttag_dep, gstaudio_dep, gstvideo_dep, dv_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstdv, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstdv]
|
|
# FIXME
|
|
#executable('smpte_test',
|
|
# 'smpte_test.c', 'gstsmptetimecode.c',
|
|
# dependencies : [gstbase_dep, gsttag_dep, gstaudio_dep, gstvideo_dep, dv_dep],
|
|
# install : false)
|
|
endif
|