| 1 | # $Id: |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | |
|---|
| 5 | name sox |
|---|
| 6 | version 14.2.0 |
|---|
| 7 | categories audio |
|---|
| 8 | maintainers jmpoure |
|---|
| 9 | description SOund eXchange - universal sound sample translator |
|---|
| 10 | long_description \ |
|---|
| 11 | SoX (also known as Sound eXchange) translates sound samples between \ |
|---|
| 12 | different file formats, and optionally applies various sound \ |
|---|
| 13 | effects. SoX is intended as the Swiss Army knife of sound processing \ |
|---|
| 14 | tools. It doesn't do anything very well, but sooner or later it \ |
|---|
| 15 | comes in very handy. |
|---|
| 16 | homepage http://sox.sourceforge.net/ |
|---|
| 17 | platforms darwin |
|---|
| 18 | |
|---|
| 19 | depends_build port:pkgconfig |
|---|
| 20 | |
|---|
| 21 | depends_lib port:libao \ |
|---|
| 22 | port:libsndfile \ |
|---|
| 23 | port:libid3tag \ |
|---|
| 24 | port:libsamplerate \ |
|---|
| 25 | port:libvorbis \ |
|---|
| 26 | port:ffmpeg \ |
|---|
| 27 | port:libmad \ |
|---|
| 28 | port:flac |
|---|
| 29 | |
|---|
| 30 | master_sites sourceforge |
|---|
| 31 | checksums md5 7afc0e85d14be014f08e7d3b7ee8c24e \ |
|---|
| 32 | sha1 1b60e5af43f44a51247fb978f2423f0de7e27363 \ |
|---|
| 33 | rmd160 7c76a2db5c5838fc3d9f8b5402e47d548fd094d5 |
|---|
| 34 | |
|---|
| 35 | configure.args --mandir=\\\${prefix}/share/man \ |
|---|
| 36 | --enable-lame \ |
|---|
| 37 | --enable-ogg \ |
|---|
| 38 | --enable-ffmpeg \ |
|---|
| 39 | --enable-mad \ |
|---|
| 40 | --enable-flac \ |
|---|
| 41 | --without-amr-wb \ |
|---|
| 42 | --without-amr-nb |
|---|
| 43 | |
|---|
| 44 | build.env ${configure.env} |
|---|
| 45 | |
|---|
| 46 | destroot.destdir prefix=${destroot}${prefix} |
|---|
| 47 | |
|---|
| 48 | variant no_gpl description {disallow use of GPL code, license will be LGPL if +no_nonfree is selected} { |
|---|
| 49 | configure.args-delete --enable-lame |
|---|
| 50 | depends_build-delete port:lame |
|---|
| 51 | configure.args-delete --enable-ogg |
|---|
| 52 | depends_build-delete port:libvorbis |
|---|
| 53 | configure.args-delete --enable-ffmpeg |
|---|
| 54 | depends_build-delete port:ffmpeg |
|---|
| 55 | configure.args-delete --enable-mad |
|---|
| 56 | depends_build-delete port:libmad |
|---|
| 57 | configure.args-delete --enable-flac |
|---|
| 58 | depends_build-delete port:flac |
|---|
| 59 | } |
|---|
| 60 | |
|---|