openbsd-ports/audio/sox/Makefile

67 lines
1.5 KiB
Makefile
Raw Normal View History

2009-11-08 09:56:33 -05:00
# $OpenBSD: Makefile,v 1.43 2009/11/08 14:56:33 naddy Exp $
1998-05-16 21:05:56 -04:00
COMMENT= Sound eXchange, the Swiss Army knife of audio manipulation
DISTNAME= sox-14.3.0
SHARED_LIBS += sox 1.0 # .1.0
1998-05-16 21:05:56 -04:00
CATEGORIES= audio
HOMEPAGE= http://sox.sourceforge.net/
2000-09-10 12:05:01 -04:00
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
2005-02-22 17:04:41 -05:00
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
2005-02-22 17:04:41 -05:00
PERMIT_DISTFILES_FTP= Yes
2000-03-07 00:00:49 -05:00
2006-07-13 03:43:40 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/}
# see CONFIGURE_ARGS below
LIB_DEPENDS= vorbis.>=6,vorbisenc.>=2,vorbisfile.>=5::audio/libvorbis \
FLAC.>=9::audio/flac \
magic.>=1::devel/libmagic \
mad.>=2::audio/libmad \
id3tag.>=3::audio/libid3tag \
mp3lame.>=2::audio/lame \
2009-01-11 12:33:56 -05:00
wavpack.>=0::audio/wavpack \
png.>=8::graphics/png \
gsm.>=1::audio/gsm
WANTLIB= c iconv m ogg sndio z
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-silent-libtool
# Don't use modules
CONFIGURE_ARGS+=--without-libltdl
# Sound drivers
CONFIGURE_ARGS+=--without-ao \
--without-oss \
--with-sndio \
--without-sunaudio
# Additional file formats
CONFIGURE_ARGS+=--without-sndfile \
--with-oggvorbis \
--with-flac \
--without-ffmpeg \
--with-magic \
--with-mad \
--with-id3tag \
--with-lame \
--without-amrwb \
--without-amrnb \
2009-01-11 12:33:56 -05:00
--with-wavpack \
--with-png \
--without-ladspa
CONFIGURE_ENV= \
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${WRKBUILD}/src/.libs -L${LOCALBASE}/lib"
do-regress:
@cd ${WRKSRC}/src && ./tests.sh && ./testall.sh
1998-05-16 21:05:56 -04:00
.include <bsd.port.mk>