qt6-build.eclass

Name

qt6-build.eclass -- Eclass for Qt6 split ebuilds.

Description

This eclass contains various functions that are used when building Qt6.

Supported EAPIs

8

Transitively Provided Eclasses

  • cmake

Exported Phases

  • src_unpack

  • src_test

  • src_install

  • src_prepare

  • src_configure

Functions

qt6-build_src_unpack

Run git-r3_src_unpack if needed (live), then default to unpack e.g. patchsets in live ebuilds.

qt6-build_src_prepare

Run cmake_src_prepare, prepare the environment (such as set QT6_PREFIX, QT6_LIBDIR, and others), and handle anything else generic as needed.

qt6-build_src_configure

Run cmake_src_configure and handle anything else generic as needed.

qt6-build_src_test [<cmake_src_test argument>...]

Run cmake_src_test and handle anything else generic as-needed.

qt6-build_src_install

Run cmake_src_install and handle anything else generic as needed.

qt_feature <flag> [feature]

<flag> is the name of a flag in IUSE.

Variables

QT6_BUILD_TYPE
Read only variable set based on PV to one of:
  • release: official 6.x.x releases

  • pre-release: development 6.x.x_rc/beta/alpha releases

  • live: *.9999 (dev branch), 6.x.9999 (stable branch)

QT6_MODULE (SET BEFORE INHERIT)

The upstream name of the module this package belongs to. Used for SRC_URI and EGIT_REPO_URI.

QT6_HAS_STATIC_LIBS (SET BEFORE INHERIT)

Should be set to a non-empty value if static libraries may be installed so that dot-a.eclass will be used. Using either way is mostly harmless but still a bit wasteful, thus the variable.

QT6_RESTRICT_TESTS (SET BEFORE INHERIT)

If set to a non-empty value, will not add IUSE="test" and set RESTRICT="test" instead. Primarily intended for ebuilds where running tests is unmaintained (or missing) rather than just temporarily restricted not to have a broken USE (bug #930266).

Maintainers

qt@gentoo.org

Reporting Bugs

Please report bugs via https://bugs.gentoo.org/