summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-12-12 23:45:34 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-12-16 23:27:20 +0100
commit2793e6db69ef3bae6a297d832156fad6499397a3 (patch)
tree6cc985e64fb27736bd6a4bc0a887ce073db90e6c /eclass
parentdev-libs/libdbusmenu-qt: drop to maintainer-needed (diff)
downloadgentoo-2793e6db69ef3bae6a297d832156fad6499397a3.tar.gz
gentoo-2793e6db69ef3bae6a297d832156fad6499397a3.tar.bz2
gentoo-2793e6db69ef3bae6a297d832156fad6499397a3.zip
ecm.eclass: Force ECM_NONGUI=true on CATEGORY=kde-frameworks
First step towards deprecating this variable. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ecm.eclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass
index 21e2330ac34d..56d3664d2c73 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