From eea3df38fce359ae283a97d7a70aa11a93957ed1 Mon Sep 17 00:00:00 2001 From: Carlos Bentzen Date: Tue, 10 Sep 2024 21:25:42 +0200 Subject: [PATCH] meson: gst-play: link to libm gst-play.c depends on libm due to using `round`. Passing by, correct identation of `gst_tools` definition. Part-of: --- .../gst-plugins-base/tools/meson.build | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/subprojects/gst-plugins-base/tools/meson.build b/subprojects/gst-plugins-base/tools/meson.build index 32d2a01a8b..ec2c54ef6b 100644 --- a/subprojects/gst-plugins-base/tools/meson.build +++ b/subprojects/gst-plugins-base/tools/meson.build @@ -25,24 +25,24 @@ if host_system == 'windows' endif endif - gst_tools = { - 'gst-device-monitor': { - 'files': files('gst-device-monitor.c'), - 'deps': tool_deps, - 'man_page': files('gst-device-monitor-@0@.1'.format(api_version)) - }, - 'gst-discoverer': { - 'files': files('gst-discoverer.c'), - 'deps': tool_deps, - 'man_page': files('gst-discoverer-@0@.1'.format(api_version)) - }, - 'gst-play': { - 'files': files('gst-play.c', 'gst-play-kb.c'), - 'deps': tool_deps + extra_deps, - 'man_page': files('gst-play-@0@.1'.format(api_version)), - 'extra_c_args': extra_args - }, - } +gst_tools = { + 'gst-device-monitor': { + 'files': files('gst-device-monitor.c'), + 'deps': tool_deps, + 'man_page': files('gst-device-monitor-@0@.1'.format(api_version)) + }, + 'gst-discoverer': { + 'files': files('gst-discoverer.c'), + 'deps': tool_deps, + 'man_page': files('gst-discoverer-@0@.1'.format(api_version)) + }, + 'gst-play': { + 'files': files('gst-play.c', 'gst-play-kb.c'), + 'deps': tool_deps + libm + extra_deps, + 'man_page': files('gst-play-@0@.1'.format(api_version)), + 'extra_c_args': extra_args + }, +} if not get_option('tools').disabled() and not static_build foreach tool, data: gst_tools