From cb0c55190368fc33140de78a3cf0cccd2c809d7d Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 1 Mar 2010 11:35:27 -0800 Subject: 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 --- Library/Formula/ffmpeg.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library/Formula') 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 22585 + head 'svn://svn.ffmpeg.org/ffmpeg/trunk', + :revisions => { :trunk => 22916, 'libswscale' => 31045 } homepage 'http://ffmpeg.org/' depends_on 'x264' => :optional -- cgit v1.2.3