summaryrefslogtreecommitdiff
path: root/eclass/qt-utils.eclass
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-07-14 03:04:44 -0500
committerroot <root@alpha.trunkmasters.com>2026-07-14 03:04:44 -0500
commit22ab5437b999b26eb3960d336dd392ccab062827 (patch)
tree43a85d35f8768ca8bfe5dbff9b129ada4b8c7847 /eclass/qt-utils.eclass
parentd6c616f80bd44aa3323ca5211338d251e1215938 (diff)
downloadbaldeagleos-repo-22ab5437b999b26eb3960d336dd392ccab062827.tar.gz
baldeagleos-repo-22ab5437b999b26eb3960d336dd392ccab062827.tar.xz
baldeagleos-repo-22ab5437b999b26eb3960d336dd392ccab062827.zip
Adding metadata
Diffstat (limited to 'eclass/qt-utils.eclass')
-rw-r--r--eclass/qt-utils.eclass18
1 files changed, 8 insertions, 10 deletions
diff --git a/eclass/qt-utils.eclass b/eclass/qt-utils.eclass
index 588904446bf8..5bdd3827394d 100644
--- a/eclass/qt-utils.eclass
+++ b/eclass/qt-utils.eclass
@@ -18,8 +18,7 @@ if [[ -z ${_QT_UTILS_ECLASS} ]]; then
_QT_UTILS_ECLASS=1
case ${EAPI} in
- 8) inherit eapi9-pipestatus ;;
- 9) ;;
+ 8|9) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
@@ -105,8 +104,7 @@ qt_get_bindir() {
qt_get_broot_binary() {
_qt_get_check_func_call "$@"
PATH=${BROOT}$(qt_get_libexecdir ${1}):${BROOT}$(qt_get_bindir ${1}) \
- type -P "${2}" | head -n 1
- pipestatus || die "${FUNCNAME[0]}: failed trying to detect binary: ${2}"
+ type -P "${2}" || die "${FUNCNAME[0]}: failed trying to detect binary: ${2}"
}
# @FUNCTION: qt_get_headerdir
@@ -155,7 +153,7 @@ qt_get_qmldir() {
}
# @FUNCTION: qt6_get_bindir
-# @DEPRECATED
+# @DEPRECATED: qt_get_broot_binary 6 <bin>, qt_get_bindir 6 (no EPREFIX)
# @DESCRIPTION:
# Echoes the directory where Qt6 binaries are installed.
# EPREFIX is always prepended to the returned path.
@@ -165,7 +163,7 @@ qt6_get_bindir() {
}
# @FUNCTION: qt6_get_headerdir
-# @DEPRECATED
+# @DEPRECATED: qt_get_headerdir 6
# @DESCRIPTION:
# Echoes the directory where Qt6 headers are installed.
qt6_get_headerdir() {
@@ -174,7 +172,7 @@ qt6_get_headerdir() {
}
# @FUNCTION: qt6_get_libdir
-# @DEPRECATED
+# @DEPRECATED: qt_get_archdatadir 6 (serves $(qt6_get_libdir)/qt6)
# @DESCRIPTION:
# Echoes the directory where Qt6 libraries are installed.
qt6_get_libdir() {
@@ -183,7 +181,7 @@ qt6_get_libdir() {
}
# @FUNCTION: qt6_get_libexecdir
-# @DEPRECATED
+# @DEPRECATED: qt_get_broot_binary 6 <bin>, qt_get_libexecdir 6
# @DESCRIPTION:
# Echoes the directory where Qt6 libexec bins are installed.
qt6_get_libexecdir() {
@@ -192,7 +190,7 @@ qt6_get_libexecdir() {
}
# @FUNCTION: qt6_get_mkspecsdir
-# @DEPRECATED
+# @DEPRECATED: qt_get_mkspecsdir 6
# @DESCRIPTION:
# Echoes the directory where Qt6 mkspecs are installed.
qt6_get_mkspecsdir() {
@@ -201,7 +199,7 @@ qt6_get_mkspecsdir() {
}
# @FUNCTION: qt6_get_plugindir
-# @DEPRECATED
+# @DEPRECATED: qt_get_plugindir 6
# @DESCRIPTION:
# Echoes the directory where Qt6 plugins are installed.
qt6_get_plugindir() {