On Mon, 2 Feb 2015 15:12:50 +0100 Ulrich Mueller <[email protected]> wrote:
> > What are your thoughts? > > In a nutshell, you have a binary choice here, namely ffmpeg or libav > as implementation, and instead of one USE flag you want to introduce > two (ffmpeg_impl_ffmpeg and ffmpeg_impl_libav), but of the 4 possible > combinations only 2 are valid. So you need a REQUIRED_USE to forbid > some combinations. We already have three possibilities: ffmpeg, libav or none (only for some packages but they do exist). With the N-1th proposal, it was overseen that USE="-ffmpeg libav" should be forbidden by REQUIRED_USE. With the N-1th proposal, we had two bits (USE='ffmpeg libav') to code 3 states. With the above proposal, we have a kind of unary coding: USE=-ffmpeg means 'none', USE=ffmpeg + ffmpeg_impl_$x means '$x'. I understand your point; I'm not entirely convinced which one is better, but I'm tempted by the simplicity for users of the above unary proposal. Alexis.
