gstreamer/subprojects/gst-python/gi/overrides/meson.build
Xavier Claessens 0fa7923937 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>
2022-03-14 08:56:54 -04:00

18 lines
539 B
Meson

pysources = ['Gst.py', 'GstPbutils.py', 'GstVideo.py', 'GstAudio.py']
install_data(pysources,
install_dir: pygi_override_dir,
install_tag: 'python-runtime')
gstpython = python.extension_module('_gi_gst',
sources: ['gstmodule.c'],
install: true,
install_dir : pygi_override_dir,
include_directories : [configinc],
dependencies : [gst_dep, python_dep, pygobject_dep])
env = environment()
env.prepend('_GI_OVERRIDES_PATH', [
meson.current_source_dir(),
meson.current_build_dir()
])
meson.add_devenv(env)