mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
5f0493d33a
Trying to follow recommendation from Meson documentation: https://mesonbuild.com/Installing.html#installation-tags Move tools into 'bin' or 'bin-devel' categories to keep only libs and plugins in the default 'runtime' category. This simplifies distribution of GStreamer application skipping parts that are not needed, similarly to what Cerbero does by hardcoding huge list of files. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3017>
19 lines
574 B
Meson
19 lines
574 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,
|
|
install_tag: 'python-runtime',
|
|
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)
|