# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortGroup compiler_blacklist_versions 1.0
maintainers {jeremyhu @jeremyhu} openmaintainer
description The MPlayer movie player built from SVN.
long_description ${description} It plays most MPEG/VOB, AVI, Ogg/OGM, \
VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, \
NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, \
supported by many native, XAnim, and Win32 DLL codecs. \
You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV \
homepage http://www.mplayerhq.hu/
depends_build port:pkgconfig port:yasm
port:jpeg port:openjpeg15 port:lame port:libiconv port:libmad port:gnutls \
port:libogg port:libopus port:libpng port:libtheora port:libvorbis \
port:lzo2 port:ncurses port:zlib port:bzip2 port:liboil port:libass \
master_sites http://www.mplayerhq.hu/MPlayer/releases/ \
ftp://ftp.mplayerhq.hu/MPlayer/releases/
checksums sha1 11db20434a4e1aabb9c52f7712241dae1b3730e3 \
rmd160 b6688b186f41267ca3cec59c67afe34396c51ade \
sha256 3ad0846c92d89ab2e4e6fb83bf991ea677e7aa2ea775845814cbceb608b09843
# Do not use the following environment variables, otherwise the build phase
configure.cc_archflags {}
configure.cxx_archflags {}
# Do not use pipes, otherwise the build phase will fail.
--extra-cflags="-I${prefix}/include/lzo -I${prefix}/include" \
--extra-ldflags="-L${prefix}/lib -L${prefix}/lib/samba3" \
--datadir=${prefix}/share/${name} \
--confdir=${prefix}/etc/${name} \
--mandir=${prefix}/share/man \
--enable-png --enable-jpeg --enable-liblzo \
--enable-theora --enable-libvorbis --enable-libopus --enable-mad
# MPlayer autodetects many support libs. To prevent undeclared
# dependencies, explicitly disable everything optional first.
# This list should be expanded each time the port is updated to a