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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E94951581F0 for ; Sat, 14 Dec 2024 21:37:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B332E086F; Sat, 14 Dec 2024 21:37:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 703A2E086F for ; Sat, 14 Dec 2024 21:37:45 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 83E6A335DEB for ; Sat, 14 Dec 2024 21:37:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1818C90B for ; Sat, 14 Dec 2024 21:37:43 +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: <1734211951.8976a1cb2f4114c64b84dc2f6c8cfbd8851e54fa.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/ecm.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 8976a1cb2f4114c64b84dc2f6c8cfbd8851e54fa X-VCS-Branch: master Date: Sat, 14 Dec 2024 21:37:43 +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: 7412ee43-2aa5-4502-9f1b-65d4c3331ff2 X-Archives-Hash: 0c9288ebd75f972f434e41ac017adc68 commit: 8976a1cb2f4114c64b84dc2f6c8cfbd8851e54fa Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Dec 12 22:45:34 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 14 21:32:31 2024 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=8976a1cb ecm.eclass: Force ECM_NONGUI=true on CATEGORY=kde-frameworks First step towards deprecating this variable. Signed-off-by: Andreas Sturmlechner gentoo.org> eclass/ecm.eclass | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index 1caf7813db..d15cf81087 100644 --- a/eclass/ecm.eclass +++ b/eclass/ecm.eclass @@ -43,16 +43,15 @@ inherit virtualx fi # @ECLASS_VARIABLE: ECM_NONGUI -# @DEFAULT_UNSET # @DESCRIPTION: # By default, for all CATEGORIES except kde-frameworks, assume we are building # a GUI application. Add dependency on kde-frameworks/breeze-icons or # kde-frameworks/oxygen-icons and run the xdg.eclass routines for pkg_preinst, # pkg_postinst and pkg_postrm. If set to "true", do nothing. -if [[ ${CATEGORY} = kde-frameworks ]] ; then - : "${ECM_NONGUI:=true}" -fi : "${ECM_NONGUI:=false}" +if [[ ${CATEGORY} == kde-frameworks ]]; then + ECM_NONGUI=true +fi if [[ ${ECM_NONGUI} = false ]] ; then inherit xdg