Please add a "gui" (or "qt5", or whatever) USE flag to the >=sci-geosciences/gpsbabel-1.5 ebuild. While dev-qt/qtcore:5 is unconditionally needed even for the CLI application, all the other qt dependencies are only required by the GUI. I don't need the GUI and I'd really like to avoid installing dev-qt/qtwebengine:5, so an USE flag would be great. No patches should be neccessary; you'll just have to hide the "pushd gui" blocks behind an use conditional.
Created attachment 465284 [details, diff] Patch for gpsbabel-1.5.4 ebuild I've attached an ebuild patch.
I've verified that gpsbabel indeed compiles without all the dependencies the patch removes; however, I haven't been able to test compilation without dev-qt/qtnetwork. It should work, but please test it before rolling out the patch.
The ebuild did have USE=qt5 previously, but the build system did not seem to properly support that. See also bug 606952
(In reply to Andreas Sturmlechner from comment #3) > The ebuild did have USE=qt5 previously, but the build system did not seem to > properly support that. See also bug 606952 Yes, I've seen that bug. dev-qt/qtcore is indeed needed even by the CLI application (e.g. for XML handling). The rest of QT is only needed for the GUI, though, and I'm under the impression that upstream is aware of this and does not intend to change the situation.
emerges fine for me with the patch and USE="-gui" and dev-qt/qtcore-5.6.2-r1 the only Qt 5 package installed.
Thanks, fixed in git commit 107e45305f9a333558d96c1305db5a67880c5d44.