From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0BD6313835A for ; Sun, 25 Apr 2021 20:53:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 123A0E0880; Sun, 25 Apr 2021 20:53:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EBD13E0880 for ; Sun, 25 Apr 2021 20:53:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D9E03416BD for ; Sun, 25 Apr 2021 20:53:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14B2872A for ; Sun, 25 Apr 2021 20:53:46 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1619383047.18c5657a35a360c69942bd8fcfcfcdb57a2e1572.asturm@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: eclass/ X-VCS-Repository: proj/qt X-VCS-Files: eclass/qt5-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 18c5657a35a360c69942bd8fcfcfcdb57a2e1572 X-VCS-Branch: master Date: Sun, 25 Apr 2021 20:53:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d136defb-7596-40b8-9dbb-7b8ad267cb57 X-Archives-Hash: 2a14cae5155046372381119e545acea3 commit: 18c5657a35a360c69942bd8fcfcfcdb57a2e1572 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Apr 17 19:13:26 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Apr 25 20:37:27 2021 +0000 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=18c5657a qt5-build.eclass: Rename MY_P to _QT5_P and fix eclassdoc warning Signed-off-by: Andreas Sturmlechner gentoo.org> eclass/qt5-build.eclass | 12 +++++++++--- 1 file 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