From 810f2cdadf662a6bfaaed425b6ecd216a301cd3d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 19 Mar 2023 18:35:20 +0000 Subject: gentoo auto-resync : 19:03:2023 - 18:35:20 --- eclass/Manifest.gz | Bin 37493 -> 37496 bytes eclass/qt6-build.eclass | 10 ++++++++++ 2 files changed, 10 insertions(+) (limited to 'eclass') diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz index e59dbee781ca..d2ac94614c2f 100644 Binary files a/eclass/Manifest.gz and b/eclass/Manifest.gz differ diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass index f92d37eba2f3..79c06f341ede 100644 --- a/eclass/qt6-build.eclass +++ b/eclass/qt6-build.eclass @@ -137,6 +137,16 @@ qt_feature() { echo "-DQT_FEATURE_${2:-$1}=$(usex $1 ON OFF)" } +# @FUNCTION: qt6_symlink_binary_to_path +# @USAGE: [suffix] +# @DESCRIPTION: +# Symlink a given binary from QT6_BINDIR to QT6_PREFIX/bin, with optional suffix +qt6_symlink_binary_to_path() { + [[ $# -ge 1 ]] || die "${FUNCNAME}() requires at least one argument" + + dosym -r "${QT6_BINDIR}"/${1} /usr/bin/${1}${2} +} + ###### Internal functions ###### # @FUNCTION: qt6_prepare_env -- cgit v1.2.3