diff options
| author | Adam Vandenberg | 2010-03-01 11:35:27 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-08 12:36:03 -0700 |
| commit | cb0c55190368fc33140de78a3cf0cccd2c809d7d (patch) | |
| tree | b5a792dca1403b20ccd005bf65c11cbca82edc58 /Library/Formula | |
| parent | 42f5993fed385c2188f61a7afc04a938ddbfa18b (diff) | |
| download | homebrew-cb0c55190368fc33140de78a3cf0cccd2c809d7d.tar.bz2 | |
Subversion now supports revisions on externals.
A formula using svn can now provide a spec:
:revisions => {...revision numbers...}
that contains a mapping of revision numbers to use
for externals.
The name of the external is keyed to the revision to
use for that external.
The symbol :trunk should be used to specify the reivsion
of the main repo.
An example from the Ffmpeg formula:
head 'svn://svn.ffmpeg.org/ffmpeg/trunk',
:revisions => { :trunk => 22916, 'libswscale' => 31045 }
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ffmpeg.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb index 419e4fc91..a578b5d30 100644 --- a/Library/Formula/ffmpeg.rb +++ b/Library/Formula/ffmpeg.rb @@ -1,7 +1,8 @@ require 'formula' class Ffmpeg <Formula - head 'svn://svn.ffmpeg.org/ffmpeg/trunk', :revision => 22585 + head 'svn://svn.ffmpeg.org/ffmpeg/trunk', + :revisions => { :trunk => 22916, 'libswscale' => 31045 } homepage 'http://ffmpeg.org/' depends_on 'x264' => :optional |
