commit:     6960652425ec59424a7eca66caf625ab13a67476
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 30 04:59:03 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jun 30 06:08:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69606524

qt6-build.eclass: move CMAKE_QA_COMPAT_SKIP=1 to src_prepare

This was changed in cmake.eclass, could move it global but kind of
prefer to avoid this in an eclass and it has the minor bonus of
letting the src_install QA check still happen which we have no
reason to skip on such a large dev-qt/*:6 scale.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 eclass/qt6-build.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass
index c60a56f84203..462de4e0b1ad 100644
--- a/eclass/qt6-build.eclass
+++ b/eclass/qt6-build.eclass
@@ -118,6 +118,9 @@ qt6-build_src_unpack() {
 # QT6_PREFIX, QT6_LIBDIR, and others), and handle anything else
 # generic as needed.
 qt6-build_src_prepare() {
+       # Qt has quite a lot of unused (false positive) CMakeLists.txt
+       local CMAKE_QA_COMPAT_SKIP=1
+
        cmake_src_prepare
 
        if [[ -e CMakeLists.txt ]]; then
@@ -178,9 +181,6 @@ qt6-build_src_configure() {
                local mycmakeargs=("${defaultcmakeargs[@]}")
        fi
 
-       # Qt has quite a lot of unused (false positive) CMakeLists.txt
-       local CMAKE_QA_COMPAT_SKIP=1
-
        cmake_src_configure
 }
 

Reply via email to