From d13d9d03c45a6ffbf6e65ee81a3c991889ca67c2 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 2 Mar 2026 07:27:24 +0000 Subject: [PATCH] eclass/qmake-utils: Sync with Gentoo It's from Gentoo commit 70a4eda488cbf41c1896d0bdedbc83ac0fc61dae. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/qmake-utils.eclass | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/qmake-utils.eclass b/sdk_container/src/third_party/portage-stable/eclass/qmake-utils.eclass index 5c5fa8dcb0..1be7524693 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/qmake-utils.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/qmake-utils.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: qmake-utils.eclass @@ -6,7 +6,7 @@ # qt@gentoo.org # @AUTHOR: # Davide Pesavento -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 8 # @BLURB: Common functions for qmake-based packages. # @DESCRIPTION: # Utility eclass providing wrapper functions for Qt qmake. @@ -15,7 +15,7 @@ # functions. It can be inherited safely. case ${EAPI} in - 7|8) ;; + 8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac @@ -141,6 +141,13 @@ qt6_get_libdir() { echo /usr/$(get_libdir) } +# @FUNCTION: qt6_get_libexecdir +# @DESCRIPTION: +# Echoes the directory where Qt6 libexec bins are installed. +qt6_get_libexecdir() { + echo $(qt6_get_libdir)/qt6/libexec +} + # @FUNCTION: qt6_get_mkspecsdir # @DESCRIPTION: # Echoes the directory where Qt6 mkspecs are installed.