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 996E6158CB7 for ; Wed, 18 Aug 2021 14:24:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FBD7E081B; Wed, 18 Aug 2021 14:24:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 380C2E081B for ; Wed, 18 Aug 2021 14:24:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 E0B7F340FC2 for ; Wed, 18 Aug 2021 14:24:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 580C88C2 for ; Wed, 18 Aug 2021 14:24:03 +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: <1629296614.0b035fb3564f48829a08440e0f79a6d49c945244.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/kde.org.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 0b035fb3564f48829a08440e0f79a6d49c945244 X-VCS-Branch: master Date: Wed, 18 Aug 2021 14:24:03 +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: 5d76db0c-c778-4494-8f9e-45536cfdc059 X-Archives-Hash: 06a33c8fc9fdffda3fe13e8fe52ea29c commit: 0b035fb3564f48829a08440e0f79a6d49c945244 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jul 18 08:30:46 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Aug 18 14:23:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b035fb3 kde.org.eclass: Improve KDE_GEAR eclassdoc, add missing PRE_INHERIT Signed-off-by: Andreas Sturmlechner gentoo.org> eclass/kde.org.eclass | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass index 5486c059263..aab7abcd6c6 100644 --- a/eclass/kde.org.eclass +++ b/eclass/kde.org.eclass @@ -82,12 +82,14 @@ declare -A KDE_ORG_CATEGORIES=( readonly KDE_ORG_CATEGORIES # @ECLASS-VARIABLE: KDE_ORG_CATEGORY +# @PRE_INHERIT # @DESCRIPTION: # If unset, default value is mapped from ${CATEGORY} to corresponding upstream # category on invent.kde.org, with "kde" as fallback value. : ${KDE_ORG_CATEGORY:=${KDE_ORG_CATEGORIES[${CATEGORY}]:-kde}} # @ECLASS-VARIABLE: KDE_ORG_COMMIT +# @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: # If set, instead of a regular release tarball, pull tar.gz snapshot from an @@ -95,16 +97,23 @@ readonly KDE_ORG_CATEGORIES # at the desired COMMIT ID. # @ECLASS-VARIABLE: KDE_ORG_NAME +# @PRE_INHERIT # @DESCRIPTION: # If unset, default value is set to ${PN}. # Name of the package as hosted on kde.org mirrors. : ${KDE_ORG_NAME:=$PN} # @ECLASS-VARIABLE: KDE_GEAR +# @PRE_INHERIT # @DESCRIPTION: -# If set to "false", do nothing. +# Mark package is being part of KDE Gear release schedule. +# By default, this is set to "false" and does nothing. +# If CATEGORY equals kde-apps, this is automatically set to "true". # If set to "true", set SRC_URI accordingly and apply KDE_UNRELEASED. : ${KDE_GEAR:=false} +if [[ ${CATEGORY} == kde-apps ]]; then + KDE_GEAR=true +fi # @ECLASS-VARIABLE: KDE_SELINUX_MODULE # @PRE_INHERIT @@ -138,9 +147,6 @@ case ${CATEGORY} in HOMEPAGE="https://community.kde.org/Qt5PatchCollection https://invent.kde.org/qt/qt/ https://www.qt.io/" ;; - kde-apps) - KDE_GEAR=true - ;; kde-plasma) HOMEPAGE="https://kde.org/plasma-desktop" ;;