At present net-misc/icaclient has a hard dependency on net-libs/webkit-gtk, a package which not only takes a long time to compile, but also pulls in other stuff like Ruby. However, this is only a dependency of some ancillary files - the Citrix base program wfica works perfectly well without webkit-gtk.
It'd be nice if we could have a USE flag which gets rid of the dependency on webkit-gtk, at the expense of not pulling in the files (util/webcontainer, lib/UIDialogLibWebKit3.so, selfservice) that rely on it.
I previously filed a bug (bug 893706) asking whether it was possible to switch to a newer slot of webkit-gtk or drop the dependency completely.
It didn't seem like the then-maintainer knew what functionality was reliant on webkit-gtk, but it sounds like you might know better.
If you know, could you tell us here? Thanks!
Created attachment 869893 [details]
ebuild with webkit USE flag
It seems to be mainly the selfservice program, used for enrolment(?).
Have a look at the ebuild I've just attached - I've been testing it the past few days, and it's been fine.
I can't see that util/webcontainer and lib/UIDialogLibWebKit3.so are actually used by anything.
FWIW as a regular user of icaclient, I'd happily accept some degraded functionality in order to avoid having to build webkit-gtk. My PC has 16 cores, 32 threads, 128GB RAM, and I build entirely within RAM (in a tmpfs), and even I find building webkit-gtk to be a nuisance.