1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

New port openal, a 3D sound library.

This commit is contained in:
Thomas Gellekum 2000-09-26 12:12:49 +00:00
parent 22d7e4fb58
commit 4d27f73f4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33138
9 changed files with 97 additions and 0 deletions

View File

@ -93,6 +93,7 @@
SUBDIR += napster
SUBDIR += nas
SUBDIR += nspmod
SUBDIR += openal
SUBDIR += opennap
SUBDIR += p5-MP3-ID3v1Tag
SUBDIR += pimp3

26
audio/openal/Makefile Normal file
View File

@ -0,0 +1,26 @@
# New ports collection makefile for: openal
# Date created: 25 September 2000
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= openal
PORTVERSION= 20000908
CATEGORIES= audio
MASTER_SITES= ftp://ftp.openal.org/
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}/linux
USE_AUTOCONF= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
post-patch:
for file in $$(find ${WRKSRC} -name Makefile.in); \
do \
perl -pi -e 's/-g -c/-c/g' $${file}; \
done
.include <bsd.port.mk>

1
audio/openal/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (openal-20000908.tar.gz) = f8940f253b738a4c29f2d3dc09fb4936

View File

@ -0,0 +1,11 @@
--- configure.in~ Sat Sep 9 00:15:48 2000
+++ configure.in Mon Sep 25 18:53:56 2000
@@ -111,7 +111,7 @@
AC_CHECK_LIB(m, sin, LIBS="$LIBS -lm", echo "I'm afraid you'll need libm."; exit 1)
dnl Should be allow dlopen of extensions?
-AC_CHECK_LIB(dl, dlopen, LIBS="$LIBS -ldl", AC_DEFINE(NODLOPEN) echo "Can't dlopen extensions." )
+AC_CHECK_FUNC(dlopen, [], AC_CHECK_LIB(dl, dlopen, LIBS="$LIBS -ldl", AC_DEFINE(NODLOPEN) echo "Can't dlopen extensions." ))
dnl Special OS objs for target systems
case "$target" in

View File

@ -0,0 +1,22 @@
--- src/alc/alc_context.c~ Tue Aug 1 02:10:18 2000
+++ src/alc/alc_context.c Mon Sep 25 19:20:23 2000
@@ -65,7 +65,7 @@
static ALCenum _alcDestroyContext(AL_context *cc);
static void _alcReallocContexts(ALuint newsize);
static int _alcCidToIndex(ALuint cid);
-static ALuint _alcIndexToCid(int index);
+static ALuint _alcIndexToCid(int idx);
#ifdef JLIB
unsigned int jlib_debug = 0;
@@ -777,8 +777,8 @@
return cid - CONTEXT_BASE;
}
-static ALuint _alcIndexToCid(int index) {
- return index + CONTEXT_BASE;
+static ALuint _alcIndexToCid(int idx) {
+ return idx + CONTEXT_BASE;
}
/*

View File

@ -0,0 +1,11 @@
--- src/threads/posixthreads.c~ Mon Aug 28 19:14:08 2000
+++ src/threads/posixthreads.c Mon Sep 25 19:17:19 2000
@@ -82,7 +82,7 @@
}
extern unsigned int Posix_SelfThread(void) {
- return (unsigned int) pthread_self();
+ return (unsigned long)(unsigned long *) pthread_self();
}
extern void Posix_ExitThread(UNUSED(int retval)) {

1
audio/openal/pkg-comment Normal file
View File

@ -0,0 +1 @@
A 3D positional spatialized sound library

10
audio/openal/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
The idea behind OpenAL is a 3d positional spatialized sound library analogous
to OpenGL: instead of micromanaging each aspect of sound playback and effect,
the application writer may limit themselves to placing the sounds in the
scene and letting the native OpenAL implementation determine the correct
amount of pitch alteration, gain attenuation, phase shift, etc, required to
render the sounds correctly.
That's the goal, anyway.
WWW: http://www.openal.org/

14
audio/openal/pkg-plist Normal file
View File

@ -0,0 +1,14 @@
include/AL/al.h
include/AL/alc.h
include/AL/alu.h
include/AL/alut.h
include/AL/altypes.h
include/AL/alctypes.h
include/AL/alutypes.h
include/AL/aluttypes.h
include/AL/alkludge.h
include/AL/alkludgetypes.h
lib/libopenal.so
lib/libopenal.so.0
lib/libopenal.so.0.0.4
@dirrm include/AL