--- mplayer-1.0_pre7.ebuild 2005-08-01 04:19:30.345611360 +0400 +++ mplayer-1.0_pre7-r1.ebuild 2005-08-01 04:30:19.062991328 +0400 @@ -9,7 +9,7 @@ custom-cflags debug dga divx4linux doc dts dvb cdparanoia directfb dvd dv dvdread edl encode esd fbcon gif ggi gtk i8x0 ipv6 jack joystick jpeg libcaca lirc live lzo mad matroska matrox mmx mmxext mythtv nas nls nvidia vorbis opengl -oss png real rtc samba sdl sse sse2 svga tga theora truetype v4l v4l2 +oss png real rtc samba sdl sse sse2 svga tga theora truetype unicode v4l v4l2 win32codecs X xanim xinerama xmms xv xvid xvmc" BLUV=1.4 @@ -166,6 +166,13 @@ mv ${WORKDIR}/svgalib_helper ${S}/libdha fi + if use unicode + then + einfo "Converting russian lang file to utf8" + iconv -f koi8-r -t utf8 ${S}/help/help_mp-ru.h > tempfile + mv tempfile ${S}/help/help_mp-ru.h + fi + # Remove kernel-2.6 workaround as the problem it works around is # fixed, and the workaround breaks sparc use sparc && sed -i 's:#define __KERNEL__::' osdep/kerneltwosix.h