PKG_NAME=MPlayer
PKG_VERSION=1.0rc4
PKG_URL="http://www.mplayerhq.hu/MPlayer/releases/MPlayer-${PKG_VERSION}.tar.bz2"
PKG_REV=1
PKG_DEPENDS="zlib ffmpeg freetype alsa-lib fribidi libcdio faad2 libpng enca libass fontconfig libvorbis libtheora libmad"
PKG_BUILD_DEPENDS="toolchain yasm"
PKG_RUN_DEPENDS="$TARGET_LIBC"

PKG_USE="uclibc vdpau sdl xorg unrar live555 dvd bluray dvb"
PKG_DEPENDS_uclibc="libiconv"
PKG_DEPENDS_vdpau="libvdpau"
PKG_DEPENDS_sdl="SDL"
PKG_DEPENDS_xorg="libX11 libXv libXxf86vm"
PKG_RUN_DEPENDS_unrar="unrar"
PKG_BUILD_DEPENDS_live555="live555"
PKG_DEPENDS_dvd="libdvdread libdvdnav"
PKG_DEPENDS_bluray="libbluray"

PKG_PRIORITY=standard
PKG_SECTION=multimedia
PKG_SHORTDESC="movie player for Unix-like systems"
PKG_LONGDESC="MPlayer plays most MPEG, VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, FILM, RoQ, PVA files, supported by many native, XAnim, RealPlayer, and Win32 DLL codecs. It can also play VideoCD, SVCD, DVD, 3ivx, RealMedia, and DivX movies. Another big feature of MPlayer is the wide range of supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, DirectFB, but also SDL (plus all its drivers) and some low level card-specific drivers (for Matrox, 3Dfx and Radeon, Mach64 and Permedia3). Most of them support software or hardware scaling, therefore allowing fullscreen display. MPlayer is also able to use some hardware MPEG decoder boards, such as the DVB and DXR3/Hollywood+."
