Even for -qt5 cmake pulls in desktop-file utils via cmake.eclass, even when they are not required. There is absolutely no need to pull in desktop-file-utils, with USE="+ncurses -qt" esp. on headless systems. Reproducible: Always Steps to Reproduce: 1. emerge with USE"ncurses -qt5" Actual Results: See desktop-file-utils (and shared-mime-info, glib, itstool) beeing pulled in without any need. Expected Results: A clean build for non GUI-Systems. cmake builds perfectly well without all these extra packages and works as expected.
(In reply to Sven E. from comment #0) > Even for -qt5 cmake pulls in desktop-file utils via cmake.eclass You must be mistaken. Instead, cmake ebuild itself is inheriting xdg.eclass which pulls in those deps.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f62ec5c837533604cae31bd0d19db7f2ef43cf90 commit f62ec5c837533604cae31bd0d19db7f2ef43cf90 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-05-22 12:06:44 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-05-22 14:09:28 +0000 dev-util/cmake: Switch back to xdg-utils.eclass to avoid deps Less deps at the cost of more lines. Closes: https://bugs.gentoo.org/723512 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-util/cmake/cmake-3.13.5.ebuild | 18 +++++++++++------- dev-util/cmake/cmake-3.16.5.ebuild | 20 ++++++++++++-------- dev-util/cmake/cmake-3.17.2.ebuild | 20 ++++++++++++-------- 3 files changed, 35 insertions(+), 23 deletions(-)