1 | # $Id: Portfile 118157 2014-03-24 01:09:19Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name sox |
---|
6 | conflicts play |
---|
7 | version 14.4.2 |
---|
8 | categories audio |
---|
9 | platforms darwin |
---|
10 | maintainers stare.cz:hans |
---|
11 | license GPL-3 |
---|
12 | # SoX itself is GPLv2+, but opencore-amr is Apache, |
---|
13 | # so use GPLv3 to avoid license conflict |
---|
14 | |
---|
15 | description the Swiss Army knife of audio manipulation |
---|
16 | long_description \ |
---|
17 | SoX (also known as Sound eXchange) translates sound samples between \ |
---|
18 | different file formats, and optionally applies various sound effects. \ |
---|
19 | SoX is intended as the Swiss Army knife of sound processing tools. |
---|
20 | |
---|
21 | homepage http://sox.sourceforge.net/ |
---|
22 | master_sites sourceforge:project/sox/sox/${version} |
---|
23 | use_bzip2 yes |
---|
24 | checksums sha1 dc9668256b9d81ef25d672f14f12ec026b0b4087 \ |
---|
25 | rmd160 738ac41a07f74f66e27cd642f786cc5815ca87ff |
---|
26 | |
---|
27 | # replaces wget(1) with ftp(1) |
---|
28 | patchfiles patch-src-formats.c.diff |
---|
29 | |
---|
30 | depends_lib \ |
---|
31 | port:lame \ |
---|
32 | port:libiconv \ |
---|
33 | port:libid3tag \ |
---|
34 | port:libmad \ |
---|
35 | port:libmagic \ |
---|
36 | port:libpng \ |
---|
37 | port:libogg \ |
---|
38 | port:libopus \ |
---|
39 | port:libsndfile \ |
---|
40 | port:libvorbis \ |
---|
41 | port:flac \ |
---|
42 | port:opencore-amr \ |
---|
43 | port:opusfile \ |
---|
44 | port:twolame \ |
---|
45 | port:wavpack \ |
---|
46 | port:zlib |
---|
47 | |
---|
48 | configure.args \ |
---|
49 | --enable-largefile \ |
---|
50 | --disable-openmp \ |
---|
51 | --enable-symlinks \ |
---|
52 | --without-libltdl \ |
---|
53 | --with-distro=macosx \ |
---|
54 | |
---|
55 | # additional formats |
---|
56 | configure.args-append \ |
---|
57 | --with-magic \ |
---|
58 | --with-png \ |
---|
59 | --without-ladspa \ |
---|
60 | --with-mad \ |
---|
61 | --with-id3tag \ |
---|
62 | --with-lame \ |
---|
63 | --with-twolame \ |
---|
64 | --with-oggvorbis \ |
---|
65 | --with-opus \ |
---|
66 | --with-flac \ |
---|
67 | --with-amrwb \ |
---|
68 | --with-amrnb \ |
---|
69 | --with-wavpack \ |
---|
70 | --with-sndfile \ |
---|
71 | --with-mp3 \ |
---|
72 | --with-gsm \ |
---|
73 | --with-lpc10 |
---|
74 | |
---|
75 | # output drivers |
---|
76 | configure.args-append \ |
---|
77 | --with-coreaudio \ |
---|
78 | --without-sndio \ |
---|
79 | --without-alsa \ |
---|
80 | --without-ao \ |
---|
81 | --without-pulseaudio \ |
---|
82 | --without-waveaudio \ |
---|
83 | --without-oss \ |
---|
84 | --without-sunaudio |
---|