El lun, 19-01-2015 a las 23:40 +0100, Michał Górny escribió:
> Dnia 2015-01-19, o godz. 23:09:55
> Rémi Cardona <[email protected]> napisał(a):
> 
> > Why not :
> > 
> > libav? ( media-libs/libav:= )
> > ffmpeg? ( media-libs/ffmpeg:= )
> > 
> > + REQUIRED_USE="^^ ( libav ffmpeg )"
> > 
> > I for one would never expect USE=-libav to enable ffmpeg (nor
> > USE=-ffmpeg to enable libav FWIW).
> 
> Two reasons:
> 
> 1. Compatibility. USE=ffmpeg is already used for || ( libav ffmpeg ) in
> a lot of packages. If we changed the meaning, libav users will end up
> switching '-ffmpeg libav' per-package. Ugly.
> 
> 2. Feature-oriented flags. USE=ffmpeg represents the generic feature,
> USE=libav is auxiliary implementation-switch flag. Well, maybe we could
> use, say, USE=avcodec to avoid ambiguity but that's a larger change.
> 
> 

I agree with your suggestion but I would prefer the Remi's approach of
letting people to know if they want "ffmpeg" or "libav", otherwise it is
not so obvious to know what disabling/enabling one of that USE flags
will end up causing without reading each ebuild :/ (also, maybe some
ebuilds will use one logic while others the inverse)


Reply via email to