Project import
diff --git a/mplayer-export-2011-07-27/Makefile b/mplayer-export-2011-07-27/Makefile
new file mode 100644
index 0000000..80278fe
--- /dev/null
+++ b/mplayer-export-2011-07-27/Makefile
@@ -0,0 +1,874 @@
+#
+#    Copyright (c) 2011 Nest, Inc.
+#    All rights reserved.
+#
+#    This document is the property of Nest. It is considered
+#    confidential and proprietary information.
+#
+#    This document may not be reproduced or transmitted in any form,
+#    in whole or in part, without the express written permission of
+#    Nest.
+#
+#    Description:
+#      This file is the make file for mplayer, a cross-platform media
+#      player.
+#
+
+include pre.mak
+
+PackageName		:= mplayer
+
+PackageExtension	:= tar.bz2
+PackageSeparator	:= -
+
+PackagePatchArgs	:= -p1
+
+PackageArchive		:= $(PackageName).$(PackageExtension)
+PackageSourceDir	:= $(PackageName)$(PackageSeparator)$(PackageVersion)
+
+PackageBuildConfig	= $(call GenerateBuildPaths,config.mak)
+PackageBuildMakefile	= $(call GenerateBuildPaths,Makefile)
+
+CleanPaths		+= $(PackageLicenseFile)
+
+FFMpegDir		:= sw/tps/ffmpeg
+FFMpegPackageDir	:= $(BuildRoot)/$(FFMpegDir)
+FFMpegArchiveName	:= ffmpeg.tar.bz2
+FFMpegArchivePath	:= $(FFMpegPackageDir)/$(FFMpegArchiveName)
+FFMpegVersion		:= $(shell cat $(FFMpegPackageDir)/ffmpeg.version)
+FFMpegSourceDir		:= ffmpeg-$(FFMpegVersion)
+
+LinuxDir		:= sw/tps/linux
+LinuxIncDir		:= $(call GenerateResultPaths,$(LinuxDir),include)
+
+all: $(PackageDefaultGoal)
+
+# Generate the package license contents.
+
+$(PackageSourceDir)/LICENSE: source
+
+$(PackageLicenseFile): $(PackageSourceDir)/LICENSE
+	$(copy-result)
+
+# Extract the source from the archive and apply patches, if any.
+
+$(PackageSourceDir): $(PackageArchive) $(PackagePatchPaths)
+	$(expand-and-patch-package)
+
+$(PackageSourceDir)/$(FFMpegSourceDir): $(FFMpegArchivePath) | $(PackageSourceDir)
+	$(Echo) "Expanding \"$(call GenerateBuildRootEllipsedPath,$(<))\" to \"$@\""
+	$(Verbose)tar --directory=$(@D) --bzip2 -xf $(<) && touch $(@)
+
+$(PackageSourceDir)/ffmpeg: | $(PackageSourceDir)/$(FFMpegSourceDir)
+	$(Echo) "Renaming \"$(PackageSourceDir)/$(FFMpegSourceDir)\" to \"$(@)\""
+	$(Verbose)mv -f $(PackageSourceDir)/$(FFMpegSourceDir) $(@)
+	$(Echo) "Linking \"$(@)\" to \"$(PackageSourceDir)/$(FFMpegSourceDir)\""
+	$(Verbose)ln -sf $(@F) $(PackageSourceDir)/$(FFMpegSourceDir)
+
+# Prepare the sources.
+
+.PHONY: source
+source: | $(PackageSourceDir) $(PackageSourceDir)/ffmpeg
+
+# Patch the sources, if necessary.
+
+.PHONY: patch
+patch: source
+
+$(PackageBuildMakefile): | $(PackageSourceDir) $(BuildDirectory)
+	$(call create-links,$(CURDIR)/$(PackageSourceDir),$(BuildDirectory))
+
+$(PackageBuildConfig): $(PackageBuildMakefile) | $(PackageSourceDir) $(BuildDirectory)
+	$(Verbose)cd $(BuildDirectory) && \
+	./configure \
+	--enable-cross-compile \
+	--ar=$(AR) \
+	--cc=$(CC) \
+	--nm=$(NM) \
+	--extra-cflags="-march=armv7-a -mtune=cortex-a8 -mfpu=neon \
+	-ftree-vectorize -mfloat-abi=softfp \
+	$(call ToolGenerateIncludeArgument,$(LinuxIncDir))" \
+	--target=$(TargetTuple) \
+	--confdir=/etc/mplayer \
+	--prefix=/usr \
+	--disable-alsa \
+	--disable-arts \
+	--disable-coreaudio \
+	--disable-dart \
+	--disable-dvb \
+	--disable-dvdnav \
+	--disable-dvdread \
+	--disable-dvdread-internal \
+	--disable-libdvdcss-internal \
+	--disable-esd \
+	--disable-fontconfig \
+	--disable-freetype \
+	--disable-iconv \
+	--disable-jack \
+	--disable-kai \
+	--disable-libmpeg2 \
+	--disable-libmpeg2-internal \
+	--disable-md5sum \
+	--disable-mencoder \
+	--disable-mp3lame \
+	--disable-mp3lame-lavc \
+	--disable-mp3lib \
+	--disable-nas \
+	--disable-networking \
+	--disable-openal \
+	--disable-ossaudio \
+	--disable-pnm \
+	--disable-pulse \
+	--disable-pvr \
+	--disable-radio-v4l2 \
+	--disable-real \
+	--disable-sgiaudio \
+	--disable-sunaudio \
+	--disable-tga \
+	--disable-tremor \
+	--disable-tremor-internal \
+	--disable-tremor-low \
+	--disable-tv \
+	--disable-tv-v4l1 \
+	--disable-tv-v4l2 \
+	--disable-v4l2 \
+	--disable-vcd \
+	--disable-win32waveout \
+	--disable-yuv4mpeg \
+	--disable-xanim \
+	--disable-decoder=aac \
+	--disable-decoder=aac_latm \
+	--disable-decoder=aasc \
+	--disable-decoder=ac3 \
+	--disable-decoder=adpcm_4xm \
+	--disable-decoder=adpcm_adx \
+	--disable-decoder=adpcm_ct \
+	--disable-decoder=adpcm_ea \
+	--disable-decoder=adpcm_ea_maxis_xa \
+	--disable-decoder=adpcm_ea_r1 \
+	--disable-decoder=adpcm_ea_r2 \
+	--disable-decoder=adpcm_ea_r3 \
+	--disable-decoder=adpcm_ea_xas \
+	--disable-decoder=adpcm_g722 \
+	--disable-decoder=adpcm_g726 \
+	--disable-decoder=adpcm_ima_amv \
+	--disable-decoder=adpcm_ima_dk3 \
+	--disable-decoder=adpcm_ima_dk4 \
+	--disable-decoder=adpcm_ima_ea_eacs \
+	--disable-decoder=adpcm_ima_ea_sead \
+	--disable-decoder=adpcm_ima_iss \
+	--disable-decoder=adpcm_ima_qt \
+	--disable-decoder=adpcm_ima_smjpeg \
+	--disable-decoder=adpcm_ima_wav \
+	--disable-decoder=adpcm_ima_ws \
+	--disable-decoder=adpcm_ms \
+	--disable-decoder=adpcm_sbpro_2 \
+	--disable-decoder=adpcm_sbpro_3 \
+	--disable-decoder=adpcm_sbpro_4 \
+	--disable-decoder=adpcm_swf \
+	--disable-decoder=adpcm_thp \
+	--disable-decoder=adpcm_xa \
+	--disable-decoder=adpcm_yamaha \
+	--disable-decoder=alac \
+	--disable-decoder=als \
+	--disable-decoder=amrnb \
+	--disable-decoder=amrwb \
+	--disable-decoder=amv \
+	--disable-decoder=anm \
+	--disable-decoder=ansi \
+	--disable-decoder=ape \
+	--disable-decoder=ass \
+	--disable-decoder=asv1 \
+	--disable-decoder=asv2 \
+	--disable-decoder=atrac1 \
+	--disable-decoder=atrac3 \
+	--disable-decoder=aura \
+	--disable-decoder=aura2 \
+	--disable-decoder=avs \
+	--disable-decoder=bethsoftvid \
+	--disable-decoder=bfi \
+	--disable-decoder=bink \
+	--disable-decoder=binkaudio_dct \
+	--disable-decoder=binkaudio_rdft \
+	--disable-decoder=bmp \
+	--disable-decoder=c93 \
+	--disable-decoder=cavs \
+	--disable-decoder=cdgraphics \
+	--disable-decoder=cinepak \
+	--disable-decoder=cljr \
+	--disable-decoder=cook \
+	--disable-decoder=cscd \
+	--disable-decoder=cyuv \
+	--disable-decoder=dca \
+	--disable-decoder=dfa \
+	--disable-decoder=dnxhd \
+	--disable-decoder=dpx \
+	--disable-decoder=dsicinaudio \
+	--disable-decoder=dsicinvideo \
+	--disable-decoder=dvbsub \
+	--disable-decoder=dvdsub \
+	--disable-decoder=dvvideo \
+	--disable-decoder=dxa \
+	--disable-decoder=eac3 \
+	--disable-decoder=eacmv \
+	--disable-decoder=eamad \
+	--disable-decoder=eatgq \
+	--disable-decoder=eatgv \
+	--disable-decoder=eatqi \
+	--disable-decoder=eightbps \
+	--disable-decoder=eightsvx_exp \
+	--disable-decoder=eightsvx_fib \
+	--disable-decoder=eightsvx_raw \
+	--disable-decoder=escape124 \
+	--disable-decoder=ffv1 \
+	--disable-decoder=ffvhuff \
+	--disable-decoder=flac \
+	--disable-decoder=flashsv \
+	--disable-decoder=flic \
+	--disable-decoder=flv \
+	--disable-decoder=fourxm \
+	--disable-decoder=fraps \
+	--disable-decoder=frwu \
+	--disable-decoder=gif \
+	--disable-decoder=gsm \
+	--disable-decoder=gsm_ms \
+	--disable-decoder=h261 \
+	--disable-decoder=h263 \
+	--disable-decoder=h263i \
+	--disable-decoder=h264 \
+	--disable-decoder=h264_crystalhd \
+	--disable-decoder=h264_vdpau \
+	--disable-decoder=huffyuv \
+	--disable-decoder=idcin \
+	--disable-decoder=iff_byterun1 \
+	--disable-decoder=iff_ilbm \
+	--disable-decoder=imc \
+	--disable-decoder=indeo2 \
+	--disable-decoder=indeo3 \
+	--disable-decoder=indeo5 \
+	--disable-decoder=interplay_dpcm \
+	--disable-decoder=interplay_video \
+	--disable-decoder=jpeg2000 \
+	--disable-decoder=jpegls \
+	--disable-decoder=jv \
+	--disable-decoder=kgv1 \
+	--disable-decoder=kmvc \
+	--disable-decoder=lagarith \
+	--disable-decoder=libcelt \
+	--disable-decoder=libdirac \
+	--disable-decoder=libgsm \
+	--disable-decoder=libgsm_ms \
+	--disable-decoder=libopencore_amrnb \
+	--disable-decoder=libopencore_amrwb \
+	--disable-decoder=libopenjpeg \
+	--disable-decoder=libschroedinger \
+	--disable-decoder=libspeex \
+	--disable-decoder=libvpx \
+	--disable-decoder=loco \
+	--disable-decoder=mace3 \
+	--disable-decoder=mace6 \
+	--disable-decoder=mdec \
+	--disable-decoder=mimic \
+	--disable-decoder=mjpeg \
+	--disable-decoder=mjpegb \
+	--disable-decoder=mlp \
+	--disable-decoder=mmvideo \
+	--disable-decoder=motionpixels \
+	--disable-decoder=mp1 \
+	--disable-decoder=mp1float \
+	--disable-decoder=mp2 \
+	--disable-decoder=mp2float \
+	--disable-decoder=mp3 \
+	--disable-decoder=mp3adu \
+	--disable-decoder=mp3adufloat \
+	--disable-decoder=mp3float \
+	--disable-decoder=mp3on4 \
+	--disable-decoder=mp3on4float \
+	--disable-decoder=mpc7 \
+	--disable-decoder=mpc8 \
+	--disable-decoder=mpeg1_vdpau \
+	--disable-decoder=mpeg1video \
+	--disable-decoder=mpeg2_crystalhd \
+	--disable-decoder=mpeg2video \
+	--disable-decoder=mpeg4 \
+	--disable-decoder=mpeg4_crystalhd \
+	--disable-decoder=mpeg4_vdpau \
+	--disable-decoder=mpeg_vdpau \
+	--disable-decoder=mpegvideo \
+	--disable-decoder=mpeg_xvmc \
+	--disable-decoder=msmpeg4_crystalhd \
+	--disable-decoder=msmpeg4v1 \
+	--disable-decoder=msmpeg4v2 \
+	--disable-decoder=msmpeg4v3 \
+	--disable-decoder=msrle \
+	--disable-decoder=msvideo1 \
+	--disable-decoder=mszh \
+	--disable-decoder=mxpeg \
+	--disable-decoder=nellymoser \
+	--disable-decoder=nuv \
+	--disable-decoder=pam \
+	--disable-decoder=pbm \
+	--disable-decoder=pcm_alaw \
+	--disable-decoder=pcm_bluray \
+	--disable-decoder=pcm_dvd \
+	--disable-decoder=pcm_f32be \
+	--disable-decoder=pcm_f32le \
+	--disable-decoder=pcm_f64be \
+	--disable-decoder=pcm_f64le \
+	--disable-decoder=pcm_lxf \
+	--disable-decoder=pcm_mulaw \
+	--disable-decoder=pcm_s16be \
+	--disable-decoder=pcm_s16le \
+	--disable-decoder=pcm_s16le_planar \
+	--disable-decoder=pcm_s24be \
+	--disable-decoder=pcm_s24daud \
+	--disable-decoder=pcm_s24le \
+	--disable-decoder=pcm_s32be \
+	--disable-decoder=pcm_s32le \
+	--disable-decoder=pcm_s8 \
+	--disable-decoder=pcm_u16be \
+	--disable-decoder=pcm_u16le \
+	--disable-decoder=pcm_u24be \
+	--disable-decoder=pcm_u24le \
+	--disable-decoder=pcm_u32be \
+	--disable-decoder=pcm_u32le \
+	--disable-decoder=pcm_u8 \
+	--disable-decoder=pcm_zork \
+	--disable-decoder=pcx \
+	--disable-decoder=pgm \
+	--disable-decoder=pgmyuv \
+	--disable-decoder=pgssub \
+	--disable-decoder=pictor \
+	--disable-decoder=png \
+	--disable-decoder=ppm \
+	--disable-decoder=ptx \
+	--disable-decoder=qcelp \
+	--disable-decoder=qdm2 \
+	--disable-decoder=qdraw \
+	--disable-decoder=qpeg \
+	--disable-decoder=r10k \
+	--disable-decoder=r210 \
+	--disable-decoder=ra_144 \
+	--disable-decoder=ra_288 \
+	--disable-decoder=rawvideo \
+	--disable-decoder=rl2 \
+	--disable-decoder=roq \
+	--disable-decoder=roq_dpcm \
+	--disable-decoder=rpza \
+	--disable-decoder=rv10 \
+	--disable-decoder=rv20 \
+	--disable-decoder=rv30 \
+	--disable-decoder=rv40 \
+	--disable-decoder=s302m \
+	--disable-decoder=sgi \
+	--disable-decoder=shorten \
+	--disable-decoder=sipr \
+	--disable-decoder=smackaud \
+	--disable-decoder=smacker \
+	--disable-decoder=smc \
+	--disable-decoder=snow \
+	--disable-decoder=sol_dpcm \
+	--disable-decoder=sonic \
+	--disable-decoder=sp5x \
+	--disable-decoder=srt \
+	--disable-decoder=sunrast \
+	--disable-decoder=svq1 \
+	--disable-decoder=svq3 \
+	--disable-decoder=targa \
+	--disable-decoder=theora \
+	--disable-decoder=thp \
+	--disable-decoder=tiertexseqvideo \
+	--disable-decoder=tiff \
+	--disable-decoder=tmv \
+	--disable-decoder=truehd \
+	--disable-decoder=truemotion1 \
+	--disable-decoder=truemotion2 \
+	--disable-decoder=truespeech \
+	--disable-decoder=tscc \
+	--disable-decoder=tta \
+	--disable-decoder=twinvq \
+	--disable-decoder=txd \
+	--disable-decoder=ulti \
+	--disable-decoder=v210 \
+	--disable-decoder=v210x \
+	--disable-decoder=vb \
+	--disable-decoder=vc1 \
+	--disable-decoder=vc1_crystalhd \
+	--disable-decoder=vc1_vdpau \
+	--disable-decoder=vcr1 \
+	--disable-decoder=vmdaudio \
+	--disable-decoder=vmdvideo \
+	--disable-decoder=vmnc \
+	--disable-decoder=vorbis \
+	--disable-decoder=vp3 \
+	--disable-decoder=vp5 \
+	--disable-decoder=vp6 \
+	--disable-decoder=vp6a \
+	--disable-decoder=vp6f \
+	--disable-decoder=vp8 \
+	--disable-decoder=vqa \
+	--disable-decoder=wavpack \
+	--disable-decoder=wmapro \
+	--disable-decoder=wmav1 \
+	--disable-decoder=wmav2 \
+	--disable-decoder=wmavoice \
+	--disable-decoder=wmv1 \
+	--disable-decoder=wmv2 \
+	--disable-decoder=wmv3 \
+	--disable-decoder=wmv3_crystalhd \
+	--disable-decoder=wmv3_vdpau \
+	--disable-decoder=wnv1 \
+	--disable-decoder=ws_snd1 \
+	--disable-decoder=xan_dpcm \
+	--disable-decoder=xan_wc3 \
+	--disable-decoder=xan_wc4 \
+	--disable-decoder=xl \
+	--disable-decoder=xsub \
+	--disable-decoder=yop \
+	--disable-decoder=zlib \
+	--disable-decoder=zmbv \
+	--disable-demuxer=aac \
+	--disable-demuxer=ac3 \
+	--disable-demuxer=aea \
+	--disable-demuxer=aiff \
+	--disable-demuxer=amr \
+	--disable-demuxer=anm \
+	--disable-demuxer=apc \
+	--disable-demuxer=ape \
+	--disable-demuxer=applehttp \
+	--disable-demuxer=asf \
+	--disable-demuxer=ass \
+	--disable-demuxer=au \
+	--disable-demuxer=avi \
+	--disable-demuxer=avisynth \
+	--disable-demuxer=avs \
+	--disable-demuxer=bethsoftvid \
+	--disable-demuxer=bfi \
+	--disable-demuxer=bink \
+	--disable-demuxer=c93 \
+	--disable-demuxer=caf \
+	--disable-demuxer=cavsvideo \
+	--disable-demuxer=cdg \
+	--disable-demuxer=daud \
+	--disable-demuxer=dfa \
+	--disable-demuxer=dirac \
+	--disable-demuxer=dnxhd \
+	--disable-demuxer=dsicin \
+	--disable-demuxer=dts \
+	--disable-demuxer=dv \
+	--disable-demuxer=dxa \
+	--disable-demuxer=ea \
+	--disable-demuxer=eac3 \
+	--disable-demuxer=ea_cdata \
+	--disable-demuxer=ffm \
+	--disable-demuxer=ffmetadata \
+	--disable-demuxer=filmstrip \
+	--disable-demuxer=flac \
+	--disable-demuxer=flic \
+	--disable-demuxer=flv \
+	--disable-demuxer=fourxm \
+	--disable-demuxer=g722 \
+	--disable-demuxer=gsm \
+	--disable-demuxer=gxf \
+	--disable-demuxer=h261 \
+	--disable-demuxer=h263 \
+	--disable-demuxer=h264 \
+	--disable-demuxer=idcin \
+	--disable-demuxer=iff \
+	--disable-demuxer=image2 \
+	--disable-demuxer=image2pipe \
+	--disable-demuxer=ingenient \
+	--disable-demuxer=ipmovie \
+	--disable-demuxer=iss \
+	--disable-demuxer=iv8 \
+	--disable-demuxer=ivf \
+	--disable-demuxer=jv \
+	--disable-demuxer=libnut \
+	--disable-demuxer=lmlm4 \
+	--disable-demuxer=lxf \
+	--disable-demuxer=matroska \
+	--disable-demuxer=microdvd \
+	--disable-demuxer=mjpeg \
+	--disable-demuxer=mlp \
+	--disable-demuxer=mm \
+	--disable-demuxer=mmf \
+	--disable-demuxer=mp3 \
+	--disable-demuxer=mpc \
+	--disable-demuxer=mpc8 \
+	--disable-demuxer=mpegps \
+	--disable-demuxer=mpegts \
+	--disable-demuxer=mpegtsraw \
+	--disable-demuxer=mpegvideo \
+	--disable-demuxer=msnwc_tcp \
+	--disable-demuxer=mtv \
+	--disable-demuxer=mvi \
+	--disable-demuxer=mxf \
+	--disable-demuxer=mxg \
+	--disable-demuxer=nc \
+	--disable-demuxer=nsv \
+	--disable-demuxer=nut \
+	--disable-demuxer=nuv \
+	--disable-demuxer=ogg \
+	--disable-demuxer=oma \
+	--disable-demuxer=pcm_alaw \
+	--disable-demuxer=pcm_f32be \
+	--disable-demuxer=pcm_f32le \
+	--disable-demuxer=pcm_f64be \
+	--disable-demuxer=pcm_f64le \
+	--disable-demuxer=pcm_mulaw \
+	--disable-demuxer=pcm_s16be \
+	--disable-demuxer=pcm_s16le \
+	--disable-demuxer=pcm_s24be \
+	--disable-demuxer=pcm_s24le \
+	--disable-demuxer=pcm_s32be \
+	--disable-demuxer=pcm_s32le \
+	--disable-demuxer=pcm_s8 \
+	--disable-demuxer=pcm_u16be \
+	--disable-demuxer=pcm_u16le \
+	--disable-demuxer=pcm_u24be \
+	--disable-demuxer=pcm_u24le \
+	--disable-demuxer=pcm_u32be \
+	--disable-demuxer=pcm_u32le \
+	--disable-demuxer=pcm_u8 \
+	--disable-demuxer=pmp \
+	--disable-demuxer=pva \
+	--disable-demuxer=qcp \
+	--disable-demuxer=r3d \
+	--disable-demuxer=rawvideo \
+	--disable-demuxer=rl2 \
+	--disable-demuxer=rm \
+	--disable-demuxer=roq \
+	--disable-demuxer=rpl \
+	--disable-demuxer=rso \
+	--disable-demuxer=rtp \
+	--disable-demuxer=rtsp \
+	--disable-demuxer=sap \
+	--disable-demuxer=sdp \
+	--disable-demuxer=segafilm \
+	--disable-demuxer=shorten \
+	--disable-demuxer=siff \
+	--disable-demuxer=smacker \
+	--disable-demuxer=sol \
+	--disable-demuxer=sox \
+	--disable-demuxer=spdif \
+	--disable-demuxer=srt \
+	--disable-demuxer=str \
+	--disable-demuxer=swf \
+	--disable-demuxer=thp \
+	--disable-demuxer=tiertexseq \
+	--disable-demuxer=tmv \
+	--disable-demuxer=truehd \
+	--disable-demuxer=tta \
+	--disable-demuxer=tty \
+	--disable-demuxer=txd \
+	--disable-demuxer=vc1 \
+	--disable-demuxer=vc1t \
+	--disable-demuxer=vmd \
+	--disable-demuxer=voc \
+	--disable-demuxer=vqf \
+	--disable-demuxer=w64 \
+	--disable-demuxer=wav \
+	--disable-demuxer=wc3 \
+	--disable-demuxer=wsaud \
+	--disable-demuxer=wsvqa \
+	--disable-demuxer=wtv \
+	--disable-demuxer=wv \
+	--disable-demuxer=xa \
+	--disable-demuxer=xwma \
+	--disable-demuxer=yop \
+	--disable-demuxer=yuv4mpegpipe \
+	--disable-encoder=a64multi \
+	--disable-encoder=a64multi5 \
+	--disable-encoder=aac \
+	--disable-encoder=ac3 \
+	--disable-encoder=adpcm_adx \
+	--disable-encoder=adpcm_g722 \
+	--disable-encoder=adpcm_g726 \
+	--disable-encoder=adpcm_ima_qt \
+	--disable-encoder=adpcm_ima_wav \
+	--disable-encoder=adpcm_ms \
+	--disable-encoder=adpcm_swf \
+	--disable-encoder=adpcm_yamaha \
+	--disable-encoder=alac \
+	--disable-encoder=ass \
+	--disable-encoder=asv1 \
+	--disable-encoder=asv2 \
+	--disable-encoder=bmp \
+	--disable-encoder=dca \
+	--disable-encoder=dnxhd \
+	--disable-encoder=dpx \
+	--disable-encoder=dvbsub \
+	--disable-encoder=dvdsub \
+	--disable-encoder=dvvideo \
+	--disable-encoder=eac3 \
+	--disable-encoder=ffv1 \
+	--disable-encoder=ffvhuff \
+	--disable-encoder=flac \
+	--disable-encoder=flashsv \
+	--disable-encoder=flashsv2 \
+	--disable-encoder=flv \
+	--disable-encoder=gif \
+	--disable-encoder=h261 \
+	--disable-encoder=h263 \
+	--disable-encoder=h263p \
+	--disable-encoder=huffyuv \
+	--disable-encoder=jpegls \
+	--disable-encoder=libdirac \
+	--disable-encoder=libfaac \
+	--disable-encoder=libgsm \
+	--disable-encoder=libgsm_ms \
+	--disable-encoder=libmp3lame \
+	--disable-encoder=libopencore_amrnb \
+	--disable-encoder=libschroedinger \
+	--disable-encoder=libtheora \
+	--disable-encoder=libvo_aacenc \
+	--disable-encoder=libvo_amrwbenc \
+	--disable-encoder=libvorbis \
+	--disable-encoder=libvpx \
+	--disable-encoder=libx264 \
+	--disable-encoder=libxavs \
+	--disable-encoder=libxvid \
+	--disable-encoder=ljpeg \
+	--disable-encoder=mjpeg \
+	--disable-encoder=mp2 \
+	--disable-encoder=mpeg1video \
+	--disable-encoder=mpeg2video \
+	--disable-encoder=mpeg4 \
+	--disable-encoder=msmpeg4v2 \
+	--disable-encoder=msmpeg4v3 \
+	--disable-encoder=msvideo1 \
+	--disable-encoder=nellymoser \
+	--disable-encoder=pam \
+	--disable-encoder=pbm \
+	--disable-encoder=pcm_alaw \
+	--disable-encoder=pcm_f32be \
+	--disable-encoder=pcm_f32le \
+	--disable-encoder=pcm_f64be \
+	--disable-encoder=pcm_f64le \
+	--disable-encoder=pcm_mulaw \
+	--disable-encoder=pcm_s16be \
+	--disable-encoder=pcm_s16le \
+	--disable-encoder=pcm_s24be \
+	--disable-encoder=pcm_s24daud \
+	--disable-encoder=pcm_s24le \
+	--disable-encoder=pcm_s32be \
+	--disable-encoder=pcm_s32le \
+	--disable-encoder=pcm_s8 \
+	--disable-encoder=pcm_u16be \
+	--disable-encoder=pcm_u16le \
+	--disable-encoder=pcm_u24be \
+	--disable-encoder=pcm_u24le \
+	--disable-encoder=pcm_u32be \
+	--disable-encoder=pcm_u32le \
+	--disable-encoder=pcm_u8 \
+	--disable-encoder=pcm_zork \
+	--disable-encoder=pcx \
+	--disable-encoder=pgm \
+	--disable-encoder=pgmyuv \
+	--disable-encoder=png \
+	--disable-encoder=ppm \
+	--disable-encoder=ra_144 \
+	--disable-encoder=rawvideo \
+	--disable-encoder=roq \
+	--disable-encoder=roq_dpcm \
+	--disable-encoder=rv10 \
+	--disable-encoder=rv20 \
+	--disable-encoder=sgi \
+	--disable-encoder=snow \
+	--disable-encoder=sonic \
+	--disable-encoder=sonic_ls \
+	--disable-encoder=srt \
+	--disable-encoder=svq1 \
+	--disable-encoder=targa \
+	--disable-encoder=tiff \
+	--disable-encoder=v210 \
+	--disable-encoder=vorbis \
+	--disable-encoder=wmav1 \
+	--disable-encoder=wmav2 \
+	--disable-encoder=wmv1 \
+	--disable-encoder=wmv2 \
+	--disable-encoder=xsub \
+	--disable-encoder=zlib \
+	--disable-encoder=zmbv \
+	--disable-muxer=a64 \
+	--disable-muxer=ac3 \
+	--disable-muxer=adts \
+	--disable-muxer=aiff \
+	--disable-muxer=amr \
+	--disable-muxer=asf \
+	--disable-muxer=ass \
+	--disable-muxer=asf_stream \
+	--disable-muxer=au \
+	--disable-muxer=avi \
+	--disable-muxer=avm2 \
+	--disable-muxer=caf \
+	--disable-muxer=cavsvideo \
+	--disable-muxer=crc \
+	--disable-muxer=daud \
+	--disable-muxer=dirac \
+	--disable-muxer=dnxhd \
+	--disable-muxer=dts \
+	--disable-muxer=dv \
+	--disable-muxer=eac3 \
+	--disable-muxer=ffm \
+	--disable-muxer=ffmetadata \
+	--disable-muxer=filmstrip \
+	--disable-muxer=flac \
+	--disable-muxer=flv \
+	--disable-muxer=framecrc \
+	--disable-muxer=framemd5 \
+	--disable-muxer=g722 \
+	--disable-muxer=gif \
+	--disable-muxer=gxf \
+	--disable-muxer=h261 \
+	--disable-muxer=h263 \
+	--disable-muxer=image2 \
+	--disable-muxer=image2pipe \
+	--disable-muxer=ipod \
+	--disable-muxer=ivf \
+	--disable-muxer=md5 \
+	--disable-muxer=matroska \
+	--disable-muxer=matroska_audio \
+	--disable-muxer=microdvd \
+	--disable-muxer=mjpeg \
+	--disable-muxer=mlp \
+	--disable-muxer=mmf \
+	--disable-muxer=mp2 \
+	--disable-muxer=mp3 \
+	--disable-muxer=mpeg1system \
+	--disable-muxer=mpeg1vcd \
+	--disable-muxer=mpeg1video \
+	--disable-muxer=mpeg2dvd \
+	--disable-muxer=mpeg2svcd \
+	--disable-muxer=mpeg2video \
+	--disable-muxer=mpeg2vob \
+	--disable-muxer=mpegts \
+	--disable-muxer=mpjpeg \
+	--disable-muxer=mxf \
+	--disable-muxer=mxf_d10 \
+	--disable-muxer=null \
+	--disable-muxer=nut \
+	--disable-muxer=ogg \
+	--disable-muxer=pcm_alaw \
+	--disable-muxer=pcm_mulaw \
+	--disable-muxer=pcm_f64be \
+	--disable-muxer=pcm_f64le \
+	--disable-muxer=pcm_f32be \
+	--disable-muxer=pcm_f32le \
+	--disable-muxer=pcm_s32be \
+	--disable-muxer=pcm_s32le \
+	--disable-muxer=pcm_s24be \
+	--disable-muxer=pcm_s24le \
+	--disable-muxer=pcm_s16be \
+	--disable-muxer=pcm_s16le \
+	--disable-muxer=pcm_s8 \
+	--disable-muxer=pcm_u32be \
+	--disable-muxer=pcm_u32le \
+	--disable-muxer=pcm_u24be \
+	--disable-muxer=pcm_u24le \
+	--disable-muxer=pcm_u16be \
+	--disable-muxer=pcm_u16le \
+	--disable-muxer=pcm_u8 \
+	--disable-muxer=psp \
+	--disable-muxer=rawvideo \
+	--disable-muxer=rm \
+	--disable-muxer=roq \
+	--disable-muxer=rso \
+	--disable-muxer=rtp \
+	--disable-muxer=rtsp \
+	--disable-muxer=sap \
+	--disable-muxer=sox \
+	--disable-muxer=spdif \
+	--disable-muxer=srt \
+	--disable-muxer=swf \
+	--disable-muxer=tg2 \
+	--disable-muxer=tgp \
+	--disable-muxer=truehd \
+	--disable-muxer=vc1t \
+	--disable-muxer=voc \
+	--disable-muxer=wav \
+	--disable-muxer=webm \
+	--disable-muxer=yuv4mpegpipe \
+	--disable-muxer=libnut \
+	--disable-parser=aac \
+	--disable-parser=aac_latm \
+	--disable-parser=cavsvideo \
+	--disable-parser=dca \
+	--disable-parser=dirac \
+	--disable-parser=dnxhd \
+	--disable-parser=dvbsub \
+	--disable-parser=dvdsub \
+	--disable-parser=flac \
+	--disable-parser=h261 \
+	--disable-parser=h263 \
+	--disable-parser=h264 \
+	--disable-parser=mjpeg \
+	--disable-parser=mlp \
+	--disable-parser=mpegaudio \
+	--disable-parser=mpeg4video \
+	--disable-parser=mpegvideo \
+	--disable-parser=pnm \
+	--disable-parser=vc1 \
+	--disable-parser=vp3 \
+	--disable-parser=vp8 \
+	--disable-protocol=applehttp \
+	--disable-protocol=concat \
+	--disable-protocol=crypto \
+	--disable-protocol=gopher \
+	--disable-protocol=http \
+	--disable-protocol=mmsh \
+	--disable-protocol=mmst \
+	--disable-protocol=md5 \
+	--disable-protocol=pipe \
+	--disable-protocol=rtmp \
+	--disable-protocol=rtmpt \
+	--disable-protocol=rtmpe \
+	--disable-protocol=rtmpte \
+	--disable-protocol=rtmps \
+	--disable-protocol=rtp \
+	--disable-protocol=tcp \
+	--disable-protocol=udp \
+	--enable-decoder=qtrle \
+	--enable-demuxer=m4v \
+	--enable-demuxer=mov \
+	--enable-fbdev \
+	--enable-parser=ac3 \
+	--enable-protocol=file
+
+# Configure the source for building.
+#
+# The configure script for this package looks like GNU configure, but
+# it isn't.
+
+.PHONY: configure
+configure: source $(PackageBuildConfig)
+
+# Build the source.
+#
+# We have to unset MAKEFLAGS since they confuse the package build otherwise.
+
+.PHONY: build
+build: configure
+	$(Verbose)unset MAKEFLAGS && \
+	$(MAKE) -C $(BuildDirectory) \
+	all
+
+# Stage the build to a temporary installation area.
+#
+# We have to unset MAKEFLAGS since they confuse the package build otherwise.
+
+.PHONY: stage
+stage: build | $(ResultDirectory)
+	$(Verbose)unset MAKEFLAGS && \
+	$(MAKE) -C $(BuildDirectory) \
+	DESTDIR=$(ResultDirectory) \
+	INSTALLSTRIP="" \
+	install
+
+clean:
+	$(Verbose)$(RM) $(RMFLAGS) -r $(PackageSourceDir)
+	$(Verbose)$(RM) $(RMFLAGS) -r $(BuildDirectory)
+	$(Verbose)$(RM) $(RMFLAGS) -r $(ResultDirectory)
+
+include post.mak
+
diff --git a/mplayer-export-2011-07-27/mplayer.patches.tar.gz b/mplayer-export-2011-07-27/mplayer.patches.tar.gz
new file mode 100644
index 0000000..1d440a2
--- /dev/null
+++ b/mplayer-export-2011-07-27/mplayer.patches.tar.gz
Binary files differ
diff --git a/mplayer-export-2011-07-27/mplayer.tar.bz2 b/mplayer-export-2011-07-27/mplayer.tar.bz2
new file mode 100644
index 0000000..9214ce6
--- /dev/null
+++ b/mplayer-export-2011-07-27/mplayer.tar.bz2
Binary files differ
diff --git a/mplayer-export-2011-07-27/mplayer.url b/mplayer-export-2011-07-27/mplayer.url
new file mode 100644
index 0000000..9fbd5ca
--- /dev/null
+++ b/mplayer-export-2011-07-27/mplayer.url
@@ -0,0 +1 @@
+http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2
diff --git a/mplayer-export-2011-07-27/mplayer.version b/mplayer-export-2011-07-27/mplayer.version
new file mode 100644
index 0000000..2c6fb09
--- /dev/null
+++ b/mplayer-export-2011-07-27/mplayer.version
@@ -0,0 +1 @@
+export-2011-07-27