New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79909


Ignore:
Timestamp:
06/29/11 00:45:36 (4 years ago)
Author:
jeremyhu@…
Message:

ffmpeg-devel: Update to current ffmpeg git (#29215), clang build fixes

Location:
trunk/dports/multimedia/ffmpeg-devel
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/multimedia/ffmpeg-devel/Portfile

    r77351 r79909  
    77name            ffmpeg-devel 
    88conflicts       ffmpeg 
    9 set svn_rev     25102 
    10 set swscale_rev 32106 
    11 version         ${svn_rev} 
     9set rev         9e17d051ac9b113b70980373b8489ca469505f3f 
     10version         20110628 
    1211license         nonfree GPL-2+ LGPL-2.1+ 
    1312categories      multimedia 
     
    5049distfiles 
    5150 
    52 worksrcdir      trunk 
     51worksrcdir      ffmpeg 
    5352 
    5453depends_build   port:pkgconfig \ 
    55                 bin:svn:subversion \ 
     54                bin:git:git-core \ 
    5655                port:gmake \ 
    5756                port:texi2html 
     
    7473 
    7574pre-fetch { 
    76     if {[file isdirectory ${distpath}/${svn_rev}]} { 
    77         if {![file isdirectory ${distpath}/${svn_rev}/trunk/.svn] || ![file exists ${distpath}/${svn_rev}/trunk/.complete]} { 
    78              file delete -force ${distpath}/${svn_rev} 
     75    if {[file isdirectory ${distpath}/${rev}]} { 
     76        if {![file exists ${distpath}/${rev}/.complete]} { 
     77             file delete -force ${distpath}/${rev} 
    7978        } 
    8079    } 
     
    8281 
    8382fetch { 
    84     if {![file isdirectory ${distpath}/${svn_rev}]} { 
    85         file mkdir ${distpath}/${svn_rev} 
    86         system "svn co --ignore-externals svn://svn.ffmpeg.org/ffmpeg/trunk@${svn_rev} ${distpath}/${svn_rev}/trunk" 
    87         system "svn co svn://svn.ffmpeg.org/mplayer/trunk/libswscale@${swscale_rev} ${distpath}/${svn_rev}/trunk/libswscale" 
    88         system "touch ${distpath}/${svn_rev}/trunk/.complete" 
     83    if {![file isdirectory ${distpath}/${rev}]} { 
     84        file mkdir ${distpath}/${rev}/ffmpeg 
     85        system "git clone --depth 1000 git://git.videolan.org/ffmpeg.git ${distpath}/${rev}/ffmpeg" 
     86        system "cd ${distpath}/${rev}/ffmpeg && git checkout -f ${rev}" 
     87        system "touch ${distpath}/${rev}/.complete" 
    8988    } 
    9089} 
     
    9796 
    9897extract { 
    99     file copy ${distpath}/${svn_rev}/trunk ${worksrcpath} 
    100 } 
    101  
    102 patchfiles patch-Makefile.diff 
     98    file copy ${distpath}/${rev}/ffmpeg ${worksrcpath} 
     99} 
    103100 
    104101configure.cflags-append    -DHAVE_LRINTF ${configure.cppflags} 
Note: See TracChangeset for help on using the changeset viewer.