d8e0057f8d
o Christian Weisgerber sent patches to man page fixes and patches for sunaudio driver on openbsd. o Default volume for soxmix wrongly set to 0 instead of 1/#_input_files (float rounding error). o Update to ALSA driver to do a better job of detecting unsupported sample rate/size/encoding and change to a supported one. o Fix bug in alsa writing were last last partial buffer wasn't being flushed. o Guentcho Skordev pointed out ogg vorbis files were using the same value for serial numbers each time. o Changed sox to only read the exact size of a WAV data chunk if cooledit IFF LIST chunk is found at the end of the file. Normally, this isn't done to allow reading > 2gig WAV files. o Modified configure to detect cygwin compiler after detecting gcc compiler (fixes some default CFLAGS options). o Added explicit rule for compile *.o from *.c so that CPPFLAGS is always referenced. Not all platform's default rule includes CPPFLAGS (FreeBSD). o Under linux, add include path to /lib/modules/* so that ALSA include files can be auto detected. o Ian Turner added an effect to remove noise from an audio file by first profiling silent periods of the audio to determine what the noise is (like background hiss on cassette tapes).
32 lines
922 B
Makefile
32 lines
922 B
Makefile
# $NetBSD: Makefile,v 1.33 2005/06/24 20:50:31 wiz Exp $
|
|
|
|
DISTNAME= sox-12.17.7
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/} \
|
|
http://www.cnpbagwell.com/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://sox.sourceforge.net/
|
|
COMMENT= SOund eXchange - universal sound sample translator
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --enable-fast-ulaw
|
|
CONFIGURE_ARGS+= --enable-fast-alaw
|
|
CONFIGURE_ARGS+= --disable-oss-dsp
|
|
CONFIGURE_ARGS+= --with-ogg-vorbislib=${BUILDLINK_PREFIX.libvorbis}/lib
|
|
CONFIGURE_ARGS+= --with-ogg-vorbisinc=${BUILDLINK_PREFIX.libvorbis}/include
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.common
|
|
|
|
.if ${OPSYS} != "Interix"
|
|
CONFIGURE_ARGS+= --with-sun-audio
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.play
|
|
.endif
|
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|