Ticket #46947: Portfile

File Portfile, 1.8 KB (added by janstary (Jan Starý), 9 years ago)

upgrade to 14.4.2

Line 
1# $Id: Portfile 118157 2014-03-24 01:09:19Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            sox
6conflicts       play
7version         14.4.2
8categories      audio
9platforms       darwin
10maintainers     stare.cz:hans
11license         GPL-3
12# SoX itself is GPLv2+, but opencore-amr is Apache,
13# so use GPLv3 to avoid license conflict
14
15description     the Swiss Army knife of audio manipulation
16long_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
21homepage        http://sox.sourceforge.net/
22master_sites    sourceforge:project/sox/sox/${version}
23use_bzip2       yes
24checksums       sha1    dc9668256b9d81ef25d672f14f12ec026b0b4087 \
25                rmd160  738ac41a07f74f66e27cd642f786cc5815ca87ff
26
27# replaces wget(1) with ftp(1)
28patchfiles      patch-src-formats.c.diff
29
30depends_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
48configure.args  \
49                --enable-largefile      \
50                --disable-openmp        \
51                --enable-symlinks       \
52                --without-libltdl       \
53                --with-distro=macosx    \
54
55# additional formats
56configure.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
76configure.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