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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B925F1580FD for ; Mon, 23 Dec 2024 17:07:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F67BE069C; Mon, 23 Dec 2024 17:07:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B04D1E05C1 for ; Mon, 23 Dec 2024 17:07:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BA8F1335D6A for ; Mon, 23 Dec 2024 17:07:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09F011048 for ; Mon, 23 Dec 2024 17:07:26 +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: <1734957726.c3a3a6c8d1fbadf088bfc721321c894ea11b01fd.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/frameworks.kde.org.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: c3a3a6c8d1fbadf088bfc721321c894ea11b01fd X-VCS-Branch: master Date: Mon, 23 Dec 2024 17:07:26 +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: f8097f9b-1209-4876-bcd7-5c1ab904b7d6 X-Archives-Hash: 23b089615d7859dc8495843410a1c481 commit: c3a3a6c8d1fbadf088bfc721321c894ea11b01fd Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Dec 23 05:43:17 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Dec 23 12:42:06 2024 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=c3a3a6c8 frameworks.kde.org.eclass: Simplify SLOT assignment Signed-off-by: Andreas Sturmlechner gentoo.org> eclass/frameworks.kde.org.eclass | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/eclass/frameworks.kde.org.eclass b/eclass/frameworks.kde.org.eclass index e1dc77c935..f66a6b7efb 100644 --- a/eclass/frameworks.kde.org.eclass +++ b/eclass/frameworks.kde.org.eclass @@ -46,15 +46,14 @@ SLOT=6 if ver_test ${PV} -lt 5.240; then SLOT=5 fi -if [[ ${PN} == extra-cmake-modules ]]; then - SLOT=0 -else - if [[ ${KDE_BUILD_TYPE} == release ]]; then +case ${PN} in + extra-cmake-modules) + SLOT=0 + ;; + *) SLOT=${SLOT}/${KDE_CATV} - else - SLOT=${SLOT}/9999 - fi -fi + ;; +esac # @ECLASS_VARIABLE: KDE_ORG_SCHEDULE_URI # @INTERNAL