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>
master
Adam Vandenberg 2010-03-01 11:35:27 -08:00
parent f657b3896e
commit 3458e88d45
1 changed files with 2 additions and 1 deletions

View File

@ -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