diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-17 21:13:26 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-25 22:37:27 +0200 |
commit | 18c5657a35a360c69942bd8fcfcfcdb57a2e1572 (patch) | |
tree | b7a0db93a9b16c2da39a3bd7bb031ed1d3730f0e | |
parent | qt5-build.eclass: Add eclassdoc for QT5_BUILD_TYPE (diff) | |
download | qt-18c5657a.tar.gz qt-18c5657a.tar.bz2 qt-18c5657a.zip |
qt5-build.eclass: Rename MY_P to _QT5_P and fix eclassdoc warning
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | eclass/qt5-build.eclass | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 1f2a20cb..dbbba44e 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -38,6 +38,13 @@ readonly QT5_BUILD_TYPE # SRC_URI and EGIT_REPO_URI. Must be set before inheriting the eclass. : ${QT5_MODULE:=${PN}} +# @ECLASS-VARIABLE: _QT5_P +# @INTERNAL +# @DESCRIPTION: +# The upstream package name of the module this package belongs to. +# Used for SRC_URI and S. +_QT5_P=${QT5_MODULE}-everywhere-src-${PV} + # @ECLASS-VARIABLE: QT5_TARGET_SUBDIRS # @DEFAULT_UNSET # @DESCRIPTION: @@ -81,9 +88,8 @@ case ${PV} in ;; *) # official stable release - MY_P=${QT5_MODULE}-everywhere-src-${PV} - SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${MY_P}.tar.xz" - S=${WORKDIR}/${MY_P} + SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${_QT5_P}.tar.xz" + S=${WORKDIR}/${_QT5_P} ;; esac |