When emerging ffmpeg-0.4.9_p20070616-r1 with these flags in /etc/portage/package.use : media-video/ffmpeg x264 theora encode, I get a message from the x264 package saying : * Please note that this package now only installs * x264-svn libraries. In order to have the encoder, * please emerge media-video/x264-svn-encoder I believe ffmpeg should emerge x264-svn-encoder when I have set the encode flag. Reproducible: Always Steps to Reproduce: 1.emerge ffmpeg with these flags : x264 theora encode 2. 3. Actual Results: The x264 encoder is not installed Expected Results: The x264 encoder should be installed
hu ? this message is not from ffmpeg but media-libs/x264-svn. ffmpeg can use x264 lib to encode, but of course does not provide 'x264' binary that is in x264-svn-encoder. In fact those packages have been split due to circular deps with ffmpeg... so no way we add a dep.
Well, I think that when I set the "encode" flag I should be able to encode files. Am I wrong ? And is it so difficult to add a dependency just like an ordinary if(flagX264.isSet() && flagEncode.isSet())? I'm not into ebuilds, but I think it's realy easy to implement.
(In reply to comment #2) > Well, I think that when I set the "encode" flag I should be able to encode > files. Am I wrong ? > And is it so difficult to add a dependency just like an ordinary > if(flagX264.isSet() && flagEncode.isSet())? > I'm not into ebuilds, but I think it's realy easy to implement. > you can encode with ffmpeg, that's what your useflags mean, don't they ? see bug #142854 why I don't want to add a dep, regardless whether it makes sense or not.
Well, I see your reasons, but you could at least add a message saying the reason this flag installs just a decoder, and no coder. This way, your ebuild does not depend on the message from the x264 ebuild.