Ticket #2553: Portfile.diff

File Portfile.diff, 1.4 KB (added by ocheron@…, 20 years ago)

Diff of Portfile

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/multimedia/ffmpeg/Portfile,v
    retrieving revision 1.2
    diff -u -r1.2 Portfile
     
    33PortSystem 1.0
    44name            ffmpeg
    55version         0.4.8
     6revision        1
    67categories      multimedia
    78maintainers     ocheron@noos.fr
    89description     Digital VCR and streaming server
     
    3738configure.env   CFLAGS="-I${prefix}/include"
    3839configure.args  --prefix=${destroot}${prefix} --disable-vhook \
    3940                --mandir=${destroot}${prefix}/share/man \
    40                 --extra-ldflags="-d -L${prefix}/lib"
     41                --extra-ldflags="-d -L${prefix}/lib" \
     42                --disable-ffplay
    4143patchfiles      patch-configure.diff
    4244
    4345post-destroot {
     
    5052
    5153# Adds MP3 support
    5254variant mp3 {
    53         depends_lib-append lib:XXX:lame
     55        depends_lib-append lib:libmp3lame:lame
    5456        configure.args-append --enable-mp3lame
    5557}
    5658
    5759# Adds Ogg Vorbis support
    5860variant ogg-vorbis {
    59         depends_lib-append lib:XXX:libvorbis
     61        depends_lib-append lib:libvorbis:libvorbis lib:libvorbisenc:libvorbis lib:libogg:libogg
    6062        configure.args-append --enable-vorbis
    6163}
    6264
    6365# Adds AAC support
    6466variant aac {
    65         depends_lib-append lib:XXX:faad2
     67        depends_lib-append lib:libfaad:faad2
    6668        configure.args-append --enable-faad
    6769}
     70
     71# Adds player (ffplay)
     72# variant player {
     73#       depends_lib-append lib:libSDL:libsdl
     74#       configure.args-delete --disable-ffplay
     75# }