mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
meson: do not invoke pkgconfig directly in gst-python
That bypass env setup by Meson and is dead code anyway because pluginsdirs is later overriden by the proper gst_dep.get_variable() solution. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7445>
This commit is contained in:
parent
0df80a1bec
commit
ecb685e2ca
1 changed files with 0 additions and 8 deletions
|
@ -7,14 +7,6 @@ tests = [
|
|||
['Test analytics', 'test_analytics.py'],
|
||||
]
|
||||
|
||||
pluginsdirs = []
|
||||
if not meson.is_subproject()
|
||||
pkgconfig = find_program('pkg-config')
|
||||
runcmd = run_command(pkgconfig, '--variable=pluginsdir',
|
||||
'gstreamer-' + api_version, check: true)
|
||||
pluginsdirs = runcmd.stdout().split()
|
||||
endif
|
||||
|
||||
runcmd = run_command(python, '-c', '''with open("@0@/mesonconfig.py", "w") as f:
|
||||
f.write("path='@1@'")'''.format(
|
||||
join_paths(meson.current_build_dir()), join_paths(meson.current_build_dir(), '..')),
|
||||
|
|
Loading…
Reference in a new issue