1 app_sources = ['gstappsrc.c', 'gstappsink.c']
7 app_headers = app_mkenum_headers + [ 'app.h', 'app-prelude.h', 'gstappsink.h' ]
8 install_headers(app_headers, subdir : 'gstreamer-1.0/gst/app/')
10 app_enums = gnome.mkenums_simple('app-enumtypes',
11 sources : app_mkenum_headers,
12 header_prefix : '#include <gst/app/app-prelude.h>',
13 decorator : 'GST_APP_API',
15 install_dir : join_paths(get_option('includedir'), 'gstreamer-1.0/gst/app'))
16 gstapp_c = app_enums[0]
17 gstapp_h = app_enums[1]
19 app_gen_sources = [gstapp_h]
21 gstapp = library('gstapp-@0@'.format(api_version),
22 app_sources, gstapp_h, gstapp_c,
23 c_args : gst_plugins_base_args,
24 include_directories: [configinc, libsinc],
26 soversion : soversion,
27 darwin_versions : osxversion,
29 dependencies : [gst_base_dep],
33 gst_gir_extra_args = gir_init_section + [ '--c-include=gst/app/app.h' ]
34 app_gen_sources += [gnome.generate_gir(gstapp,
35 sources : app_sources + app_headers + [gstapp_c] + [gstapp_h],
37 nsversion : api_version,
38 identifier_prefix : 'Gst',
39 symbol_prefix : 'gst',
40 export_packages : 'gstreamer-app-1.0',
41 includes : ['Gst-1.0', 'GstBase-1.0'],
43 extra_args : gst_gir_extra_args,
44 dependencies : [gst_dep, gst_base_dep]
48 app_dep = declare_dependency(link_with: gstapp,
49 include_directories : [libsinc],
50 dependencies : [gst_base_dep],
51 sources : app_gen_sources)