diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-12-12 23:45:34 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-12-14 22:32:31 +0100 |
| commit | 8976a1cb2f4114c64b84dc2f6c8cfbd8851e54fa (patch) | |
| tree | 8485aad7a29f4e75a90641a55271af1f627a1a46 /eclass | |
| parent | 8c2a2c9823c5d851f93091242d45d7316e4ba603 (diff) | |
| download | kde-8976a1cb2f4114c64b84dc2f6c8cfbd8851e54fa.tar.gz kde-8976a1cb2f4114c64b84dc2f6c8cfbd8851e54fa.tar.bz2 kde-8976a1cb2f4114c64b84dc2f6c8cfbd8851e54fa.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.eclass | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index 1caf7813db3..d15cf81087b 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 |
