Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/9511 https://trac.macports.org/…

…ticket/9584

Submitted by: ecronin@gizmolabs.org
Reviewed by:  markd@
Approved by:
Obtained from:
Version update to 1.0pre8; add x264 variant.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@19317 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Mark Duling
Mark Duling committed Aug 29, 2006
1 parent 384fc2a commit a802b47ca2dd0bb9d9830ab2f0fd96cdb8f82587
Showing with 25 additions and 8 deletions.
  1. +25 −8 multimedia/MPlayer/Portfile
@@ -1,9 +1,8 @@
# $Id: Portfile,v 1.18 2006/05/25 06:54:59 blb Exp $
# $Id: Portfile,v 1.19 2006/08/29 05:44:05 markd Exp $

PortSystem 1.0
name MPlayer
version cvs-20060408
epoch 20060408
version 1.0pre8
categories multimedia
maintainers darwinports@opendarwin.org
description The Unix movie player
@@ -18,15 +17,21 @@ long_description \
platforms darwin

homepage http://www.mplayerhq.hu/
master_sites http://www.opendarwin.org/~blb/ \
master_sites http://www1.mplayerhq.hu/MPlayer/releases/ \
http://www2.mplayerhq.hu/MPlayer/releases/ \
http://www4.mplayerhq.hu/MPlayer/releases/ \
http://studwww.ira.uni-karlsruhe.de/~s_doeffi/MPlayer/ \
http://equinox.campus.ltu.se/MPlayer/releases/ \
http://tranquillity.campus.ltu.se/~rtogni/ \
http://www.people.virginia.edu/~drf8f/MPlayer/releases/ \
http://www1.mplayerhq.hu/MPlayer/releases/codecs/:codecs \
http://www2.mplayerhq.hu/MPlayer/releases/codecs/:codecs
use_bzip2 yes

checksums ${distname}${extract.suffix} \
md5 d79ce79b767ca858a3cb555c41daa255 \
sha1 91ec82c5bbd0aed6e68256891bdf84af5d7d53da \
rmd160 cd62009e46a7ed58074cac9af472e22270f5d0e7
md5 f82bb2bc51b6cd5e5dd96f88f6f98582 \
sha1 8a0929b84dcb37d47c062230ce693b64b3e30921 \
rmd160 23fd13fe75a5c4029ead043aa4b3b08fe5fe44f0

depends_lib port:libpng port:jpeg port:lzo port:libvorbis \
port:libmad port:lame
@@ -38,7 +43,7 @@ configure.args --with-extraincdir=${prefix}/include \
--mandir=${prefix}/share/man \
--enable-inet6 --enable-png --enable-jpeg \
--enable-liblzo --enable-vorbis --enable-mad \
--enable-mencoder \
--enable-mencoder --enable-largefiles\
--disable-sdl --disable-x11 --disable-freetype \
--disable-fontconfig --disable-gif --disable-arts \
--disable-esd --disable-fribidi --disable-theora \
@@ -146,6 +151,18 @@ variant theora {
configure.args-append --enable-theora
}

variant xvid {
depends_lib-append port:XviD
configure.args-delete --disable-xvid
configure.args-append --enable-xvid
}

variant x264 {
depends_lib-append port:x264
configure.args-delete --disable-x264
configure.args-append --enable-x264
}

# Install all possible languages for man pages
variant man_all_lang {
configure.args-append --language=all

0 comments on commit a802b47

Please sign in to comment.
You can’t perform that action at this time.