in stable, the latest version of the media-plugins/live is 2003.04.11 - however, the version of mplayer currently in stable (1.0pre4) needs newer libraries (> 2004.01.05) Reproducible: Always Steps to Reproduce: 1. emerge mplayer with the live.com USE flag set 2. 3. Actual Results: mplayer compile failed Expected Results: it should have compiled correctly ;) make[1]: Entering directory `/var/tmp/portage/mplayer-1.0_pre4/work/MPlayer-1.0pre4/libmpdemux' gcc -c -I../libvo/ -I../../libvo -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../loader -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/live/liveMedia/include -I/usr/lib/live/UsageEnvironment/include -I/usr/lib/live/BasicUsageEnvironment/include -I/usr/lib/live/groupsock/include -o demux_rtp.o demux_rtp.cpp In file included from demux_rtp.cpp:8: demux_rtp_internal.h:20:2: #error Please upgrade to version 2004.01.05 or later of the "LIVE.COM Streaming Media" libraries - available from <www.live.com/liveMedia/>
Having looked at the ebuild (prior to trying to make a patch) have discovered it's not actually a USE flag, just a 'is media-libs/live' installed flag i.e.: if has_version media-plugins/live then einfo "Enabling LIVE.COM Streaming Media..." myconf="${myconf} --enable-live" fi that gets checked. It's beyond my ken, but if it's possible to check if has_version >= media-plugins/live-2004.01.05 then the compile would work. However, that seems a bit unsatisfactory, as people will expect live support to be built in to mplayer, if they have live installed, so maybe it *should* be a USE flag, so that we can do proper dependencies?
live is now a local use flag. thx
*** Bug 49399 has been marked as a duplicate of this bug. ***
given that there isn't a version of the live libraries in stable x86, should this build be marked ~x86? or do you want to mark a live library x86?
live-2004.03.27 is now x86; mplayer-1.0_pre4 has been updated and had a use flag added, and the *evil* inline autodetect and enable is now removed. Might wanna re-emerge mplayer, a lot of the autodetect stuff has been cleaned up and now explicitly controlled via use flag. Either way, fixed :)