mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
meson: add install_plugins_helper option
This commit is contained in:
parent
9c92ae89c7
commit
d3bd3e0400
2 changed files with 10 additions and 1 deletions
|
@ -121,10 +121,17 @@ core_conf.set_quoted('PACKAGE', 'gst-plugins-base')
|
||||||
core_conf.set_quoted('VERSION', gst_version)
|
core_conf.set_quoted('VERSION', gst_version)
|
||||||
core_conf.set_quoted('PACKAGE_VERSION', gst_version)
|
core_conf.set_quoted('PACKAGE_VERSION', gst_version)
|
||||||
core_conf.set_quoted('GST_API_VERSION', api_version)
|
core_conf.set_quoted('GST_API_VERSION', api_version)
|
||||||
core_conf.set_quoted('GST_INSTALL_PLUGINS_HELPER', 'FIXME')
|
|
||||||
core_conf.set_quoted('GST_DATADIR', join_paths(get_option('prefix'), get_option('datadir')))
|
core_conf.set_quoted('GST_DATADIR', join_paths(get_option('prefix'), get_option('datadir')))
|
||||||
core_conf.set_quoted('GST_LICENSE', 'LGPL')
|
core_conf.set_quoted('GST_LICENSE', 'LGPL')
|
||||||
|
|
||||||
|
install_plugins_helper = get_option('install_plugins_helper')
|
||||||
|
if install_plugins_helper == ''
|
||||||
|
install_plugins_helper = join_paths(get_option('prefix'),
|
||||||
|
get_option('libexecdir'),
|
||||||
|
'gst-install-plugins-helper')
|
||||||
|
endif
|
||||||
|
core_conf.set_quoted('GST_INSTALL_PLUGINS_HELPER', install_plugins_helper)
|
||||||
|
|
||||||
warning_flags = [
|
warning_flags = [
|
||||||
'-Wmissing-declarations',
|
'-Wmissing-declarations',
|
||||||
'-Wredundant-decls',
|
'-Wredundant-decls',
|
||||||
|
|
|
@ -14,6 +14,8 @@ option('opengl_module_name', type : 'string', value : '',
|
||||||
description : 'The file to pass to g_module_open to open the libGL library (default: libGL)')
|
description : 'The file to pass to g_module_open to open the libGL library (default: libGL)')
|
||||||
option('gles2_module_name', type : 'string', value : '',
|
option('gles2_module_name', type : 'string', value : '',
|
||||||
description : 'The file to pass to g_module_open to open the libGLESv2 library (default: libGLESv2)')
|
description : 'The file to pass to g_module_open to open the libGLESv2 library (default: libGLESv2)')
|
||||||
|
option('install_plugins_helper', type: 'string', value: '',
|
||||||
|
description: 'Path of distro helper script to call to install missing plugins')
|
||||||
|
|
||||||
# Common options
|
# Common options
|
||||||
option('orc', type : 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', yield : true)
|
option('orc', type : 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', yield : true)
|
||||||
|
|
Loading…
Reference in a new issue