1 gst_base_sources = files(
17 'gsttypefindhelper.c',
20 gst_base_headers = files(
38 'gsttypefindhelper.h',
41 gst_base = library('gstbase-@0@'.format(apiversion),
43 c_args : gst_c_args + ['-DBUILDING_GST_BASE', '-DG_LOG_DOMAIN="GStreamer-Base"'],
45 soversion : soversion,
46 darwin_versions : osxversion,
48 include_directories : [configinc, libsinc],
49 dependencies : [gst_dep],
52 library_def = {'lib': gst_base}
53 pkg_name = 'gstreamer-base-1.0'
54 gst_base_gen_sources = []
55 pkgconfig.generate(gst_base,
57 variables : pkgconfig_variables,
58 subdirs : pkgconfig_subdirs,
60 description : 'Base classes for GStreamer elements',
64 gst_gir_extra_args = gir_init_section + [ '--c-include=gst/base/base.h' ]
66 'sources' : gst_base_sources + gst_base_headers,
67 'namespace' : 'GstBase',
68 'nsversion' : apiversion,
69 'identifier_prefix' : 'Gst',
70 'symbol_prefix' : 'gst',
71 'export_packages' : pkg_name,
72 'dependencies' : [gst_dep],
73 'include_directories' : [configinc, libsinc, privinc],
74 'includes' : ['GLib-2.0', 'GObject-2.0', 'GModule-2.0', 'Gst-1.0'],
76 'extra_args' : gst_gir_extra_args,
79 library_def += {'gir': [gir]}
81 gst_base_gir = gnome.generate_gir(gst_base, kwargs: gir)
82 gst_base_gen_sources += [gst_base_gir]
85 libraries += [[pkg_name, library_def]]
87 gst_base_dep = declare_dependency(link_with : gst_base,
88 include_directories : [libsinc],
89 dependencies : [gst_dep],
90 sources : gst_base_gen_sources)
92 meson.override_dependency(pkg_name, gst_base_dep)
94 install_headers('base.h',
101 'gstbasetransform.h',
111 'gsttypefindhelper.h',
112 subdir : 'gstreamer-1.0/gst/base',