1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= OpenAL Utility Toolkit (ALUT)
8 HOMEPAGE= http://www.openal.org/
12 SITES[main]= http://ravenports.elderlinux.org/distcache/
13 https://cdn.openbsd.org/pub/OpenBSD/distfiles/
14 https://src.fedoraproject.org/repo/pkgs/freealut/freealut-1.1.0.tar.gz/e089b28a0267faabdb6c079ee173664a/
15 DISTFILE[1]= freealut-1.1.0.tar.gz:main
17 SPKGS[standard]= single
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= openal:dev:standard
23 BUILDRUN_DEPENDS= openal:primary:standard
25 USES= gmake libtool pkgconfig fbsd10fix mbsdfix
27 LICENSE= LGPL20:single
28 LICENSE_TERMS= single:{{WRKDIR}}/TERMS
29 LICENSE_FILE= LGPL20:{{WRKSRC}}/COPYING
30 LICENSE_AWK= TERMS:"^Portability"
31 LICENSE_SOURCE= TERMS:{{WRKSRC}}/README
34 FPC_EQUIVALENT= audio/freealut
38 INSTALL_TARGET= install-strip
42 ${REINPLACE_CMD} -e 's/@CFLAGS@/& -lopenal -lpthread/g' \
43 ${WRKSRC}/examples/Makefile.in ${WRKSRC}/test_suite/Makefile.in
45 [FILE:72:descriptions/desc.single]
46 freealut is a free implementation of the OpenAL Utility Toolkit (ALUT).
50 60d1ea8779471bb851b89b49ce44eecb78e46265be1a6e9320a28b100c8df44f 461830 freealut-1.1.0.tar.gz
53 [FILE:142:manifests/plist.single]
59 libalut.so.%%SOMAJOR%%
60 libalut.so.%%SOVERSION%%
61 lib/pkgconfig/freealut.pc
64 [FILE:344:patches/patch-src_alutInit.c]
65 --- src/alutInit.c.orig 2006-05-08 09:28:07 UTC
67 @@ -147,11 +147,7 @@ alutExit (void)
71 - if (!alcCloseDevice (device))
73 - _alutSetError (ALUT_ERROR_CLOSE_DEVICE);
76 + alcCloseDevice (device);
78 initialisationState = Unintialized;
82 [FILE:637:patches/patch-src_alutInternal.h]
83 --- src/alutInternal.h.orig 2006-05-08 09:28:07 UTC
84 +++ src/alutInternal.h
89 -#elif _MSC_VER < 1300
91 -typedef unsigned char uint8_t;
92 -typedef short int16_t;
93 -typedef unsigned short uint16_t;
95 -typedef unsigned int uint32_t;
99 -typedef UINT8 uint8_t;
100 -typedef INT16 int16_t;
101 -typedef UINT16 uint16_t;
102 -typedef INT32 int32_t;
103 -typedef UINT32 uint32_t;
105 -#error Do not know sized types on this platform
106 +#include <inttypes.h>
109 typedef int16_t Int16BigEndian;
112 [FILE:458:patches/patch-src_alutLoader.c]
113 --- src/alutLoader.c.orig 2006-05-08 09:28:07 UTC
115 @@ -474,7 +474,7 @@ alutLoadWAVMemory (ALbyte *buffer, ALenu
117 /* ToDo: Can we do something less insane than passing 0x7FFFFFFF? */
118 stream = _alutInputStreamConstructFromMemory (buffer, 0x7FFFFFFF);
119 - _alutLoadMemoryFromInputStream (stream, format, size, &freq);
120 + *data = _alutLoadMemoryFromInputStream (stream, format, size, &freq);
126 [FILE:239:patches/patch-src_alutUtil.c]
127 --- src/alutUtil.c.orig 2006-05-08 09:28:07 UTC
131 #if HAVE_NANOSLEEP && HAVE_TIME_H
133 +#include <sys/time.h>
135 #elif HAVE_USLEEP && HAVE_UNISTD_H