On 2016-07-20 20:36, keenerd via arch-dev-public wrote:
The cleanest workaround was to make a fake kitchen sink package. It has no files but depends on all the optdeps. If I think the IDE needs a new depend, I add it to the kitchen sink and users get it automatically next update. If you want to make a streamlined install, you don't install the kitchen sink and just the optdeps you need. If the dangling packages are a bother for a nice clean dep tree, then it is easy (and doesn't require rebuilding anything) to make a custom fake pacakge to establish the dependency links.
This is also how Sergej solved the issue with headless virt-install and graphical virt-manager. The virt-install package installs all files, but depends only on non-X packages, while virt-manager pulls missing dependencies. While confusing at first, I don't think there's a better solution for now. Bartłomiej