Thanks to the new DVB support in mplayer, mplayer's configure script will find an DVB device, but due to a bug in this script, it doesn't differentiate between the old and the new driver. So if you have a new DVB driver, it will fail to build. Therefore, and for other reasons, I propose the following patch to the ebuild script, that introduces the new USE variable 'dvb'. Tested on my box: If I set USE="$USE -dvb" I can complile (emerge) mplayer just fine (though without DVB support, but let's wait for -rc3 to fix this). --- mplayer-0.90_rc2.ebuild 2003-01-07 00:25:37.000000000 +0100 +++ mplayer-0.90_rc2-r1.ebuild 2003-01-13 01:11:03.000000000 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/media-video/mplayer/mplayer-0.90_rc2.ebuild,v 1.2 2003/01/06 23:20:34 azarah Exp $ -IUSE="dga oss jpeg 3dfx sse matrox sdl X svga ggi oggvorbis 3dnow aalib gnome xv opengl truetype dvd gtk gif esd fbcon encode alsa directfb arts" +IUSE="dga oss jpeg 3dfx sse matrox sdl X svga ggi oggvorbis 3dnow aalib gnome xv opengl truetype dvd gtk gif esd fbcon encode alsa directfb arts dvb" inherit eutils @@ -180,6 +180,10 @@ && myconf="${myconf} --enable-i18n" \ || myconf="${myconf} --disable-i18n" + use dvb \ + && myconf="${myconf} --enable-dvb" \ + || myconf="${myconf} --disable-dvb" + if [ -d /opt/RealPlayer9/Real/Codecs ] then REALLIBDIR="/opt/RealPlayer9/Real/Codecs"
Created attachment 7237 [details, diff] new USE vatiable "dvb" to en/disable DVB support in mplayer
We currently do not have a 'dvb' USE flag. It was proposed, will wait till it gets resolved.
now we've dvb as USE flag
shall i appy this patch?
No, hang on.
ok then it's yours :) feel free to ask if u got problems .. btw .. this isn't really needed when the mpegtools are installed (can be used with mplayer like this: szap <channel>; ts2ps /dev/dvb/adapter0/dvr0 0 0 | buffer | mplayer -nocache -vop lavcdeint - [buffer and lavcdint are not needed but nice :)]) regards
Added to mplayer-0.90.