1 photography_sources = ['photography.c']
2 photo_headers = ['photography.h', 'photography-prelude.h']
3 install_headers(photo_headers, subdir : 'gstreamer-1.0/gst/interfaces')
5 photo_enums = gnome.mkenums_simple('photography-enumtypes',
6 sources : photo_headers,
7 header_prefix : '#include <gst/interfaces/photography-prelude.h>',
8 decorator: 'GST_PHOTOGRAPHY_API',
10 install_dir : join_paths(get_option('includedir'), 'gstreamer-1.0/gst/interfaces'))
12 photoenum_c = photo_enums[0]
13 photoenum_h = photo_enums[1]
15 gstphotography = library('gstphotography-' + api_version,
16 photography_sources, photoenum_h, photoenum_c,
17 c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
18 include_directories : [configinc, libsinc],
20 soversion : soversion,
21 darwin_versions : osxversion,
23 dependencies : [gst_dep],
26 gstphotography_dep = declare_dependency(link_with : gstphotography,
27 include_directories : [libsinc],
28 dependencies : [gst_dep],
29 sources : [photoenum_h])