Created attachment 593114 [details] Updated ebuild adding games use flag. Added 'games' use flag to kde-apps-meta ebuild to disable the building of the kdegames-meta build. This functionality is already present in gnome-base/gnome-extra-apps ebuild.
Same method could be used to toggle the dep on kdeedu-meta and/or kdenetwork-meta. Whether for only games or for other -meta rdeps, the method is already used to toggle accessibility, pim, and sdk related meta. diff -u from /usr/portage/kde-apps/kde-apps-meta/kde-apps-meta-19.08.2.ebuild: @@ -9,16 +9,16 @@ LICENSE="metapackage" SLOT="5" KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="accessibility pim sdk" +IUSE="accessibility edu games network pim sdk" RDEPEND=" >=kde-apps/kdeadmin-meta-${PV}:${SLOT} >=kde-apps/kdecore-meta-${PV}:${SLOT} - >=kde-apps/kdeedu-meta-${PV}:${SLOT} - >=kde-apps/kdegames-meta-${PV}:${SLOT} + edu? >=kde-apps/kdeedu-meta-${PV}:${SLOT} + games? >=kde-apps/kdegames-meta-${PV}:${SLOT} >=kde-apps/kdegraphics-meta-${PV}:${SLOT} >=kde-apps/kdemultimedia-meta-${PV}:${SLOT} - >=kde-apps/kdenetwork-meta-${PV}:${SLOT} + network? >=kde-apps/kdenetwork-meta-${PV}:${SLOT} >=kde-apps/kdeutils-meta-${PV}:${SLOT} accessibility? ( >=kde-apps/kdeaccessibility-meta-${PV}:${SLOT} ) pim? ( >=kde-apps/kdepim-meta-${PV}:${SLOT} )
If you want to pick certain package groups, why not simply emerge them separately?
Why have the accessibility, pim, and sdk useflags then?
accessibility has a very specific purpose, sdk as well, and pim comes with a huge dependency chain. Everything else are fairly standard desktop applications.
Which is to say, meta packages are there to pull in everything. And every USE flag needs to come with a good reason.
This use flag is needed to stop repeated installing of removed packages. I've installed kde-meta (it is listed in my /var/lib/portage/world file), and I've removed all the games that were pulled in with kdegames-meta, without this use flag, if I try emerge -uvaDN @world, it pulls in all those games I've already removed. (kdegames-meta is not in my portage world file) Adding this USE flag would also bring this behaviour inline with what is already present in the gnome meta ebuilds, furthering the use of a global definition of -games to remove games from installed environments.
(In reply to Adrien Tougas from comment #6) > This use flag is needed to stop repeated installing of removed packages. > I've installed kde-meta (it is listed in my /var/lib/portage/world file), > and I've removed all the games that were pulled in with kdegames-meta, > without this use flag, if I try emerge -uvaDN @world, it pulls in all those > games I've already removed. You're describing how you misunderstand the package management, there's nothing for us to fix here. :) kde-apps/kde-meta pulls in kde-plasma/plasma-meta and kde-apps/kde-apps-meta. So you simply disentangle from there. Drop kde-meta: # emerge -C kde-meta Install plasma-meta for the desktop: # emerge --noreplace plasma-meta For a list of smaller meta packages, that kde-apps-meta comprises of, look it up in our Wiki - pick your poison and simply don't install kdegames-meta. https://wiki.gentoo.org/wiki/KDE#Applications
*** Bug 717384 has been marked as a duplicate of this bug. ***