MESON-MULTILIB.ECLASS
Section: eclass-manpages (5)Updated: Nov 2024
Index Return to Main Contents
NAME
meson-multilib.eclass - meson wrapper for multilib buildsDESCRIPTION
The meson-multilib.eclass provides a glue between meson.eclass(5) and multilib-minimal.eclass(5), aiming to provide a convenient way to build packages using meson for multiple ABIs.Inheriting this eclass sets IUSE and exports default multilib_src_*() sub-phases that call meson phase functions for each ABI enabled. The multilib_src_*() functions can be defined in ebuild just like in multilib-minimal, yet they ought to call appropriate meson phase rather than 'default'.
SUPPORTED EAPIS
7 8TRANSITIVELY PROVIDED ECLASSES
meson multilib-minimalFUNCTIONS
- meson_native_use_bool <USE flag> [option name]
-
Given a USE flag and a meson project option, output a string like:
-Doption=true
-Doption=falseif building for the native ABI (multilib_is_native_abi is true). Otherwise, output -Doption=false. If the project option is unspecified, it defaults to the USE flag.
- meson_native_use_feature <USE flag> [option name]
-
Given a USE flag and a meson project option, output a string like:
-Doption=enabled
-Doption=disabledif building for the native ABI (multilib_is_native_abi is true). Otherwise, output -Doption=disabled. If the project option is unspecified, it defaults to the USE flag.
- meson_native_enabled <option name>
- Output -Doption=enabled option if executables are being built (multilib_is_native_abi is true). Otherwise, output -Doption=disabled option.
- meson_native_true <option name>
- Output -Doption=true option if executables are being built (multilib_is_native_abi is true). Otherwise, output -Doption=false option.
AUTHORS
Michał Górny <[email protected]>Matt Turner <[email protected]>
MAINTAINERS
Matt Turner <[email protected]>REPORTING BUGS
Please report bugs via https://bugs.gentoo.org/FILES
meson-multilib.eclassSEE ALSO
ebuild(5)https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/meson-multilib.eclass
Index
- NAME
- DESCRIPTION
- SUPPORTED EAPIS
- TRANSITIVELY PROVIDED ECLASSES
- FUNCTIONS
- AUTHORS
- MAINTAINERS
- REPORTING BUGS
- FILES
- SEE ALSO
This document was created by man2html, using the manual pages.
Time: 03:27:01 GMT, November 25, 2024