2016-08-12 15:51:45 +00:00
|
|
|
camerabin_sources = [
|
|
|
|
'gstcamerabin-enum.c',
|
|
|
|
'gstcamerabinpreview.c',
|
|
|
|
'gstbasecamerasrc.c',
|
|
|
|
]
|
|
|
|
camerabin_headers = [
|
2018-03-13 12:29:08 +00:00
|
|
|
'basecamerabinsrc-prelude.h',
|
2016-08-12 15:51:45 +00:00
|
|
|
'gstcamerabin-enum.h',
|
|
|
|
'gstcamerabinpreview.h',
|
|
|
|
'gstbasecamerasrc.h',
|
|
|
|
]
|
|
|
|
install_headers(camerabin_headers, subdir : 'gstreamer-1.0/gst/basecamerabinsrc')
|
|
|
|
|
|
|
|
gstbasecamerabin = library('gstbasecamerabinsrc-' + api_version,
|
|
|
|
camerabin_sources,
|
2018-09-24 10:52:22 +00:00
|
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_BASE_CAMERA_BIN_SRC'],
|
2016-08-12 15:51:45 +00:00
|
|
|
include_directories : [configinc, libsinc],
|
|
|
|
version : libversion,
|
|
|
|
soversion : soversion,
|
2018-08-31 09:07:46 +00:00
|
|
|
darwin_versions : osxversion,
|
2016-08-12 15:51:45 +00:00
|
|
|
install : true,
|
|
|
|
dependencies : [gstapp_dep],
|
|
|
|
)
|
|
|
|
|
2020-06-23 14:03:04 +00:00
|
|
|
_sources = []
|
|
|
|
if build_gir
|
|
|
|
basecamerabin_gir = gnome.generate_gir(gstbasecamerabin,
|
|
|
|
sources : camerabin_sources + camerabin_headers,
|
|
|
|
namespace : 'GstBadBaseCameraBin',
|
|
|
|
nsversion : api_version,
|
|
|
|
identifier_prefix : 'Gst',
|
|
|
|
symbol_prefix : 'gst',
|
|
|
|
export_packages : 'gstreamer-bad-base-camerabinsrc-1.0',
|
|
|
|
includes : ['Gst-1.0', 'GstApp-1.0'],
|
|
|
|
install : false, # Only for the documentation
|
|
|
|
extra_args : gir_init_section + ['-DGST_USE_UNSTABLE_API'],
|
|
|
|
dependencies : [gstapp_dep],
|
|
|
|
build_by_default : true,
|
|
|
|
)
|
|
|
|
_sources += [basecamerabin_gir]
|
|
|
|
endif
|
|
|
|
|
2016-08-12 15:51:45 +00:00
|
|
|
gstbasecamerabin_dep = declare_dependency(link_with : gstbasecamerabin,
|
|
|
|
include_directories : [libsinc],
|
|
|
|
dependencies : [gstapp_dep])
|