Ticket #18285: patch-sox.diff

File patch-sox.diff, 2.5 KB (added by dbevans (David B. Evans), 15 years ago)

Patch for Portfile (rev 2)

  • Portfile

     
    44PortSystem 1.0
    55
    66name             sox
    7 version          14.0.1
     7version          14.2.0
    88categories       audio
    9 maintainers      nomaintainer
     9maintainers      jmpoure
    1010description      SOund eXchange - universal sound sample translator
    1111long_description \
    1212        SoX (also known as Sound eXchange) translates sound samples between \
     
    1717homepage         http://sox.sourceforge.net/
    1818platforms        darwin
    1919
    20 depends_lib      port:libao port:libsndfile port:libid3tag port:libsamplerate
     20depends_lib      port:libao \
     21                 port:libsndfile \
     22                 port:libid3tag \
     23                 port:libsamplerate \
     24                 port:libvorbis \
     25                 port:ffmpeg \
     26                 port:libmad \
     27                 port:flac
    2128
    2229master_sites     sourceforge
    23 checksums        md5 6c95af60b20b9655531bf3162c0be937 \
    24                  sha1 b4b07e9905728209d3c97b9fb0fc65e75b4c45a1
     30checksums        md5     7afc0e85d14be014f08e7d3b7ee8c24e \
     31                 sha1    1b60e5af43f44a51247fb978f2423f0de7e27363 \
     32                 rmd160  7c76a2db5c5838fc3d9f8b5402e47d548fd094d5
    2533
    2634configure.args   --mandir=\\\${prefix}/share/man \
    27                  --without-ogg \
    28                  --without-mad \
    29                  --without-lame \
    30                  --without-flac \
    31                  --without-ffmpeg \
     35                 --enable-lame \
     36                 --enable-ogg \
     37                 --enable-ffmpeg \
     38                 --enable-mad \
     39                 --enable-flac \
    3240                 --without-amr-wb \
    3341                 --without-amr-nb
    3442
    3543build.env        ${configure.env}
    3644
    3745destroot.destdir prefix=${destroot}${prefix}
    38 
    39 variant vorbis description {Enable Ogg Vorbis audio support} {
    40         configure.args-delete --without-ogg
    41         depends_lib-append    port:libvorbis
    42 }
    43 
    44 variant mad description {Enable MAD (MPEG audio decoder) support} {
    45         configure.args-delete --without-mad
    46         depends_lib-append    port:libmad
    47 }
    48 
    49 variant lame description {Enable LAME MP3 encoder support} {
    50         configure.args-delete --without-lame
    51         depends_lib-append    port:lame
    52 }
    53 
    54 variant flac description {Enable FLAC audio support} {
    55     configure.args-delete --without-flac
    56         depends_lib-append    port:flac
    57 }
    58 
    59 variant ffmpeg description {Enable ffmpeg support} {
    60     configure.args-delete --without-ffmpeg
    61         depends_lib-append    port:ffmpeg
    62 }