New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16589: patch-ffmpeg-Portfile.diff

File patch-ffmpeg-Portfile.diff, 1.1 KB (added by db.evans@…, 4 years ago)

Patch for Portfile

  • Portfile

    old new  
    44 
    55name            ffmpeg 
    66version         0.4.9-pre1 
    7 revision        11 
     7revision        12 
    88categories      multimedia 
    99maintainers     acho@macports.org openmaintainer 
    1010description     Digital VCR and streaming server 
     
    4343 
    4444set svn_rev 14381 
    4545 
     46pre-fetch { 
     47    if {[file isdirectory ${distpath}/${svn_rev}]} { 
     48        if {![file isdirectory ${distpath}/${svn_rev}/trunk/.svn]} { 
     49             file delete -force ${distpath}/${svn_rev} 
     50        } 
     51    } 
     52} 
     53 
    4654fetch { 
    4755    if {![file isdirectory ${distpath}/${svn_rev}]} { 
    4856        file mkdir ${distpath}/${svn_rev} 
    49         system "svn export -r${svn_rev} --ignore-externals svn://svn.mplayerhq.hu/ffmpeg/trunk ${distpath}/${svn_rev}/trunk" 
    50         system "svn export -r27349 svn://svn.mplayerhq.hu/mplayer/trunk/libswscale ${distpath}/${svn_rev}/trunk/libswscale" 
     57        system "svn co -r${svn_rev} --ignore-externals svn://svn.mplayerhq.hu/ffmpeg/trunk ${distpath}/${svn_rev}/trunk" 
     58        system "svn co -r27349 svn://svn.mplayerhq.hu/mplayer/trunk/libswscale ${distpath}/${svn_rev}/trunk/libswscale" 
    5159    } 
    5260} 
    5361