f450f2fb5e
* src/al_debug.c: Fix an implicit declaration: the man page on linux says that vsnprintf() is a GNU extension, so #define _GNU_SOURCE * src/arch/sdl/sdl.c: #include <string.h> to avoid implicit declaration of memcpy()/memset() * audioconvert/ac_freq.c For the first sample in a chunk to be resampled*2, use dampened extrapolation instead of interpolation to somewhat reduce 'clicking'. * Michel Danzer's big endian patch * audioconvert/ac_freq.c Added Adam Moss's patch to improve fidelity of low-sampled sounds in higher sampling-rate environments. PR: 59340 Submitted by: maintainer
33 lines
804 B
Makefile
33 lines
804 B
Makefile
# New ports collection makefile for: openal
|
|
# Date created: 25 September 2000
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= openal
|
|
PORTVERSION= 20031116
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://math.smsu.edu/~erik/files/fbsd/\
|
|
http://www.smluc.org/~erik/files/fbsd/
|
|
|
|
MAINTAINER= erik@smluc.org
|
|
COMMENT= A 3D positional spatialized sound library
|
|
|
|
INFO= openal
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/linux
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
USE_GMAKE= yes
|
|
INSTALLS_SHLIB= yes
|
|
USE_REINPLACE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s/-pthread/${PTHREAD_LIBS}/" ${WRKSRC}/configure
|
|
|
|
pre-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/openal.info ${PREFIX}/info
|
|
@install-info ${PREFIX}/info/openal.info ${PREFIX}/info/dir
|
|
|
|
.include <bsd.port.mk>
|