Changeset 116084 for trunk/dports


Ignore:
Timestamp:
Jan 17, 2014, 9:38:56 PM (10 years ago)
Author:
devans@…
Message:

ffmpeg, ffmpeg-devel: dependencies, configuration (#36849).

  • add explicit dependency on libiconv to avoid opportunistic configuration
  • add dependency and enable fontconfig (fonts by name in filter drawtext)
  • add variant +libdc1394, enables experimental frame grabbing from FireWire cameras.
  • increment revision to rebuild with these features and libass.5.
Location:
trunk/dports/multimedia
Files:
4 added
2 edited

Legend:

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

    r116061 r116084  
    1010conflicts       ffmpeg
    1111version         20140116
     12revision        1
    1213set git_branch  3ca7085ae2f7734746174762e76a9b2b1c6e8626
    1314license         LGPL-2.1+
     
    5960
    6061depends_lib     port:lame \
     62                port:libiconv \
    6163                port:libvorbis \
    6264                port:libopus \
     
    6971                port:gnutls \
    7072                port:openjpeg15 \
     73                port:fontconfig \
    7174                port:freetype \
    7275                path:lib/libspeex.dylib:speex \
     
    8285    error "git branch hash must be at least 7 characters long."
    8386}
     87
     88patchfiles      patch-libdc1394.diff
    8489
    8590build.cmd       ${prefix}/bin/gmake
     
    119124        --enable-libbluray \
    120125        --enable-gnutls \
     126        --enable-fontconfig \
    121127        --enable-libfreetype \
    122128        --disable-indev=jack \
     
    185191        configure.args-append --enable-yasm
    186192    }
     193}
     194
     195variant libdc1394 description {Enable IIDC-1394 frame grabbing using libdc1394 (experimental)} {
     196    depends_lib-append port:libdc1394
     197    configure.args-append --enable-libdc1394
    187198}
    188199
  • trunk/dports/multimedia/ffmpeg/Portfile

    r116062 r116084  
    1111epoch           1
    1212version         2.1.3
     13revision        1
    1314license         LGPL-2.1+
    1415categories      multimedia
     
    6061
    6162depends_lib     port:lame \
     63                port:libiconv \
    6264                port:libvorbis \
    6365                port:libopus \
     
    7072                port:gnutls \
    7173                port:openjpeg15 \
     74                port:fontconfig \
    7275                port:freetype \
    7376                path:lib/libspeex.dylib:speex \
     
    7679                port:bzip2 \
    7780                port:zlib
     81
     82patchfiles      patch-libdc1394.diff
    7883
    7984build.cmd       ${prefix}/bin/gmake
     
    113118        --enable-libbluray \
    114119        --enable-gnutls \
     120        --enable-fontconfig \
    115121        --enable-libfreetype \
    116122        --disable-indev=jack \
     
    179185        configure.args-append --enable-yasm
    180186    }
     187}
     188
     189variant libdc1394 description {Enable IIDC-1394 frame grabbing using libdc1394 (experimental)} {
     190    depends_lib-append port:libdc1394
     191    configure.args-append --enable-libdc1394
    181192}
    182193
Note: See TracChangeset for help on using the changeset viewer.