This lets a packager ensure that the binary object built from an unpacked source tarball is identical to the binary object created from a live git tree. I hope to use it in debian with something like -Drevno=debian/3.36.1-1 during the meson configuration, so that the help dialog box and the bug reporting logs can identify the specific build. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
65 lines
1.3 KiB
Meson
65 lines
1.3 KiB
Meson
#
|
|
# General build options
|
|
#
|
|
option(
|
|
'contractor',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Whether to install the contractor file (Elementary OS-specific).'
|
|
)
|
|
option(
|
|
'iso_639_xml',
|
|
type: 'string',
|
|
value: '',
|
|
description: 'Full path to the ISO 639 XML file.'
|
|
)
|
|
option(
|
|
'iso_3166_xml',
|
|
type: 'string',
|
|
value: '',
|
|
description: 'Full path to the ISO 3166 XML file.'
|
|
)
|
|
option(
|
|
'libunwind_optional',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Determines if libunwind is required.'
|
|
)
|
|
option(
|
|
'poodle',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Whether to apply the POODLE SSLv3 fix.'
|
|
)
|
|
option(
|
|
'tnef-support',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Whether to support TNEF attachments (requires libytnef).'
|
|
)
|
|
option(
|
|
'valadoc',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Whether to build the documentaton (requires valadoc).'
|
|
)
|
|
|
|
# Development options
|
|
option(
|
|
'profile',
|
|
type: 'combo',
|
|
value: 'default',
|
|
choices: ['default','development','beta'],
|
|
description: 'Specifies the application type to be built'
|
|
)
|
|
option(
|
|
'ref_tracking',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Whether to use explicit reference tracking.'
|
|
)
|
|
option(
|
|
'revno',
|
|
type: 'string',
|
|
description: 'Custom revision string (default extracted from "git describe")'
|
|
)
|