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

system-info: Move from examples/ to bin/ and install in its own package


This has become less an example and more a command-line driver for the
library, so rename it accordingly.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 08709e24
No related branches found
No related tags found
1 merge request!28Re-brand steam-runtime-system-info to be more like a standalone tool
Pipeline #1358 passed
File moved
File moved
...@@ -86,6 +86,7 @@ Section: misc ...@@ -86,6 +86,7 @@ Section: misc
Depends: Depends:
${misc:Depends}, ${misc:Depends},
${shlibs:Depends}, ${shlibs:Depends},
steam-runtime-tools-bin,
zlib1g, zlib1g,
Description: Description:
The Steam Runtime is the library stack used to run the Steam client The Steam Runtime is the library stack used to run the Steam client
...@@ -93,3 +94,24 @@ Description: ...@@ -93,3 +94,24 @@ Description:
supporting code used by the Steam client to discover system information. supporting code used by the Steam client to discover system information.
. .
This package contains automated tests. This package contains automated tests.
Package: steam-runtime-tools-bin
Architecture: any
Multi-Arch: foreign
Section: libdevel
Breaks:
libsteam-runtime-tools-0-tests (<< 0.20190806.0~),
Replaces:
libsteam-runtime-tools-0-tests (<< 0.20190806.0~),
Depends:
libsteam-runtime-tools-0-0,
${misc:Depends},
${shlibs:Depends},
Description: Steam Runtime utility library - command-line tools
The Steam Runtime is the library stack used to run the Steam client
on Linux. The Steam Runtime Tools utility library contains open-source
supporting code used by the Steam client to discover system information.
.
This package contains the command-line tool steam-runtime-system-info,
which summarizes everything that the libsteam-runtime-tools library
can find out.
usr/bin/steam-runtime-system-info
usr/libexec/installed-tests usr/libexec/installed-tests
usr/share/installed-tests usr/share/installed-tests
usr/bin/steam-runtime-system-info
...@@ -129,8 +129,8 @@ if multiarch != '' ...@@ -129,8 +129,8 @@ if multiarch != ''
subdir('helpers') subdir('helpers')
endif endif
subdir('bin')
subdir('docs') subdir('docs')
subdir('examples')
subdir('tests') subdir('tests')
# vim:set sw=2 sts=2 et: # vim:set sw=2 sts=2 et:
...@@ -25,13 +25,13 @@ test_env = environment() ...@@ -25,13 +25,13 @@ test_env = environment()
test_env.set('G_TEST_SRCDIR', meson.current_source_dir()) test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir()) test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
test_env.set('SRT_HELPERS_PATH', join_paths(meson.current_build_dir(), '..', 'helpers')) test_env.set('SRT_HELPERS_PATH', join_paths(meson.current_build_dir(), '..', 'helpers'))
test_env.prepend('PATH', join_paths(meson.current_build_dir(), '..', 'examples')) test_env.prepend('PATH', join_paths(meson.current_build_dir(), '..', 'bin'))
tests = [ tests = [
'architecture', 'architecture',
'examples-system-info',
'library', 'library',
'system-info', 'system-info',
'system-info-cli',
] ]
tests_dir = join_paths( tests_dir = join_paths(
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment