From ecb685e2ca6e5e50cc96f8c39df02a013c907027 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 3 Sep 2024 16:10:33 -0400 Subject: [PATCH] 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: --- subprojects/gst-python/testsuite/meson.build | 8 -------- 1 file changed, 8 deletions(-) diff --git a/subprojects/gst-python/testsuite/meson.build b/subprojects/gst-python/testsuite/meson.build index b4c58fd809..321290a38b 100644 --- a/subprojects/gst-python/testsuite/meson.build +++ b/subprojects/gst-python/testsuite/meson.build @@ -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(), '..')),