mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 21:11:00 +00:00
meson: Require tomllib / tomli python modules explicitly
These are required by dependencies.py Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1028>
This commit is contained in:
parent
ae9ac872c0
commit
72fa5fa922
1 changed files with 5 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue