1 app_sources = ['gstappsrc.c', 'gstappsink.c']
7 app_headers = app_mkenum_headers + [ 'app.h', 'gstappsink.h' ]
8 install_headers(app_headers, subdir : 'gstreamer-1.0/gst/app/')
10 mkenums = find_program('app_mkenum.py')
11 gstapp_h = custom_target('gstappenum_h',
12 output : 'app-enumtypes.h',
13 input : app_mkenum_headers,
15 install_dir : 'include/gstreamer-1.0/gst/app/',
16 command : [mkenums, glib_mkenums, '@OUTPUT@', '@INPUT@'])
18 gstapp_c = custom_target('gstappenum_c',
19 output : 'app-enumtypes.c',
20 input : app_mkenum_headers,
22 command : [mkenums, glib_mkenums, '@OUTPUT@', '@INPUT@'])
23 app_gen_sources = [gstapp_h]
25 gstapp = library('gstapp-@0@'.format(api_version),
26 app_sources, gstapp_h, gstapp_c,
27 c_args : gst_plugins_base_args,
28 include_directories: [configinc, libsinc],
30 soversion : soversion,
32 dependencies : [gst_base_dep],
33 vs_module_defs: vs_module_defs_dir + 'libgstapp.def',
37 gst_gir_extra_args = gir_init_section + [ '--c-include=gst/app/app.h' ]
38 app_gen_sources += [gnome.generate_gir(gstapp,
39 sources : app_sources + app_headers + [gstapp_c] + [gstapp_h],
41 nsversion : api_version,
42 identifier_prefix : 'Gst',
43 symbol_prefix : 'gst',
44 export_packages : 'gstreamer-app-1.0',
45 includes : ['Gst-1.0', 'GstBase-1.0'],
47 extra_args : gst_gir_extra_args,
48 dependencies : [gst_dep, gst_base_dep]
52 app_dep = declare_dependency(link_with: gstapp,
53 include_directories : [libsinc],
54 dependencies : [gst_base_dep],
55 sources : app_gen_sources)