diff options
author | 2023-07-15 12:20:27 +0100 | |
---|---|---|
committer | 2023-08-02 07:31:19 +0100 | |
commit | ad3994394af0bc975ec7c28bd60de496b580c25e (patch) | |
tree | 6d7d1321e8c1a9ef585764a67cc0694762a9b217 /meson_options.txt | |
parent | Linting fixes (diff) | |
download | portage-ad3994394af0bc975ec7c28bd60de496b580c25e.tar.gz portage-ad3994394af0bc975ec7c28bd60de496b580c25e.tar.bz2 portage-ad3994394af0bc975ec7c28bd60de496b580c25e.zip |
Migrate from setuptools to Meson and meson-python
This makes Portage PEP 517 compliant.
When building via meson-python, the man pages and logrotate config are
no longer included as there seems little point.
Bug: https://bugs.gentoo.org/910035
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt new file mode 100644 index 000000000..a433a52e9 --- /dev/null +++ b/meson_options.txt @@ -0,0 +1,59 @@ +option('system-wide', type : 'boolean', value : true, + description : 'Install system-wide rather than isolated inside a Python environment' +) + +option('code-only', type : 'boolean', value : false, + description : 'Do not install additional files such as configuration or documentation' +) + +option('eprefix', type : 'string', + description : 'Prefix directory for Portage to operate under' +) + +option('portage-base', type : 'string', + description : 'Portage installation base directory' +) + +option('portage-bindir', type : 'string', + description : 'Internal Portage executables directory' +) + +option('portage-datadir', type : 'string', + description : 'Data files directory' +) + +option('docdir', type : 'string', + description : 'Documentation directory' +) + +option('doc', type : 'boolean', value : false, + description : 'Build and install documentation' +) + +option('doc-formats', type : 'array', choices : ['xhtml', 'xhtml-nochunks'], + description : 'Documentation formats to build' +) + +option('apidoc', type : 'boolean', value : false, + description : 'Build and install API documentation' +) + +option('native-extensions', type : 'boolean', value : true, + description : 'Build and install the native extensions for better performance' +) + +option('gentoo-dev', type : 'boolean', value : false, + description : 'Enable features required for Gentoo ebuild development' +) + +option('ipc', type : 'boolean', value : true, + description : 'Use inter-process communication between Portage and running ebuilds' +) + +option('rsync-verify', type : 'boolean', value : true, + description : 'Enable full-tree cryptographic verification of Gentoo repository rsync checkouts' +) + +option('xattr', type : 'boolean', value : false, + description : 'Preserve extended attributes when installing files' +) |