Ravenports generated: 03 Sep 2023 19:45
[ravenports.git] / bucket_90 / freealut
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               freealut
4 VERSION=                1.1.0
5 KEYWORDS=               audio
6 VARIANTS=               standard
7 SDESC[standard]=        OpenAL Utility Toolkit (ALUT)
8 HOMEPAGE=               http://www.openal.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
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
16 DF_INDEX=               1
17 SPKGS[standard]=        single
18
19 OPTIONS_AVAILABLE=      none
20 OPTIONS_STANDARD=       none
21
22 BUILD_DEPENDS=          openal:dev:standard
23 BUILDRUN_DEPENDS=       openal:primary:standard
24
25 USES=                   gmake libtool pkgconfig fbsd10fix mbsdfix
26
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
32 LICENSE_SCHEME=         solo
33
34 FPC_EQUIVALENT=         audio/freealut
35
36 MUST_CONFIGURE=         gnu
37
38 INSTALL_TARGET=         install-strip
39 SOVERSION=              0.1.0
40
41 post-patch:
42         ${REINPLACE_CMD} -e 's/@CFLAGS@/& -lopenal -lpthread/g' \
43         ${WRKSRC}/examples/Makefile.in ${WRKSRC}/test_suite/Makefile.in
44
45 [FILE:72:descriptions/desc.single]
46 freealut is a free implementation of the OpenAL Utility Toolkit (ALUT).
47
48
49 [FILE:100:distinfo]
50 60d1ea8779471bb851b89b49ce44eecb78e46265be1a6e9320a28b100c8df44f       461830 freealut-1.1.0.tar.gz
51
52
53 [FILE:142:manifests/plist.single]
54 bin/freealut-config
55 include/AL/alut.h
56 lib/
57  libalut.a
58  libalut.so
59  libalut.so.%%SOMAJOR%%
60  libalut.so.%%SOVERSION%%
61 lib/pkgconfig/freealut.pc
62
63
64 [FILE:344:patches/patch-src_alutInit.c]
65 --- src/alutInit.c.orig 2006-05-08 09:28:07 UTC
66 +++ src/alutInit.c
67 @@ -147,11 +147,7 @@ alutExit (void)
68        return AL_FALSE;
69      }
70  
71 -  if (!alcCloseDevice (device))
72 -    {
73 -      _alutSetError (ALUT_ERROR_CLOSE_DEVICE);
74 -      return AL_FALSE;
75 -    }
76 +  alcCloseDevice (device);
77  
78    initialisationState = Unintialized;
79    return AL_TRUE;
80
81
82 [FILE:637:patches/patch-src_alutInternal.h]
83 --- src/alutInternal.h.orig     2006-05-08 09:28:07 UTC
84 +++ src/alutInternal.h
85 @@ -13,23 +13,8 @@
86  
87  #if HAVE_STDINT_H
88  #include <stdint.h>
89 -#elif _MSC_VER < 1300
90 -typedef char int8_t;
91 -typedef unsigned char uint8_t;
92 -typedef short int16_t;
93 -typedef unsigned short uint16_t;
94 -typedef int int32_t;
95 -typedef unsigned int uint32_t;
96 -#elif HAVE_BASETSD_H
97 -#include <basetsd.h>
98 -typedef INT8 int8_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;
104  #else
105 -#error Do not know sized types on this platform
106 +#include <inttypes.h>
107  #endif
108  
109  typedef int16_t Int16BigEndian;
110
111
112 [FILE:458:patches/patch-src_alutLoader.c]
113 --- src/alutLoader.c.orig       2006-05-08 09:28:07 UTC
114 +++ src/alutLoader.c
115 @@ -474,7 +474,7 @@ alutLoadWAVMemory (ALbyte *buffer, ALenu
116  
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);
121    if (*data == NULL)
122      {
123        return;
124
125
126 [FILE:239:patches/patch-src_alutUtil.c]
127 --- src/alutUtil.c.orig 2006-05-08 09:28:07 UTC
128 +++ src/alutUtil.c
129 @@ -2,6 +2,7 @@
130  
131  #if HAVE_NANOSLEEP && HAVE_TIME_H
132  #include <time.h>
133 +#include <sys/time.h>
134  #include <errno.h>
135  #elif HAVE_USLEEP && HAVE_UNISTD_H
136  #include <unistd.h>
137