mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user