# HG changeset patch # User gpoirier # Date 1125419565 0 # Node ID 458c83408fd7e398183f35605a0b2704e8452a80 # Parent ff5274370d5c58fe3b6d55402b6cce7395227533 How to build MPlayerOSX diff -r ff5274370d5c -r 458c83408fd7 DOCS/xml/en/ports.xml --- a/DOCS/xml/en/ports.xml Mon Aug 29 19:53:27 2005 +0000 +++ b/DOCS/xml/en/ports.xml Tue Aug 30 16:32:45 2005 +0000 @@ -570,7 +570,80 @@ One can get an Aqua GUI for MPlayer together with compiled MPlayer binaries for Mac OS X from the -MPlayerOSX project. +MPlayerOSX project, but be +warned: that project as it is is not active anymore. + + +Fortunately, MPlayerOSX has been taken over +by MPlayer's dev team, and is now one of the +official projects supported by MPlayer. + + +In order to build MPlayerOSX, you need +the mplayerosx module, the +main module and a copy of the +main module named +main_noaltivec. +mplayerosx is the GUI frontend, +main is MPlayer and +main_noaltivec is MPlayer built without AltiVec +support. + + +You can get the latest source from CVS: + +cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer login +cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P mplayerosx + + +In order to build MPlayerOSX you will need to +set up something like this: + +MPlayer_source_directory + | + |--->main (MPlayer CVS source) + | + |--->main_noaltivec (MPlayer CVS source configured with --disable-altivec) + | + |--->mplayerosx (MPlayerOSX CVS source) + + +You first need to build main and main_noaltivec. + +Next, set a global variable: +export MACOSX_DEPLOYMENT_TARGET=10.3 + +Then, configure: + + +If you configure for a machine which CPU is greater than G3, do as follows: + +./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11 + + +If you configure for a G3-powered machine, do as follows: + +./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11 +--disable-altivec + +You may need to edit config.mak and change the -mcpu and -mtune from +74XX to G3. + + +Continue with + +make + +then go to the mplayerosx directory and and type + + +make dist + +This will create a compressed .dmg archive with the binary ready to use. + + +You can also use the xcode 2.1 project; the old project for xcode 1.x is +not working anymore.