Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 05dec1073..e700d2eed 100644
--- a/meson.build
+++ b/meson.build
@@ -4,7 +4,11 @@ project('gst-plugins-rs',
version: '0.9.0-alpha.1',
meson_version : '>= 0.60')
-python = import('python').find_installation()
+# dependencies.py needs a toml parsing module
+python = import('python').find_installation(modules: ['tomllib'], required: false)
+if not python.found()
+ python = import('python').find_installation(modules: ['tomli'])
+endif
fs = import('fs')
host_system = host_machine.system()