On Tue, 7 Jun 2016 11:19:13 +0200
Patrick Lauer <[email protected]> wrote:

> On 06/06/2016 04:53 PM, Ian Stakenvicius wrote:
> >
> > This -can- be simplified using a REQUIRED_USE to force just-one-of
> > gtk3,qt4,qt5 , but you can technically do the same with USE=gui too
> > -- all you'd need to do is add dependencies for the
> > no-specific-flag case.
> >
> > RDEPEND="...
> >     qt5? ( dev-qt/qtcore:5 )
> >     qt4? ( dev-qt/qtcore:4 )
> >     gtk3? ( x11-libs/gtk+:3 )
> >     gui? ( !qt5? ( !qt4? ( !gtk3? ( dev-qt/qtcore:5 ) ) )"  
> Wow, that is wonderfully horrible, and making me a little bit
> angry ...
> 
> So USE="-qt5 gui" enables qt5 in this scenario. How is that
> reasonable?

I don't think that's unreasonable given that it only does that when qt4
and gtk3 are disabled. Some packages require qt5 unconditionally, is
that bad too? I'm not saying I like this, I'm indifferent at best, but
it does makes some sense.

-- 
James Le Cuirot (chewi)
Gentoo Linux Developer

Reply via email to