pigoz / mplayerosx-builds

build scripts of mplayer2 for Mac OSX
35 stars 8 forks source link

Demanding dependency ffmpeg although already installed #9

Closed Argon- closed 12 years ago

Argon- commented 12 years ago

I tried compiling mplayer2 via

Julian:~ Julian$ brew install --HEAD https://raw.github.com/pigoz/mplayerosx-builds/master/formulae/mplayer2.rb
######################################################################## 100,0%
######################################################################## 100,0%
Error: No available formula for /Users/Julian/Library/Caches/Homebrew/Formula/ffmpeg.rb

brew is right - I did not use the ffmpeg formula provided by you since I already installed the one in brew's main repo.

Julian:~ Julian$ brew list | grep ffmpeg
ffmpeg

Is there some kind of incompatibility between them?

pigoz commented 12 years ago

Hello, at the moment my ffmpeg formula is really similar to the one in homebrew master.

To keep using homebrew's ffmpeg you will have to edit my mplayer2 formula from depends_on File.join(File.dirname(__FILE__), 'ffmpeg.rb') => :build to depends_on 'ffmpeg'.

I assume you already have some software installed that depends on homebrew's ffmpeg so that may be the only sane way to go about.

Argon- commented 12 years ago

Works, thanks. :)