mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
qmake-utils.eclass: Preliminary qt6_get_*dir support
Rebased changes from patch by Andreas Sturmlechner [1]. 1. https://github.com/gentoo/qt/pull/224 Closes: https://github.com/gentoo/qt/pull/224 Thanks-to: Andreas Sturmlechner <asturm@gentoo.org> Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -116,4 +116,40 @@ eqmake5() {
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: qt6_get_bindir
|
||||
# @DESCRIPTION:
|
||||
# Echoes the directory where Qt6 binaries are installed.
|
||||
# EPREFIX is already prepended to the returned path.
|
||||
qt6_get_bindir() {
|
||||
echo ${EPREFIX}$(qt6_get_libdir)/qt6/bin
|
||||
}
|
||||
|
||||
# @FUNCTION: qt6_get_headerdir
|
||||
# @DESCRIPTION:
|
||||
# Echoes the directory where Qt6 headers are installed.
|
||||
qt6_get_headerdir() {
|
||||
echo /usr/include/qt6
|
||||
}
|
||||
|
||||
# @FUNCTION: qt6_get_libdir
|
||||
# @DESCRIPTION:
|
||||
# Echoes the directory where Qt6 libraries are installed.
|
||||
qt6_get_libdir() {
|
||||
echo /usr/$(get_libdir)
|
||||
}
|
||||
|
||||
# @FUNCTION: qt6_get_mkspecsdir
|
||||
# @DESCRIPTION:
|
||||
# Echoes the directory where Qt6 mkspecs are installed.
|
||||
qt6_get_mkspecsdir() {
|
||||
echo $(qt6_get_libdir)/qt6/mkspecs
|
||||
}
|
||||
|
||||
# @FUNCTION: qt6_get_plugindir
|
||||
# @DESCRIPTION:
|
||||
# Echoes the directory where Qt6 plugins are installed.
|
||||
qt6_get_plugindir() {
|
||||
echo $(qt6_get_libdir)/qt6/plugins
|
||||
}
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user