ports/95193: new-port audio/freealut

Oliver Lehmann oliver at FreeBSD.org
Sat Apr 1 09:50:20 UTC 2006


>Number:         95193
>Category:       ports
>Synopsis:       new-port audio/freealut
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 01 09:50:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Lehmann
>Release:        FreeBSD 6.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD kartoffel.salatschuessel.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Fri Feb 24 09:31:27 CET 2006 olivleh1 at kartoffel.salatschuessel.net:/usr/obj/amd64-athlon64-6.1/usr/src/sys/KARTOFFEL amd64


>Description:
	port audio/freealut
>How-To-Repeat:
>Fix:


--- freealut.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	audio/freealut/
#	audio/freealut/files
#	audio/freealut/files/patch-src_alutInit.c
#	audio/freealut/files/patch-src_alutInternal.h
#	audio/freealut/files/patch-src_alutUtil.c
#	audio/freealut/pkg-descr
#	audio/freealut/Makefile
#	audio/freealut/distinfo
#	audio/freealut/pkg-plist
#
echo c - audio/freealut/
mkdir -p audio/freealut/ > /dev/null 2>&1
echo c - audio/freealut/files
mkdir -p audio/freealut/files > /dev/null 2>&1
echo x - audio/freealut/files/patch-src_alutInit.c
sed 's/^X//' >audio/freealut/files/patch-src_alutInit.c << 'END-of-audio/freealut/files/patch-src_alutInit.c'
X--- src/alutInit.c.orig	Wed Mar  8 16:40:26 2006
X+++ src/alutInit.c	Wed Mar  8 16:41:23 2006
X@@ -147,11 +147,7 @@
X       return AL_FALSE;
X     }
X 
X-  if (!alcCloseDevice (device))
X-    {
X-      _alutSetError (ALUT_ERROR_CLOSE_DEVICE);
X-      return AL_FALSE;
X-    }
X+  alcCloseDevice (device);
X 
X   initialisationState = Unintialized;
X   return AL_TRUE;
END-of-audio/freealut/files/patch-src_alutInit.c
echo x - audio/freealut/files/patch-src_alutInternal.h
sed 's/^X//' >audio/freealut/files/patch-src_alutInternal.h << 'END-of-audio/freealut/files/patch-src_alutInternal.h'
X--- src/alutInternal.h.orig	Fri Mar 31 06:15:08 2006
X+++ src/alutInternal.h	Fri Mar 31 06:15:46 2006
X@@ -13,23 +13,8 @@
X 
X #if HAVE_STDINT_H
X #include <stdint.h>
X-#elif _MSC_VER < 1300
X-typedef char int8_t;
X-typedef unsigned char uint8_t;
X-typedef short int16_t;
X-typedef unsigned short uint16_t;
X-typedef int int32_t;
X-typedef unsigned int uint32_t;
X-#elif HAVE_BASETSD_H
X-#include <basetsd.h>
X-typedef INT8 int8_t;
X-typedef UINT8 uint8_t;
X-typedef INT16 int16_t;
X-typedef UINT16 uint16_t;
X-typedef INT32 int32_t;
X-typedef UINT32 uint32_t;
X #else
X-#error Do not know sized types on this platform
X+#include <inttypes.h>
X #endif
X 
X typedef uint16_t UInt16LittleEndian;
END-of-audio/freealut/files/patch-src_alutInternal.h
echo x - audio/freealut/files/patch-src_alutUtil.c
sed 's/^X//' >audio/freealut/files/patch-src_alutUtil.c << 'END-of-audio/freealut/files/patch-src_alutUtil.c'
X--- src/alutUtil.c.orig	Fri Mar 31 14:48:10 2006
X+++ src/alutUtil.c	Fri Mar 31 14:48:22 2006
X@@ -2,6 +2,7 @@
X 
X #if HAVE_NANOSLEEP && HAVE_TIME_H
X #include <time.h>
X+#include <sys/time.h>
X #include <errno.h>
X #elif HAVE_USLEEP && HAVE_UNISTD_H
X #include <unistd.h>
END-of-audio/freealut/files/patch-src_alutUtil.c
echo x - audio/freealut/pkg-descr
sed 's/^X//' >audio/freealut/pkg-descr << 'END-of-audio/freealut/pkg-descr'
Xfreealut is a free implementation of OpenAL's ALUT standard.
X
XWWW: http://www.openal.org/
END-of-audio/freealut/pkg-descr
echo x - audio/freealut/Makefile
sed 's/^X//' >audio/freealut/Makefile << 'END-of-audio/freealut/Makefile'
X# New ports collection makefile for:	freealut
X# Date created:				08 March 2006
X# Whom:					Oliver Lehmann <oliver at FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	freealut
XPORTVERSION=	1.0.1
XCATEGORIES=	audio
XMASTER_SITES=	http://www.openal.org/openal_webstf/downloads/
X
XMAINTAINER=	oliver at FreeBSD.org
XCOMMENT=	The OpenAL Utility Toolkit
X
XLIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
XUSE_GMAKE=	yes
XUSE_GNOME=	pkgconfig gnomehack
XINSTALLS_SHLIB=	yes
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's/@CFLAGS@/& -lopenal ${PTHREAD_LIBS}/g' \
X		${WRKSRC}/examples/Makefile.in \
X		${WRKSRC}/test_suite/Makefile.in
X
X.include <bsd.port.post.mk>
END-of-audio/freealut/Makefile
echo x - audio/freealut/distinfo
sed 's/^X//' >audio/freealut/distinfo << 'END-of-audio/freealut/distinfo'
XMD5 (freealut-1.0.1.tar.gz) = 2df161090428a77660999dd3d12ab65f
XSHA256 (freealut-1.0.1.tar.gz) = 24a76885c2a4239bb3075e29a1f96b180d4e8ff7dd20c20301345c11c1cb9117
XSIZE (freealut-1.0.1.tar.gz) = 455507
END-of-audio/freealut/distinfo
echo x - audio/freealut/pkg-plist
sed 's/^X//' >audio/freealut/pkg-plist << 'END-of-audio/freealut/pkg-plist'
Xbin/freealut-config
Xinclude/AL/alut.h
Xlibdata/pkgconfig/freealut.pc
Xlib/libalut.a
Xlib/libalut.la
Xlib/libalut.so
Xlib/libalut.so.0
X at dirrmtry include/AL
X
END-of-audio/freealut/pkg-plist
exit
--- freealut.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list