diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-01-03 04:27:16 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-01-03 04:34:04 -0500 |
commit | ae5ffe9ef3c004cb61c9423bfd9199f3c33bd632 (patch) | |
tree | f2a793b43ea95e7963741a24ebd1ac19afe5096a /eclass/qt6-build.eclass | |
parent | sys-auth/oath-toolkit: add 2.6.10 (diff) | |
download | gentoo-ae5ffe9ef3c004cb61c9423bfd9199f3c33bd632.tar.gz gentoo-ae5ffe9ef3c004cb61c9423bfd9199f3c33bd632.tar.bz2 gentoo-ae5ffe9ef3c004cb61c9423bfd9199f3c33bd632.zip |
qt6-build.eclass: cleanup deprecated qt6_symlink_binary_to_path
No consumers left for a while, kind of forgot about it.
If overlays were packaging additional Qt modules, their facing links
should be handled automatically even if this function call fails.
That is, unless they were doing extra links not suggested by upstream.
At that point I'd suggest doing a normal dosym, or better yet report
it to Qt so that it will be suggested in user_facing_tool_links.txt
for future versions.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'eclass/qt6-build.eclass')
-rw-r--r-- | eclass/qt6-build.eclass | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass index 0e439e946af3..561a4fe20422 100644 --- a/eclass/qt6-build.eclass +++ b/eclass/qt6-build.eclass @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: qt6-build.eclass @@ -196,20 +196,6 @@ qt_feature() { echo "-DQT_FEATURE_${2:-${1}}=$(usex ${1} ON OFF)" } -# @FUNCTION: qt6_symlink_binary_to_path -# @USAGE: <target binary name> [suffix] -# @DESCRIPTION: -# Symlink a given binary from QT6_BINDIR to QT6_PREFIX/bin, with -# optional suffix. -# -# Note: deprecated, will be removed when no consumers left in-tree, -# see internal the _qt6-build_create_user_facing_links -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-build_create_user_facing_links |