Skip to content
Snippets Groups Projects
Commit c48d788b authored by Simon McVittie's avatar Simon McVittie
Browse files

build: Disable optional features of steam-runtime-tools subproject


We don't need any of these, so we might as well reduce dependencies and
speed up the build a bit.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 48e13deb
No related branches found
No related tags found
No related merge requests found
...@@ -129,6 +129,19 @@ add_project_arguments(supported_warning_cflags, language : 'c') ...@@ -129,6 +129,19 @@ add_project_arguments(supported_warning_cflags, language : 'c')
libglnx = subproject('libglnx') libglnx = subproject('libglnx')
steam_runtime_tools = dependency(
'steam-runtime-tools-0',
version : '>=0.20200331.1',
required : true,
fallback : ['steam-runtime-tools', 'libsteamrt_dep'],
default_options : [
'gtk_doc=false',
'man=false',
'installed_tests=false',
'introspection=false',
],
)
scripts = [ scripts = [
'pressure-vessel-locale-gen', 'pressure-vessel-locale-gen',
'pressure-vessel-test-ui', 'pressure-vessel-test-ui',
...@@ -257,13 +270,7 @@ executable( ...@@ -257,13 +270,7 @@ executable(
'-Wno-unused-local-typedefs', '-Wno-unused-local-typedefs',
], ],
dependencies : [ dependencies : [
dependency( steam_runtime_tools,
'steam-runtime-tools-0',
version : '>=0.20200331.1',
required : true,
fallback : ['steam-runtime-tools', 'libsteamrt_dep'],
default_options : ['gtk_doc=false'],
),
dependency('gio-unix-2.0', required : true), dependency('gio-unix-2.0', required : true),
dependency('xau', required : true), dependency('xau', required : true),
libglnx.get_variable('libglnx_dep'), libglnx.get_variable('libglnx_dep'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment