--- /dev/null
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/mplayer/
+-rw-r--r-- root/root etc/mplayer/input.conf
+-rw-r--r-- root/root etc/mplayer/mplayer.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/mencoder
+-rwxr-xr-x root/root usr/bin/mplayer
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+lrwxrwxrwx root/root usr/man/man1/mencoder.1.gz -> mplayer.1.gz
+-rw-r--r-- root/root usr/man/man1/mplayer.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/mplayer/
+lrwxrwxrwx root/root usr/share/mplayer/font -> font-arial-14-iso-8859-1
+drwxr-xr-x root/root usr/share/mplayer/font-arial-14-iso-8859-1/
+-rw-r--r-- root/root usr/share/mplayer/font-arial-14-iso-8859-1/font.desc
+-rw-r--r-- root/root usr/share/mplayer/font-arial-14-iso-8859-1/iso-8859-1-a.raw
+-rw-r--r-- root/root usr/share/mplayer/font-arial-14-iso-8859-1/iso-8859-1-b.raw
+-rw-r--r-- root/root usr/share/mplayer/font-arial-14-iso-8859-1/osd-mplayer-a.raw
+-rw-r--r-- root/root usr/share/mplayer/font-arial-14-iso-8859-1/osd-mplayer-b.raw
+drwxr-xr-x root/root usr/share/mplayer/font-arial-18-iso-8859-1/
+-rw-r--r-- root/root usr/share/mplayer/font-arial-18-iso-8859-1/font.desc
+-rw-r--r-- root/root usr/share/mplayer/font-arial-18-iso-8859-1/iso-8859-1-a.raw
+-rw-r--r-- root/root usr/share/mplayer/font-arial-18-iso-8859-1/iso-8859-1-b.raw
+-rw-r--r-- root/root usr/share/mplayer/font-arial-18-iso-8859-1/osd-mplayer-a.raw
+-rw-r--r-- root/root usr/share/mplayer/font-arial-18-iso-8859-1/osd-mplayer-b.raw
+drwxr-xr-x root/root usr/share/mplayer/font-arial-24-iso-8859-1/
+-rw-r--r-- root/root usr/share/mplayer/font-arial-24-iso-8859-1/font.desc
+-rw-r--r-- root/root usr/share/mplayer/font-arial-24-iso-8859-1/iso-8859-1-a.raw
+-rw-r--r-- root/root usr/share/mplayer/font-arial-24-iso-8859-1/iso-8859-1-b.raw
+-rw-r--r-- root/root usr/share/mplayer/font-arial-24-iso-8859-1/osd-mplayer-a.raw
+-rw-r--r-- root/root usr/share/mplayer/font-arial-24-iso-8859-1/osd-mplayer-b.raw
+drwxr-xr-x root/root usr/share/mplayer/font-arial-28-iso-8859-1/
+-rw-r--r-- root/root usr/share/mplayer/font-arial-28-iso-8859-1/font.desc
+-rw-r--r-- root/root usr/share/mplayer/font-arial-28-iso-8859-1/iso-8859-1-a.raw
+-rw-r--r-- root/root usr/share/mplayer/font-arial-28-iso-8859-1/iso-8859-1-b.raw
+-rw-r--r-- root/root usr/share/mplayer/font-arial-28-iso-8859-1/osd-mplayer-a.raw
+-rw-r--r-- root/root usr/share/mplayer/font-arial-28-iso-8859-1/osd-mplayer-b.raw
--- /dev/null
+1ecd31d17b51f16332b1fcc7da36b312 font-arial-iso-8859-1.tar.bz2
+224f714e138f546e85b304ca6a372480 mplayer-export-2009-12-26.cross_compile.patch
+0721f8667e36731a062c683c4c054f44 mplayer-export-2009-12-26.tar.bz2
+c64631601912913f3e5dfbecc3b79d44 mplayer.conf
--- /dev/null
+# Description: Versatile media player and encoder/converter
+# URL: http://www.mplayerhq.hu/
+# Packager: Matt Housh, jaeger at morpheus dot net
+# Maintainer: Thomas Penteker, tek at serverop dot de
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: expat xorg-libxv xorg-libxxf86dga xorg-libxxf86vm libsdl
+
+name=mplayer
+version=export-2009-12-26
+release=2
+source=(http://crux.nu/~lucas/files/$name-$version.tar.bz2 \
+ http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 \
+ mplayer.conf $name-$version.cross_compile.patch)
+
+build() {
+ cd $name-$version
+
+ patch -p1 -i $SRC/$name-$version.cross_compile.patch
+
+ # Keep in line with mplayer CFLAGS, but allow people to set their own march/mtune values.
+ export CFLAGS="$(echo $CFLAGS | sed -e 's/-O[s0-3]/-O3/') -ffast-math -fomit-frame-pointer -fno-strict-aliasing"
+
+ export DEFAULT_LIBS="-L$CLFS/usr/lib"
+ export DEFAULT_CFLAGS="-I$CLFS/usr/include"
+ export FREETYPE_LIBS="$DEFAULT_LIBS -lfreetype -lz"
+ export FREETYPE_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/freetype2"
+ export FONTCONFIG_LIBS="$DEFAULT_LIBS -lfontconfig"
+ export FONTCONFIG_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/fontconfig"
+ export SDL_LIBS="$DEFAULT_LIBS -lSDL -lpthread"
+ export SDL_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT"
+
+ ./configure --enable-cross-compile \
+ --cc=$CC \
+ --host-cc=gcc \
+ --as=$AS \
+ --ar=$AR \
+ --ranlib=$RANLIB \
+ --target=arm-linux \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --confdir=/etc \
+ --codecsdir=/usr/share/codecs \
+ --enable-largefiles \
+ --enable-freetype \
+ --enable-fontconfig \
+ --enable-vm \
+ --enable-xv \
+ --enable-x11 \
+ --enable-fbdev
+
+
+ make
+ make DESTDIR=$PKG install
+
+ (cd $PKG/usr/man/man1; rm mencoder.1; ln -s mplayer.1.gz mencoder.1.gz)
+
+ # fonts
+ mkdir -p $PKG/usr/share/mplayer
+ cp -a $SRC/font-arial-iso-8859-1/font-arial-??-iso-8859-1 \
+ $PKG/usr/share/mplayer
+ ln -s font-arial-14-iso-8859-1 $PKG/usr/share/mplayer/font
+
+ # config
+ mkdir -p $PKG/etc/mplayer
+ install -m 644 $SRC/mplayer.conf $PKG/etc/mplayer/
+ install -m 644 etc/input.conf $PKG/etc/mplayer/
+
+ # finish up
+ rmdir $PKG/usr/lib
+ find $PKG -name '*.desc' | xargs chmod g-w
+}
--- /dev/null
+diff -purN mplayer-export-2009-12-26.orig/configure mplayer-export-2009-12-26/configure
+--- mplayer-export-2009-12-26.orig/configure 2010-02-18 16:57:49.000000000 +0100
++++ mplayer-export-2009-12-26/configure 2010-02-19 09:10:08.000000000 +0100
+@@ -2437,6 +2437,9 @@ fi # if darwin && test "$cc_vendor" = "g
+
+ # Checking for CFLAGS
+ _install_strip="-s"
++if test "$_cross_compile" == "yes" ; then
++ _install_strip=""
++else
+ if test "$_profile" != "" || test "$_debug" != "" ; then
+ CFLAGS="-W -Wall -O2 $_march $_mcpu $_pipe $_debug $_profile"
+ _install_strip=
+@@ -2452,6 +2455,7 @@ elif test -z "$CFLAGS" ; then
+ else
+ _warn_CFLAGS=yes
+ fi
++fi
+
+ cat > $TMPC << EOF
+ int main(void) { return 0; }
+@@ -5197,6 +5201,7 @@ EOF
+ fi
+ fi
+ fi
++
+ if test "$_sdl" = yes ; then
+ def_sdl='#define CONFIG_SDL 1'
+ if cygwin ; then
+@@ -5213,9 +5218,18 @@ if test "$_sdl" = yes ; then
+ _aomodules="sdl $_aomodules"
+ _res_comment="using $_sdlconfig"
+ else
+- def_sdl='#undef CONFIG_SDL'
+- _novomodules="sdl $_novomodules"
+- _noaomodules="sdl $_noaomodules"
++ if test "$_cross_compile" = "yes" ; then
++ if test "x$SDL_LIBS" != "x" && test "x$SDL_CFLAGS" != "x" ; then
++ def_sdl='#define CONFIG_SDL 1'
++ libs_mplayer="$libs_mplayer $SDL_LIBS"
++ extra_cflags="$extra_cflags $(echo $SDL_CFLAGS | sed s/-D_GNU_SOURCE=1//)"
++ _sdl="yes"
++ fi
++ else
++ def_sdl='#undef CONFIG_SDL'
++ _novomodules="sdl $_novomodules"
++ _noaomodules="sdl $_noaomodules"
++ fi
+ fi
+ echores "$_sdl"
+
+@@ -6104,8 +6118,8 @@ EOF
+ fi
+ if test "$_freetype" = yes ; then
+ def_freetype='#define CONFIG_FREETYPE 1'
+- extra_cflags="$extra_cflags $($_freetypeconfig --cflags)"
+- extra_ldflags="$extra_ldflags $($_freetypeconfig --libs)"
++ extra_cflags="$extra_cflags $FREETYPE_CFLAGS"
++ extra_ldflags="$extra_ldflags $FREETYPE_LIBS"
+ else
+ def_freetype='#undef CONFIG_FREETYPE'
+ fi
+@@ -6144,6 +6158,8 @@ EOF
+ fi
+ if test "$_fontconfig" = yes ; then
+ def_fontconfig='#define CONFIG_FONTCONFIG 1'
++ extra_ldflags="$extra_ldflags $FONTCONFIG_LIBS"
++ extra_cflags="$extra_cflags $FONTCONFIG_CFLAGS"
+ else
+ def_fontconfig='#undef CONFIG_FONTCONFIG'
+ fi
--- /dev/null
+# MPlayer system-wide configuration file
+# refer to the mplayer manpage for more information
+
+vo=xv
+double=yes
+ao=alsa
+framedrop=yes
+cache=8192