diff options
author | wiz <wiz@pkgsrc.org> | 2007-02-22 23:23:03 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-02-22 23:23:03 +0000 |
commit | 3f2b7945799587183c42bf759701c5b151bda036 (patch) | |
tree | 244bede3f889f721b0ed284a67b7d388d3bdd91c /audio/sox/Makefile | |
parent | 8ae176545ba977ed4edf503b20a7d52dd6faf2fe (diff) | |
download | pkgsrc-3f2b7945799587183c42bf759701c5b151bda036.tar.gz |
Update to 13.0.0:
Note: flac support is not enabled because sox-13.0.0 only supports
the old obsolete API; pkgsrc has newer flac.
sox-13.0.0
----------
File formats:
o Support for .caf, .paf, .fap, .nist, .w64, .nist, Matlab 4.2/5.0
(Octave 2.0/2.1), .pvf, .sds, .sd2 and .xi file formats via libsndfile.
If available, libsndfile can also be used to handle all the other file
formats it understands. (Reuben Thomas)
o Add FLAC support (robs@users.sf.net)
o Support Maxis's XA format. (Dwayne C. Litzenberger)
o Add support for 24-bit PCM raw, wav (WAVE_FORMAT_EXTENSIBLE) [FR# 801015],
au, aiff, & flac files. (robs)
o Add AIFF-C output support. (shashimoto)
o New .ima file format for raw IMA ADPCM. (robs)
o Allow the rate and number of channels of .au files to be overridden
by command-line arguments. (robs@users.sf.net)
o Add seek support for GSM data in WAV files. Rafal Maszkowski
o Allow encoding quality to be specified (FLAC & Ogg, but not
MP3 yet). (robs)
o Rename -b to -1, -w to -2, -l to -4, -d to -8, and mask to dither.
(robs)
o New options for specifying endianness (and separate options for
nibble & bit reversal) [FR# 1621702]. (robs)
o Improved multi-channel file reading; fixes [1599990]. (robs)
Effects:
o Equalizer effect (Pascal Giard)
o bass and treble altering effects. (robs)
o New optional rabbit resample routine, using libsamplerate
(aka Secret Rabbit Code). (Reuben Thomas)
o Added allpass filter effect. (robs)
o Documented the butterworth filter effects; added variable Q. (robs)
o "rate" effect made an alias for "resample".
o Visualisation of various filters' frequency response via Octave. (robs)
o Can now specify width of many 2nd-order filters as: Hz, octaves,
or Q. (robs)
o Dither/mask amount now specifiable. (robs)
o Consistent (and hopefully complete) clipping detection and
reporting. (robs)
o Allow command-line time parameters of < 1 sec to omit the
leading 0. (robs)
o Improved synth usage and improved the synth entry in the man-
page. (robs)
o Higher quality audio speed adjustment; also fixes [1155364]. (robs)
o Replacement flanger effect; also fixes [1393245]. (robs)
o Added silence padding effect. (robs)
o Added ability for noiseprof to use stdout and noisered to use stdin
[FR# 1621694]. (Reuben Thomas)
o vibro effect name deprecated in favour of tremolo; this effect
reimplemented as a special case of synth. (robs)
Other new features:
o Remove soxmix. (Reuben Thomas)
o Preview mode now removed, as all it did was use rate rather than
resample, and rate has been removed.
o -V now gives only user-relevant messages, use -V -V to get
developer-relevant messages. (robs)
o -V output much improved and expanded; now includes display of
(auto-)selected effects. (robs)
o sox man-page overhaul, new soxexam man-page entries. (robs)
o Added command line options for specifying the output file
comment. (robs)
o Added ability to merge e.g. 2 mono files to 1 stereo file
[FR# 1297076]. (robs)
o Removed the restrictions whereby multiple input files had to have
the same data encoding & size, and in most situations where they
had to have the same # of channels, and for play where they had
to have the same sampling-rate. (robs)
o Options to apply replay-gain on input; enabled by default
with `play'. (robs)
o Can now use Ctrl-C to skip to next track when playing multiple
files (e.g. play *.mp3); Ctrl-C twice to exit. (robs)
o Added --interactive option to prompt to overwrite pre-existing
output file. (robs)
o Added large file support. (Reuben Thomas)
Bug fixes:
o Fix writing MP3 files on AMD64 processors.
o More fixes to MP3 tag reading. Sometimes tags were
detected as valid MP3 frames.
o Fix to stop, avoiding a crash, when starting of effects fails.
(Reuben Thomas)
o Fixed a bug introduced in 12.18.2 that stopped the draining
of effects from occuring. This had stopped the reverse effect,
among others, from working. (Reuben Thomas)
o Several effects are now optimised out in situations where they need
do nothing, e.g. changing rate from 8000 to 8000, or changing volume
by 0dB [Bug# 1395781]. (robs)
o Fix rounding error when reading command-line time
parameters. (robs)
o Fix nul file hander ignoring other format options if rate
option has not been given. (robs)
o Fix synth length accuracy. (robs)
o Fix broken audio when downmixing with any of the following
effects: synth, deemph, vibro. (robs)
o Fixed deemph & earwax effects to work with MP3, vorbis,
& FLAC. (robs)
o Fix wav file handler discarding the last PCM sample in certain
circumstances. (robs)
o Fix [1627972] AIFF read bug when MARK chunk present. (Richard Fuller)
o Fix [1160154] VOX to WAV conversion problem. (robs)
o Removed (for output file only) the potentially
problematic -v option. Use the vol effect instead. (robs)
o Improved the accuracy of integer and floating point PCM
conversions. (robs)
o Don't go into a loop on zero-padded WAVs. (Jorge Serna)
o Fix to AIFF writing to avoid writing invalid files in some situations.
(Reuben Thomas)
o Fix compander effect bugs: [1613030] Compand fails to compress
clipping, [1181423] compand with 0 sec attack/release. (robs)
Internal improvements:
o More and better self-tests. (robs@users.sf.net)
o Build system overhaul to use the full set of GNU autotools.
(Reuben Thomas)
o Add new getopt1.c to win32 project file.
o Remove old, optional rate change and alaw/ulaw conversion code.
(Reuben Thomas)
o Removed the old internally invoked (but mentioned in the man page)
copy effect. (robs)
sox-12.18.2
-----------
o Adding in Debian's disk full fix (#313206).
o Finally got rid of reference to cleanup() function in
library. Applications are now required to detect
all failures from return codes and cleanup as they
want.
o Changed how list of formats and effects are stored internally.
Effects libst users only. Dirk
o Store effects usage so that its accessable by applications.
Dirk
o Modify the synth effect to not use SIGINT to stop processing
and instead return ST_EOF. This allows exact acount of
samples to be written out instead of an approximate amount.
o Fix hangup when attempting to write stereo MP3 files.
(1512218) Kendrick Shaw
o Deemp effect would lose stereo separation. (1479249)
o Adding cross-platform support for getopt_long
o Make help screens print much more information and add
new --help-effect option. (Originally from Dirk).
o Add support for using an external gsm library instead of
just the internal one. Vladimir Nadvornik
o Updates to nul file handler to prevent crashes during output.
Martin Panter (1482869)
Diffstat (limited to 'audio/sox/Makefile')
-rw-r--r-- | audio/sox/Makefile | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/audio/sox/Makefile b/audio/sox/Makefile index f1f23714ed7..6c939b8fb46 100644 --- a/audio/sox/Makefile +++ b/audio/sox/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.39 2006/09/03 00:26:20 ben Exp $ +# $NetBSD: Makefile,v 1.40 2007/02/22 23:23:03 wiz Exp $ -DISTNAME= sox-12.18.1 +DISTNAME= sox-13.0.0 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/} \ http://www.cnpbagwell.com/ @@ -10,25 +10,26 @@ HOMEPAGE= http://sox.sourceforge.net/ COMMENT= SOund eXchange - universal sound sample translator PKG_INSTALLATION_TYPES= overwrite pkgviews - -.include "../../mk/bsd.prefs.mk" - GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-fast-ulaw -CONFIGURE_ARGS+= --enable-fast-alaw -.if ${OPSYS} != "DragonFly" && ${OPSYS} != "FreeBSD" -CONFIGURE_ARGS+= --disable-oss-dsp -.endif -CONFIGURE_ARGS+= --with-ogg-vorbislib=${BUILDLINK_PREFIX.libvorbis}/lib -CONFIGURE_ARGS+= --with-ogg-vorbisinc=${BUILDLINK_PREFIX.libvorbis}/include - -PLIST_SRC= ${PKGDIR}/PLIST.common - -.if ${OPSYS} != "Interix" && ${OPSYS} != "Darwin" -CONFIGURE_ARGS+= --with-sun-audio -PLIST_SRC+= ${PKGDIR}/PLIST.play -.endif - -.include "../../audio/libvorbis/buildlink3.mk" +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config + +SUBST_CLASSES+= lrf +SUBST_FILES.lrf= src/libst-config.in +SUBST_SED.lrf= -e "s!@LRF@!"${LINKER_RPATH_FLAG:Q}"!" +SUBST_STAGE.lrf= pre-configure + +SUBST_CLASSES+= gsm +SUBST_FILES.gsm= configure src/gsm.c src/wav.c +SUBST_SED.gsm= -e "s!gsm/gsm.h!gsm.h!" +SUBST_STAGE.gsm= pre-configure + +# needs obsolete FLAC API +#.include "../../audio/flac/buildlink3.mk" +.include "../../audio/gsm/buildlink3.mk" +.include "../../audio/lame/buildlink3.mk" .include "../../audio/libmad/buildlink3.mk" +.include "../../audio/libsndfile/buildlink3.mk" +.include "../../audio/libsamplerate/buildlink3.mk" +.include "../../audio/libvorbis/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |