2016-08-12 14:55:17 +00:00
|
|
|
gst_base_sources = [
|
|
|
|
'gstadapter.c',
|
2017-12-02 15:24:22 +00:00
|
|
|
'gstaggregator.c',
|
2016-08-12 14:55:17 +00:00
|
|
|
'gstbaseparse.c',
|
|
|
|
'gstbasesink.c',
|
|
|
|
'gstbasesrc.c',
|
|
|
|
'gstbasetransform.c',
|
|
|
|
'gstbitreader.c',
|
2013-11-12 07:00:51 +00:00
|
|
|
'gstbitwriter.c',
|
2016-08-12 14:55:17 +00:00
|
|
|
'gstbytereader.c',
|
|
|
|
'gstbytewriter.c',
|
|
|
|
'gstcollectpads.c',
|
|
|
|
'gstdataqueue.c',
|
|
|
|
'gstflowcombiner.c',
|
|
|
|
'gstpushsrc.c',
|
|
|
|
'gstqueuearray.c',
|
|
|
|
'gsttypefindhelper.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
gst_base_headers = [
|
|
|
|
'base.h',
|
2018-03-12 23:03:26 +00:00
|
|
|
'base-prelude.h',
|
2016-08-12 14:55:17 +00:00
|
|
|
'gstadapter.h',
|
2017-12-02 15:24:22 +00:00
|
|
|
'gstaggregator.h',
|
2016-08-12 14:55:17 +00:00
|
|
|
'gstbaseparse.h',
|
|
|
|
'gstbasesink.h',
|
|
|
|
'gstbasesrc.h',
|
|
|
|
'gstbasetransform.h',
|
|
|
|
'gstbitreader.h',
|
2013-11-12 07:00:51 +00:00
|
|
|
'gstbitwriter.h',
|
2016-08-12 14:55:17 +00:00
|
|
|
'gstbytereader.h',
|
|
|
|
'gstbytewriter.h',
|
|
|
|
'gstcollectpads.h',
|
|
|
|
'gstdataqueue.h',
|
|
|
|
'gstflowcombiner.h',
|
|
|
|
'gstpushsrc.h',
|
|
|
|
'gstqueuearray.h',
|
|
|
|
'gsttypefindhelper.h',
|
|
|
|
]
|
|
|
|
|
2016-11-10 23:11:39 +00:00
|
|
|
gst_base_gen_sources = []
|
|
|
|
|
2018-03-23 16:48:37 +00:00
|
|
|
gst_base = library('gstbase-@0@'.format(apiversion),
|
|
|
|
gst_base_sources,
|
2018-08-25 21:09:12 +00:00
|
|
|
c_args : gst_c_args + ['-DBUILDING_GST_BASE'],
|
2018-03-23 16:48:37 +00:00
|
|
|
version : libversion,
|
|
|
|
soversion : soversion,
|
2018-08-28 20:33:28 +00:00
|
|
|
darwin_versions : osxversion,
|
2018-03-23 16:48:37 +00:00
|
|
|
install : true,
|
|
|
|
include_directories : [configinc, libsinc],
|
|
|
|
dependencies : [gobject_dep, glib_dep, gst_dep],
|
|
|
|
)
|
|
|
|
|
|
|
|
if build_gir
|
|
|
|
gst_gir_extra_args = gir_init_section + [ '--c-include=gst/base/base.h' ]
|
2018-10-22 06:14:11 +00:00
|
|
|
gst_base_gir = gnome.generate_gir(gst_base,
|
2018-03-23 16:48:37 +00:00
|
|
|
sources : gst_base_sources + gst_base_headers,
|
|
|
|
namespace : 'GstBase',
|
|
|
|
nsversion : apiversion,
|
|
|
|
identifier_prefix : 'Gst',
|
|
|
|
symbol_prefix : 'gst',
|
|
|
|
export_packages : 'gstreamer-base-1.0',
|
|
|
|
dependencies : [gst_dep],
|
|
|
|
include_directories : [configinc, libsinc, privinc],
|
|
|
|
includes : ['GLib-2.0', 'GObject-2.0', 'GModule-2.0', 'Gst-1.0'],
|
2016-08-12 14:55:17 +00:00
|
|
|
install : true,
|
2018-03-23 16:48:37 +00:00
|
|
|
extra_args : gst_gir_extra_args,
|
2018-10-22 06:14:11 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
gst_base_gen_sources += [gst_base_gir]
|
2016-08-12 14:55:17 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
gst_base_dep = declare_dependency(link_with : gst_base,
|
|
|
|
include_directories : [libsinc],
|
2016-11-10 23:11:39 +00:00
|
|
|
dependencies : [gst_dep],
|
|
|
|
sources : gst_base_gen_sources)
|
2016-08-12 14:55:17 +00:00
|
|
|
|
|
|
|
install_headers('base.h',
|
2018-03-12 23:03:26 +00:00
|
|
|
'base-prelude.h',
|
2016-08-12 14:55:17 +00:00
|
|
|
'gstadapter.h',
|
2017-12-02 15:24:22 +00:00
|
|
|
'gstaggregator.h',
|
2016-08-12 14:55:17 +00:00
|
|
|
'gstbaseparse.h',
|
|
|
|
'gstbasesink.h',
|
|
|
|
'gstbasesrc.h',
|
|
|
|
'gstbasetransform.h',
|
|
|
|
'gstbitreader.h',
|
2013-11-12 07:00:51 +00:00
|
|
|
'gstbitwriter.h',
|
2016-08-12 14:55:17 +00:00
|
|
|
'gstbytereader.h',
|
|
|
|
'gstbytewriter.h',
|
|
|
|
'gstcollectpads.h',
|
|
|
|
'gstdataqueue.h',
|
|
|
|
'gstflowcombiner.h',
|
|
|
|
'gstpushsrc.h',
|
|
|
|
'gstqueuearray.h',
|
|
|
|
'gsttypefindhelper.h',
|
|
|
|
subdir : 'gstreamer-1.0/gst/base',
|
|
|
|
)
|