- Clone this repo:
git clone https://github.com/wasphin/homebrew-formula.git
- Go to the repo dir and install:
brew install --build-from-source ffmpeg.rb
- Download the latest ffmpeg.rb from upstream:
rm -rf ffmpeg.rb && wget -c https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/f/ffmpeg.rb
- Patch and update the formula file:
git add -p ffmpeg.rb git checkout ffmpeg.rb
- Build test:
brew install --build-from-source ffmpeg.rb
- Commit & push.