2019-04-11 00:27:45 +00:00
|
|
|
# version: '1.15.90' - we're putting this in here to trick the dist-hook check
|
2019-01-17 09:58:47 +00:00
|
|
|
# in release.mak in the common submodule without having to update it
|
2016-08-05 19:48:41 +00:00
|
|
|
inc_dirs = include_directories('.')
|
|
|
|
|
|
|
|
cdata = configuration_data()
|
2016-09-08 15:53:30 +00:00
|
|
|
|
2016-09-08 15:52:24 +00:00
|
|
|
cdata.set('GST_LICENSE', '"LGPL"')
|
|
|
|
cdata.set('VERSION', '"@0@"'.format(gst_version))
|
|
|
|
cdata.set('PACKAGE', '"gst-validate"')
|
|
|
|
cdata.set('GST_PACKAGE_NAME', '"GStreamer Validate"')
|
|
|
|
cdata.set('GST_PACKAGE_ORIGIN', '"Unknown package origin"')
|
2016-08-05 19:48:41 +00:00
|
|
|
cdata.set('GST_API_VERSION', '"@0@"'.format(apiversion))
|
|
|
|
cdata.set('VALIDATEPLUGINDIR', '"@0@/@1@/gstreamer-1.0/validate"'.format(get_option('prefix'),get_option('libdir')))
|
|
|
|
cdata.set('GST_DATADIR', '"@0@/@1@"'.format(prefix, get_option('datadir')))
|
|
|
|
cdata.set('PACKAGE_NAME', '"GStreamer Validate"')
|
2016-09-08 15:53:30 +00:00
|
|
|
cdata.set('PACKAGE_VERSION', '"@0@"'.format(gst_version))
|
2017-04-28 20:59:21 +00:00
|
|
|
if cc.has_header('unistd.h')
|
|
|
|
cdata.set('HAVE_UNISTD_H', 1)
|
|
|
|
endif
|
2016-11-08 21:06:19 +00:00
|
|
|
configure_file(output : 'config.h', configuration : cdata)
|
2016-08-05 19:48:41 +00:00
|
|
|
|
2016-11-19 10:36:32 +00:00
|
|
|
vs_module_defs_dir = meson.current_source_dir() + '/win32/common/'
|
|
|
|
|
2017-01-30 21:19:00 +00:00
|
|
|
validate_plugins_install_dir = '@0@/gstreamer-1.0/validate'.format(get_option('libdir'))
|
2016-08-05 19:48:41 +00:00
|
|
|
subdir('data')
|
|
|
|
subdir('gst')
|
2017-01-30 21:19:00 +00:00
|
|
|
subdir('gst-libs')
|
2016-08-05 19:48:41 +00:00
|
|
|
subdir('launcher')
|
|
|
|
subdir('tools')
|
2017-02-15 15:39:18 +00:00
|
|
|
if build_machine.system() == 'windows'
|
|
|
|
message('Disabling gtk-doc while building on Windows')
|
|
|
|
else
|
2018-07-25 11:57:03 +00:00
|
|
|
gtkdoc = find_program('gtkdoc-scan', required : get_option('gtk_doc'))
|
|
|
|
if gtkdoc.found()
|
2017-02-15 15:39:18 +00:00
|
|
|
subdir('docs')
|
|
|
|
else
|
|
|
|
message('Not building documentation as gtk-doc was not found')
|
|
|
|
endif
|
|
|
|
endif
|
2016-08-05 19:48:41 +00:00
|
|
|
subdir('pkgconfig')
|
2018-09-01 06:39:32 +00:00
|
|
|
if not get_option('tests').disabled()
|
|
|
|
subdir('tests')
|
|
|
|
endif
|
2017-01-30 21:19:00 +00:00
|
|
|
subdir('plugins')
|
2016-08-05 19:48:41 +00:00
|
|
|
#subdir('po')
|