Ticket #32799: patch-ffmpeg-Portfile.diff

File patch-ffmpeg-Portfile.diff, 3.2 KB (added by deric@…, 11 years ago)

A patch against the ffmpeg Portfile to build ffmbc

  • Portfile

    old new  
    55PortGroup xcodeversion 1.0
    66PortGroup muniversal 1.0
    77
    8 name            ffmpeg
    9 conflicts       ffmpeg-devel
    10 epoch           1
    11 version         0.7.11
     8name            ffmbc
     9conflicts       ffmpeg-devel ffmpeg
     10version         0.7-rc7
    1211revision        1
    13 set branch      [join [lrange [split ${version} .] 0 1] .]
    1412license         GPL-2+
    1513categories      multimedia
    16 maintainers     devans openmaintainer
     14maintainers     deric openmaintainer
    1715
    18 description     FFmpeg is a complete solution to play, record, convert and \
    19                 stream audio and video.
     16description     FFmbc is FFmpeg customized for broadcast and professional usage.
    2017
    21 long_description        FFmpeg is a complete solution to record, convert and \
    22                         stream audio and video. It includes libavcodec, the \
    23                         leading audio/video codec library. \
    24                         \
    25                         The project is made of several components: \
    26                         \
    27                         ffmpeg is a command line tool to convert one video \
    28                         file format to another. It also supports grabbing and \
    29                         encoding in real time from a TV card. \
    30                         \
    31                         ffserver is an HTTP (RTSP is being developped) \
    32                         multimedia streaming server for live broadcasts. Time \
    33                         shifting of live broadcast is also supported. \
    34                         \
    35                         ffplay is a simple media player based on SDL and on \
    36                         the ffmpeg libraries. \
    37                         \
    38                         ffprobe gathers information from multimedia streams and \
    39                         prints it in human- and machine-readable fashion. \
    40                         \
    41                         libavcodec is a library containing all the ffmpeg \
    42                         audio/video encoders and decoders. Most codecs were \
    43                         developped from scratch to ensure best performances \
    44                         and high code reusability. \
    45                         \
    46                         libavformat is a library containing parsers and \
    47                         generators for all common audio/video formats.
     18long_description        ...
    4819
    4920platforms       darwin
    50 homepage        http://www.ffmpeg.org/
    51 master_sites    http://www.ffmpeg.org/releases/
     21homepage        http://code.google.com/p/ffmbc/
     22master_sites    googlecode:ffmbc
     23distname        FFmbc-${version}
    5224
    5325use_bzip2       yes
    5426
    55 checksums       sha1    32f78f8990077dc045a52450c2ca2535eb6c7317 \
    56                 rmd160  5e9a7ba857c4d4542bc1631981959ab91a2a73d1
     27checksums       rmd160  477bb0632358ebdd3be389fb9ac3ecd28d7643e2 \
     28                sha256  08e1b4a7abe6f9493bd5905ece1cecd291bdb1efbd2af6dd830a42273238f3c7
    5729
    5830depends_build   port:pkgconfig \
    5931                port:gmake \
     
    246218"
    247219}
    248220
    249 livecheck.type  regex
    250 livecheck.url   ${master_sites}
    251 livecheck.regex "${name}-(${branch}(?:\\.\\d+)*)${extract.suffix}"
     221livecheck.regex FFmbc-(\[0-9\]+\.\[0-9\]+-rc\[0-9\])