gstreamer/sys/rpicamsrc/meson.build
Tim-Philipp Müller 1c25fe131d rpicamsrc: meson: use gnome.glib_mkenums_simple() and fix build as Meson subproject
While at it also fix up the type defines, e.g.
GST_RPI_CAM_TYPE_RPI_CAM_SRC_EXPOSURE_MODE -> GST_RPI_CAM_SRC_TYPE_EXPOSURE_MODE
2020-07-10 16:47:10 +01:00

24 lines
598 B
Meson

rpicamsrc_sources = [
'gstrpicamsrc.c',
'gstrpicamsrcdeviceprovider.c',
'RaspiCapture.c',
'RaspiCamControl.c',
'RaspiPreview.c',
'RaspiCLI.c',
]
# glib-mkenums
gnome = import('gnome')
enums = gnome.mkenums_simple('gstrpicam-enum-types',
sources: 'gstrpicam_types.h',
identifier_prefix: 'GstRpiCamSrc',
symbol_prefix: 'gst_rpi_cam_src')
library('gstrpicamsrc',
rpicamsrc_sources, enums,
c_args : gst_rpicamsrc_args,
include_directories : config_inc,
dependencies : [gst_dep, gstbase_dep, gstvideo_dep] + mmal_deps,
install : true,
install_dir : plugins_install_dir)