Meson: Set install_tag on some files

Meson tries to guess the tag (runtime, devel, etc) for every installed
file, but it cannot guess them all. There is a list at the end of
meson-log.txt of files we need to tag manually.

See https://mesonbuild.com/Installing.html#installation-tags.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1934>
This commit is contained in:
Xavier Claessens 2022-03-11 18:08:14 -05:00
parent 6f57199958
commit 0fa7923937
5 changed files with 14 additions and 5 deletions

View file

@ -1012,6 +1012,7 @@ if build_gstgl
configure_file(input : 'gstglconfig.h.meson',
output : 'gstglconfig.h',
install_dir : get_option('libdir') + '/gstreamer-1.0/include/gst/gl',
install_tag : 'devel',
configuration : glconf)
glib_mkenums = find_program('glib-mkenums')

View file

@ -1,6 +1,7 @@
pysources = ['Gst.py', 'GstPbutils.py', 'GstVideo.py', 'GstAudio.py']
install_data(pysources,
install_dir: pygi_override_dir)
install_dir: pygi_override_dir,
install_tag: 'python-runtime')
gstpython = python.extension_module('_gi_gst',
sources: ['gstmodule.c'],

View file

@ -6,4 +6,5 @@ bash_helper_conf.set('GST_API_VERSION', apiversion)
configure_file(input : 'gst.in',
output : 'gst',
install_dir : bash_helpers_dir,
configuration : bash_helper_conf)
configuration : bash_helper_conf,
install_tag : 'runtime')

View file

@ -1,5 +1,9 @@
if (bashcomp_found)
subdir('bash-completion/helpers')
install_data('bash-completion/completions/gst-launch-1.0', install_dir : bash_completions_dir)
install_data('bash-completion/completions/gst-inspect-1.0', install_dir : bash_completions_dir)
install_data('bash-completion/completions/gst-launch-1.0',
install_dir : bash_completions_dir,
install_tag : 'runtime')
install_data('bash-completion/completions/gst-inspect-1.0',
install_dir : bash_completions_dir,
install_tag : 'runtime')
endif

View file

@ -125,7 +125,8 @@ if have_ptp
endif
install_data(['gst_gdb.py', 'glib_gobject_helper.py'],
install_dir : join_paths(get_option('datadir'), 'gstreamer-@0@'.format(apiversion), 'gdb'))
install_dir : join_paths(get_option('datadir'), 'gstreamer-@0@'.format(apiversion), 'gdb'),
install_tag : 'devel')
gdbconf = configuration_data()
gdbconf.set('GST_API_VERSION', apiversion)
@ -143,4 +144,5 @@ endif
configure_file(input : 'libgstreamer-gdb.py.in',
output : 'libgstreamer-@0@.so.@1@-gdb.py'.format(apiversion, libversion),
install_dir : gdb_install_dir,
install_tag : 'devel',
configuration : gdbconf)