mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +00:00
22 lines
703 B
Meson
22 lines
703 B
Meson
uvch264_sources = [
|
|
'gstuvch264.c',
|
|
'gstuvch264_mjpgdemux.c',
|
|
'gstuvch264_src.c',
|
|
'uvc_h264.c',
|
|
]
|
|
|
|
libgudev_dep = dependency('gudev-1.0', required : false)
|
|
libusb_dep = dependency('libusb-1.0', required : false)
|
|
has_uvcvideo_h = cc.has_header('linux/uvcvideo.h')
|
|
|
|
if libgudev_dep.found() and libusb_dep.found() and has_uvcvideo_h
|
|
gstuvch264 = library('gstuvch264',
|
|
uvch264_sources,
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
include_directories : [configinc],
|
|
dependencies : [gstbase_dep, gstvideo_dep, gstallocators_dep,
|
|
gstbasecamerabin_dep, libgudev_dep, libusb_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
endif
|