USE="-network rtmp" emerge libav -av These are the packages that would be merged, in order: Calculating dependencies - !!! Problem resolving dependencies for media-video/libav ... done! !!! The ebuild selected to satisfy "libav" has unmet requirements. - media-video/libav-0.8.7::gentoo USE="3dnow 3dnowext X aac alsa bzip2 encode gpl gsm hardcoded-tables jpeg2k mmx mmxext mp3 openssl pulseaudio qt-faststart rtmp sdl ssl ssse3 theora truetype vaapi vdpau vorbis x264 xvid zlib (-altivec) -amr -avx -bindist -cdio -cpudetection -custom-cflags -debug -dirac -doc -faac -frei0r -ieee1394 -jack (-neon) -network -oss -pic -schroedinger -speex -static-libs -test -threads -v4l (-vis) -vpx" The following REQUIRED_USE flag constraints are unsatisfied: rtmp? ( network ) The above constraints are a subset of the following complete expression: bindist? ( !faac !openssl ) rtmp? ( network ) amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) cdio? ( gpl ) test? ( encode ) USE="-network rtmp" emerge ffmpeg -pv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-video/ffmpeg-0.10.7 USE="X aac aacplus alsa amr avx bzip2 cdio cpudetection dirac encode faac frei0r gnutls gsm hardcoded-tables jack jpeg2k libass libv4l mmx modplug mp3 openal openssl oss pic pulseaudio rtmp schroedinger sdl speex ssse3 theora threads truetype v4l vaapi vdpau vorbis vpx x264 xvid zlib -3dnow -3dnowext (-altivec) -bindist (-celt) -debug -doc -ieee1394 -mmxext (-neon) -network* -static-libs {-test} (-vis)" FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items.
Emerging ffmpeg without the network useflag but with the rtmp useflag is possible. This is not possible for libav.
What problem are you trying to solve here?
Not much of a problem, I just had some issues when I emerged ffmpeg without network but with rtmp. It did not exactly make rtmp work until I reemerged with network. Unless it is supposed to be possible to emerge ffmpeg as "-network rtmp" but not libav, would it be possible to add network as a require use flag for rtmp for ffmpeg? That is what was proposed in the irc channel.
well, in ffmpeg, network useflag controls the internal network protocols; 'rtmp' useflag is for librtmp (media-video/rtmpdump), and is thus independent; I don't see why we should annoy users with REQUIRED_USE when it's ok (but weird) to build ffmpeg with USE="-network rtmp"