libsecret/meson_options.txt
Niels De Graef 219c3f3c48 meson: Put test setup behind a feature option
This should allow the following cases:

- In case of "auto" (the default): meson will check if the necessary
  binaries are installed (such as `dbus-run-session`) on the system and
  fall back.
- In case of "enabled": meson will require the necessary binaries to be
  installed
- In case of "disabled": meson will not try to mark this as the default
  test setup.

The first case was already the default, however, some systems have a
preconfigured test setup which they'd like to use instead. Allow them to
disable the default test setup in that case.

Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/issues/101
2025-01-26 23:45:31 +01:00

69 lines
1.2 KiB
Meson

option('manpage',
type: 'boolean',
value: true,
description: 'Build man pages',
)
option('crypto',
type: 'combo',
choices: ['libgcrypt',
'gnutls',
'disabled'],
value: 'libgcrypt',
description: 'Backend library to implement transport encryption',
)
option('debugging',
type: 'boolean',
value: false,
description: 'Turn debugging on/off',
)
option('vapi',
type: 'boolean',
value: true,
description: 'Create VAPI file.',
)
option('gtk_doc',
type: 'boolean',
value: true,
description: 'Build reference documentation using gi-docgen',
)
option('introspection',
type: 'boolean',
value: true,
description: 'Create GIR file.',
)
option('bashcompdir',
type: 'string',
value: '',
description: 'Override default location for bash completion files',
)
option('bash_completion',
type: 'feature',
value: 'auto',
description: 'Install bash completion files',
)
option('tpm2',
type: 'boolean',
value: false,
description: 'With TPM2 Software Stack',
)
option('pam',
type: 'boolean',
value: false,
description: 'Build PAM module',
)
option('test_setup',
type: 'feature',
value: 'auto',
description: 'Automatically setup a test environment when running tests',
)