mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Add freealut 1.0.1, the OpenAL Utility Toolkit.
PR: ports/95193 Submitted by: Oliver Lehmann <oliver@FreeBSD.org>
This commit is contained in:
parent
77dac30344
commit
70c81dfdc8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160210
@ -147,6 +147,7 @@
|
||||
SUBDIR += flite
|
||||
SUBDIR += fluidsynth
|
||||
SUBDIR += fmio
|
||||
SUBDIR += freealut
|
||||
SUBDIR += freebirth
|
||||
SUBDIR += funktrackergold
|
||||
SUBDIR += gai-album
|
||||
|
31
audio/freealut/Makefile
Normal file
31
audio/freealut/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# New ports collection makefile for: freealut
|
||||
# Date created: 08 March 2006
|
||||
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= freealut
|
||||
PORTVERSION= 1.0.1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://www.openal.org/openal_webstf/downloads/
|
||||
|
||||
MAINTAINER= oliver@FreeBSD.org
|
||||
COMMENT= The OpenAL Utility Toolkit
|
||||
|
||||
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= pkgconfig gnomehack
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/@CFLAGS@/& -lopenal ${PTHREAD_LIBS}/g' \
|
||||
${WRKSRC}/examples/Makefile.in \
|
||||
${WRKSRC}/test_suite/Makefile.in
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
audio/freealut/distinfo
Normal file
3
audio/freealut/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (freealut-1.0.1.tar.gz) = 2df161090428a77660999dd3d12ab65f
|
||||
SHA256 (freealut-1.0.1.tar.gz) = 24a76885c2a4239bb3075e29a1f96b180d4e8ff7dd20c20301345c11c1cb9117
|
||||
SIZE (freealut-1.0.1.tar.gz) = 455507
|
15
audio/freealut/files/patch-src_alutInit.c
Normal file
15
audio/freealut/files/patch-src_alutInit.c
Normal file
@ -0,0 +1,15 @@
|
||||
--- src/alutInit.c.orig Wed Mar 8 16:40:26 2006
|
||||
+++ src/alutInit.c Wed Mar 8 16:41:23 2006
|
||||
@@ -147,11 +147,7 @@
|
||||
return AL_FALSE;
|
||||
}
|
||||
|
||||
- if (!alcCloseDevice (device))
|
||||
- {
|
||||
- _alutSetError (ALUT_ERROR_CLOSE_DEVICE);
|
||||
- return AL_FALSE;
|
||||
- }
|
||||
+ alcCloseDevice (device);
|
||||
|
||||
initialisationState = Unintialized;
|
||||
return AL_TRUE;
|
27
audio/freealut/files/patch-src_alutInternal.h
Normal file
27
audio/freealut/files/patch-src_alutInternal.h
Normal file
@ -0,0 +1,27 @@
|
||||
--- src/alutInternal.h.orig Fri Mar 31 06:15:08 2006
|
||||
+++ src/alutInternal.h Fri Mar 31 06:15:46 2006
|
||||
@@ -13,23 +13,8 @@
|
||||
|
||||
#if HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
-#elif _MSC_VER < 1300
|
||||
-typedef char int8_t;
|
||||
-typedef unsigned char uint8_t;
|
||||
-typedef short int16_t;
|
||||
-typedef unsigned short uint16_t;
|
||||
-typedef int int32_t;
|
||||
-typedef unsigned int uint32_t;
|
||||
-#elif HAVE_BASETSD_H
|
||||
-#include <basetsd.h>
|
||||
-typedef INT8 int8_t;
|
||||
-typedef UINT8 uint8_t;
|
||||
-typedef INT16 int16_t;
|
||||
-typedef UINT16 uint16_t;
|
||||
-typedef INT32 int32_t;
|
||||
-typedef UINT32 uint32_t;
|
||||
#else
|
||||
-#error Do not know sized types on this platform
|
||||
+#include <inttypes.h>
|
||||
#endif
|
||||
|
||||
typedef uint16_t UInt16LittleEndian;
|
10
audio/freealut/files/patch-src_alutUtil.c
Normal file
10
audio/freealut/files/patch-src_alutUtil.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/alutUtil.c.orig Fri Mar 31 14:48:10 2006
|
||||
+++ src/alutUtil.c Fri Mar 31 14:48:22 2006
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
#if HAVE_NANOSLEEP && HAVE_TIME_H
|
||||
#include <time.h>
|
||||
+#include <sys/time.h>
|
||||
#include <errno.h>
|
||||
#elif HAVE_USLEEP && HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
3
audio/freealut/pkg-descr
Normal file
3
audio/freealut/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
freealut is a free implementation of OpenAL's ALUT standard.
|
||||
|
||||
WWW: http://www.openal.org/
|
9
audio/freealut/pkg-plist
Normal file
9
audio/freealut/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
bin/freealut-config
|
||||
include/AL/alut.h
|
||||
libdata/pkgconfig/freealut.pc
|
||||
lib/libalut.a
|
||||
lib/libalut.la
|
||||
lib/libalut.so
|
||||
lib/libalut.so.0
|
||||
@dirrmtry include/AL
|
||||
|
Loading…
Reference in New Issue
Block a user