mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
cea5e3fcdb
Requires Meson 0.48, but the feature will be ignored on older versions so it's safe to add it without bumping the requirement. Documentation: https://github.com/mesonbuild/meson/blob/master/docs/markdown/Reference-manual.md#shared_library
29 lines
1 KiB
Meson
29 lines
1 KiB
Meson
photography_sources = ['photography.c']
|
|
photo_headers = ['photography.h', 'photography-prelude.h']
|
|
install_headers(photo_headers, subdir : 'gstreamer-1.0/gst/interfaces')
|
|
|
|
photo_enums = gnome.mkenums_simple('photography-enumtypes',
|
|
sources : photo_headers,
|
|
header_prefix : '#include <gst/interfaces/photography-prelude.h>',
|
|
decorator: 'GST_PHOTOGRAPHY_API',
|
|
install_header: true,
|
|
install_dir : join_paths(get_option('includedir'), 'gstreamer-1.0/gst/interfaces'))
|
|
|
|
photoenum_c = photo_enums[0]
|
|
photoenum_h = photo_enums[1]
|
|
|
|
gstphotography = library('gstphotography-' + api_version,
|
|
photography_sources, photoenum_h, photoenum_c,
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
include_directories : [configinc, libsinc],
|
|
version : libversion,
|
|
soversion : soversion,
|
|
darwin_versions : osxversion,
|
|
install : true,
|
|
dependencies : [gst_dep],
|
|
)
|
|
|
|
gstphotography_dep = declare_dependency(link_with : gstphotography,
|
|
include_directories : [libsinc],
|
|
dependencies : [gst_dep],
|
|
sources : [photoenum_h])
|