Building mplayer with fribidi
While in ArchLinux it’s extremely easy to build packages from source using ABS, i had a little problem while trying to build mplayer with fribidi support.
Obviously, i added --with-fribidi-config=/usr/bin/fribidi-config --enable-fribidi to the PKGBUILD, but it did not help. So, after some googling i found out there’s a small error in the mplayer configure script. It must be changed a little in order to allow fribidi. The change can be done this way in the PKGBUILD:
sed -i ’s/FRIBIDI_CHARSET_UTF8/FRIBIDI_CHAR_SET_UTF8/g’ configure
CFLAGS= ./configure –prefix=/usr –enable-gui –disable-arts –enable-x11 –disable-sgiaudio ….
Just add the bold line, make sure you add all the configure flags you need, and you are done.

