Audiere is a high-level audio API. It can play Ogg Vorbis, MP3,
FLAC, uncompressed WAV, AIFF, MOD, S3M, XM, and IT files. For audio
output, Audiere supports DirectSound or WinMM in Windows, OSS on
Linux and Cygwin, and SGI AL on IRIX.
Audiere is open source and licensed under the LGPL. This means that
you may freely use Audiere in commercial products, as long as you
do not modify the source code. If you do modify Audiere and release
a product that uses your modifications, you must release your changes
to the code under the LGPL as well.
Audiere is portable. It is tested on Windows, Linux-i386, Cygwin,
and IRIX with at least three major compilers. Most of Audiere is
endian-independent, so I expect it would work with few modifications
on other architectures.
WWW: http://audiere.sourceforge.net/
PR: ports/124710
Approved by: miwi (mentor)
2008-06-23 12:10:09 +02:00
|
|
|
# New ports collection makefile for: audiere
|
|
|
|
# Date created: 12 Sep 2007
|
|
|
|
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= audiere
|
|
|
|
PORTVERSION= 1.9.4
|
2010-09-15 20:35:24 +02:00
|
|
|
PORTREVISION= 3
|
Audiere is a high-level audio API. It can play Ogg Vorbis, MP3,
FLAC, uncompressed WAV, AIFF, MOD, S3M, XM, and IT files. For audio
output, Audiere supports DirectSound or WinMM in Windows, OSS on
Linux and Cygwin, and SGI AL on IRIX.
Audiere is open source and licensed under the LGPL. This means that
you may freely use Audiere in commercial products, as long as you
do not modify the source code. If you do modify Audiere and release
a product that uses your modifications, you must release your changes
to the code under the LGPL as well.
Audiere is portable. It is tested on Windows, Linux-i386, Cygwin,
and IRIX with at least three major compilers. Most of Audiere is
endian-independent, so I expect it would work with few modifications
on other architectures.
WWW: http://audiere.sourceforge.net/
PR: ports/124710
Approved by: miwi (mentor)
2008-06-23 12:10:09 +02:00
|
|
|
CATEGORIES= audio
|
2009-08-27 17:04:16 +02:00
|
|
|
MASTER_SITES= SF
|
Audiere is a high-level audio API. It can play Ogg Vorbis, MP3,
FLAC, uncompressed WAV, AIFF, MOD, S3M, XM, and IT files. For audio
output, Audiere supports DirectSound or WinMM in Windows, OSS on
Linux and Cygwin, and SGI AL on IRIX.
Audiere is open source and licensed under the LGPL. This means that
you may freely use Audiere in commercial products, as long as you
do not modify the source code. If you do modify Audiere and release
a product that uses your modifications, you must release your changes
to the code under the LGPL as well.
Audiere is portable. It is tested on Windows, Linux-i386, Cygwin,
and IRIX with at least three major compilers. Most of Audiere is
endian-independent, so I expect it would work with few modifications
on other architectures.
WWW: http://audiere.sourceforge.net/
PR: ports/124710
Approved by: miwi (mentor)
2008-06-23 12:10:09 +02:00
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= High-level audio API
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
WANT_WX= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf
|
Audiere is a high-level audio API. It can play Ogg Vorbis, MP3,
FLAC, uncompressed WAV, AIFF, MOD, S3M, XM, and IT files. For audio
output, Audiere supports DirectSound or WinMM in Windows, OSS on
Linux and Cygwin, and SGI AL on IRIX.
Audiere is open source and licensed under the LGPL. This means that
you may freely use Audiere in commercial products, as long as you
do not modify the source code. If you do modify Audiere and release
a product that uses your modifications, you must release your changes
to the code under the LGPL as well.
Audiere is portable. It is tested on Windows, Linux-i386, Cygwin,
and IRIX with at least three major compilers. Most of Audiere is
endian-independent, so I expect it would work with few modifications
on other architectures.
WWW: http://audiere.sourceforge.net/
PR: ports/124710
Approved by: miwi (mentor)
2008-06-23 12:10:09 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include/speex -I${LOCALBASE}/include" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
|
|
|
|
|
|
|
|
PORTDOCS= changelog.txt cvs.txt dependencies.txt faq.txt glossary.txt \
|
|
|
|
license.txt overview.txt readme.txt release-howto.txt \
|
|
|
|
tutorial.txt
|
|
|
|
|
|
|
|
CONFIGURE_REPLACES='s|wx_config|no_&|'
|
|
|
|
|
|
|
|
OPTIONS= DUMB "Enable DUMB support" on \
|
|
|
|
CDAUDIO "Enable libcdaudio support" on \
|
|
|
|
VORBIS "Enable ogg vorbis support" on \
|
|
|
|
SPEEX "Enable speex support" on
|
|
|
|
# FLAC "Enable FLAC support" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# Broken with recent FLAC
|
|
|
|
#.if !defined(WITHOUT_FLAC)
|
|
|
|
#LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac
|
|
|
|
#.else
|
|
|
|
CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|FLAC|no_&|'
|
|
|
|
#.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_DUMB)
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libdumb.a:${PORTSDIR}/audio/dumb
|
|
|
|
.else
|
|
|
|
CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|dumb|no_&|'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_CDAUDIO)
|
|
|
|
LIB_DEPENDS+= cdaudio.1:${PORTSDIR}/audio/libcdaudio
|
|
|
|
.else
|
|
|
|
CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|cdaudio|no_&|'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_VORBIS)
|
|
|
|
LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis \
|
2010-06-06 22:44:03 +02:00
|
|
|
ogg.7:${PORTSDIR}/audio/libogg
|
Audiere is a high-level audio API. It can play Ogg Vorbis, MP3,
FLAC, uncompressed WAV, AIFF, MOD, S3M, XM, and IT files. For audio
output, Audiere supports DirectSound or WinMM in Windows, OSS on
Linux and Cygwin, and SGI AL on IRIX.
Audiere is open source and licensed under the LGPL. This means that
you may freely use Audiere in commercial products, as long as you
do not modify the source code. If you do modify Audiere and release
a product that uses your modifications, you must release your changes
to the code under the LGPL as well.
Audiere is portable. It is tested on Windows, Linux-i386, Cygwin,
and IRIX with at least three major compilers. Most of Audiere is
endian-independent, so I expect it would work with few modifications
on other architectures.
WWW: http://audiere.sourceforge.net/
PR: ports/124710
Approved by: miwi (mentor)
2008-06-23 12:10:09 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|vorbis|no_&|'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_SPEEX)
|
|
|
|
LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex
|
|
|
|
.else
|
|
|
|
CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|speex|no_&|'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} ${CONFIGURE_REPLACES:C/.*/-e &/} \
|
|
|
|
-e 's|-lpthread|${PTHREAD_LIBS}|' \
|
|
|
|
${WRKSRC}/configure.in
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|