--- /usr/portage/media-video/mplayer/mplayer-1.0_rc1.ebuild 2006-11-14 13:06:12.000000000 +0100 +++ mplayer-1.0_rc1-r99.ebuild 2006-12-04 00:58:43.000000000 +0100 @@ -10,7 +10,7 @@ dv dvdread enca encode esd fbcon gif ggi gtk iconv ipv6 jack joystick jpeg libcaca lirc live livecd lzo mad matrox mmx mmxext musepack nas unicode vorbis opengl openal oss png real rtc samba sdl speex sse sse2 svga tga -theora truetype v4l v4l2 win32codecs X x264 xanim xinerama xv xvid xvmc" +theora truetype v4l v4l2 vesa win32codecs X x264 xanim xinerama xv xvid xvmc" LANGS="bg cs de da el en es fr hu ja ko mk nl no pl pt_BR ro ru sk tr uk zh_CN zh_TW" @@ -88,6 +88,7 @@ live? ( >=media-plugins/live-2004.07.20 ) truetype? ( >=media-libs/freetype-2.1 media-libs/fontconfig ) + vesa? ( media-libs/libvbe ) xinerama? ( x11-libs/libXinerama x11-libs/libXxf86vm x11-libs/libXext ) @@ -186,6 +187,10 @@ # minor fix sed -i -e "s:-O4:-O4 -D__STDC_LIMIT_MACROS:" configure + if use vesa + then + sed -i -e 's:vbe\.h:libvbe/vbe.h:' configure libvo/{gtf.h,vo_vesa.c} + fi } src_compile() { @@ -333,6 +338,7 @@ fi myconf="${myconf} $(use_enable tga)" + myconf="${myconf} $(use_enable vesa)" if use xv && use xvmc then