View Single Post
Old 2008-07-29, 13:31   Link #26
anime_layer
Senior Member
*Graphic Designer
 
 
Join Date: Feb 2003
Location: Zürich, Switzerland
Send a message via ICQ to anime_layer
@Ryoujin
Usually MacPorts works really well. You had some bad luck with your MacPorts installation. ^^'

Congratulation! Seems like you compiled mplayer!
You could already use it from that directory and the command line. The rest is just copying the binary to the correct location.

I made a mistake with the last command. Just fixed in the first post. If you've already executed "sudo make install" then the correct command is:
Code:
sudo cp /opt/mplayer/bin/mplayer /Applications/MPlayer\ OSX.app/Contents/Resources/External_Binaries/mplayer.app/Contents/MacOS/mplayer
Unfortunately, making a redistributable binary is not as easy. The binary you compiled this way is linked to all the dependencies you installed with macports. Anyone who would want to run that binary on their computer would have to have everything else installed, too. If you want to make a redistributable binary you also have to compile all dependencies specially. I'm not exactly certain how that works, either.
__________________
MPlayer OSX Extended (en) | nimmermehr (de) | sttz (de) | last.fm
Life is a game whose first rule is: This is not a game, this is dead serious.
anime_layer is offline