Below is an update to audio/sox which

- fixes checksums
- changes the description to the author's original
- fixes a hidden dependency on audio/opencore-amr
- fixes a hidden dependency on audio/lame
- fixes a hidden dependency on audio/libogg
- fixes a hidden dependency on archivers/zlib
- fixes a hidden dependency on textproc/libiconv
- gives explicit ./configure args to prevent further hidden deps
- drops needless dependency on libao (we use coreaudio of course)
- drops dependency on libsamplerate which the build does not
  pick up, and doesn't have an explicit ./configure arg for
- drops the dependency on ffmpeg, which in turn depends on the
  whole xorg-* world, thus turning a neat little audio app into
  a monstrous dependency hog; the ffmpeg build is left as a variant

What do audio/sox users think?
What does the maintainer think?

        Jan



# $Id: Portfile 84602 2011-09-28 20:02:08Z ryandes...@macports.org $

PortSystem 1.0

name             sox
version          14.3.2
categories       audio
platforms        darwin
maintainers      davidfavor.com:david

description      the Swiss Army knife of audio manipulation
long_description \
        SoX (also known as Sound eXchange) translates sound samples between \
        different file formats, and optionally applies various sound \
        effects. SoX is intended as the Swiss Army knife of sound processing \
        tools. It doesn't do anything very well, but sooner or later it \
        comes in very handy.

homepage         http://sox.sourceforge.net/
master_sites     sourceforge:project/sox/sox/${version}

depends_lib     port:libsndfile         \
                port:libid3tag          \
                port:libvorbis          \
                port:libogg             \
                port:libmad             \
                port:lame               \
                port:flac               \
                port:wavpack            \
                port:opencore-amr       \
                port:file               \
                port:libpng             \
                port:libiconv           \
                port:zlib

checksums        sha1    ad462114ff47b094078f18148bc9e29e31b42b92 \
                 rmd160  5b8e86bd64ade2d9534993317474c33b41090183

configure.args                  \
        --enable-largefile      \
        --enable-symlinks       \
        --disable-gomp          \
        --without-libltdl       \
        --without-ffmpeg        \
        --with-magic            \
        --with-png              \
        --without-ladspa        \
        --with-gsm              \
        --with-lpc10            \
        --with-mad              \
        --with-mp3              \
        --with-id3tag           \
        --with-lame             \
        --with-oggvorbis        \
        --with-flac             \
        --with-amrwb            \
        --with-amrnb            \
        --with-wavpack          \
        --with-sndfile          \
        --with-coreaudio        \
        --without-sndio         \
        --without-alsa          \
        --without-ao            \
        --without-pulseaudio    \
        --without-waveaudio     \
        --without-oss           \
        --without-sunaudio


variant ffmpeg description {Build with ffmpeg support} {
        depends_lib-append      port:ffmpeg
        configure.args-append   --with-ffmpeg
}

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to