bottle/meson_options.txt
Eli Schwartz de6249ce22 Support file with seccomp enabled
Not all compression types can be detected in the seccomp sandbox, so we
need to disable it. This requires either configuring makepkg to know the
sandbox is available, or checking for file >= 5.38 in which the sandbox
option is a no-op even when seccomp is disabled.

- Requires autoconf-archive for autotools version compare macro.
- meson version comparison could be made a lot simpler using meson-git.

Fixes FS#58626

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2019-10-07 13:43:37 +10:00

60 lines
2.3 KiB
Meson

# build behavior
option('use-git-version', type : 'boolean', value : false,
description : 'take version information from git')
option('buildstatic', type : 'boolean', value : false,
description : 'if true, build statically linked binaries')
# directories and filenames
option('root-dir', type : 'string', value : '/',
description : 'set the location of the root operating directory')
option('pkg-ext', type : 'string', value : '.pkg.tar.gz',
description : 'set the file extension used by packages')
option('src-ext', type : 'string', value : '.src.tar.gz',
description : 'set the file extension used by source packages')
option('scriptlet-shell', type : 'string', value : '/bin/sh',
description : 'The full path of the shell used to run install scriptlets')
option('ldconfig', type : 'string', value : '/sbin/ldconfig',
description : 'set the full path to ldconfig')
option('buildscript', type : 'string', value : 'PKGBUILD',
description : 'set the build script name used by makepkg')
option('datarootdir', type : 'string', value : 'share',
description : 'FIXME')
option('makepkg-template-dir', type : 'string', value : '/usr/share/makepkg-template',
description : 'template dir used by makepkg-template')
option('debug-suffix', type : 'string', value : 'debug',
description : 'suffix for split debugging symbol packages used by makepkg')
# dependencies, features
option('doc', type : 'feature', value : 'auto',
description : 'generate docs and manpages')
option('doxygen', type : 'feature', value : 'disabled',
description : 'generate doxygen manpages and html')
option('curl', type : 'feature', value : 'auto',
description : 'use curl to download files')
option('crypto', type : 'combo', choices : ['openssl', 'nettle'],
description : 'select crypto implementation')
option('gpgme', type : 'feature', value : 'auto',
description : 'use GPGME for PGP signature verification')
option('i18n', type : 'boolean', value : true,
description : 'enable localization of pacman, libalpm and scripts')
# tools
option('file-seccomp', type: 'feature', value: 'auto',
description: 'determine whether file is seccomp-enabled')
option('sedinplaceflags', type : 'string', value : 'auto',
description : 'flags to pass to sed to edit a file in-place')