Ravenports generated: 04 Nov 2022 02:27
[ravenports.git] / bucket_F7 / alsa-lib
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               alsa-lib
4 VERSION=                1.2.8
5 KEYWORDS=               audio
6 VARIANTS=               standard
7 SDESC[standard]=        Advanced Linux Sound Architecture (ALSA)
8 HOMEPAGE=               https://www.alsa-project.org/main/index.php/Main_Page
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/alsa-project:alsa-lib:v1.2.8
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      LINUX
18 OPTIONS_STANDARD=       LINUX
19 OPT_ON[linux]=          LINUX
20
21 USES=                   autoreconf cpe libtool:keepla python:build
22
23 LICENSE=                LGPL21+:single
24 LICENSE_TERMS=          single:{{WRKSRC}}/TERMS
25 LICENSE_FILE=           LGPL21+:{{WRKSRC}}/COPYING
26 LICENSE_AWK=            TERMS:"^\#include"
27 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/input.c
28 LICENSE_SCHEME=         solo
29
30 CPE_PRODUCT=            alsa
31 CPE_VENDOR=             alsa-project
32 FPC_EQUIVALENT=         audio/alsa-lib
33
34 MUST_CONFIGURE=         gnu
35 CONFIGURE_ARGS=         --with-pkgconfdir="{{PREFIX}}/lib/pkgconfig"
36
37 INSTALL_TARGET=         install-strip
38 INSTALL_REQ_TOOLCHAIN=  yes
39 SOVERSION=              2.0.0
40
41 VAR_OPSYS[freebsd]=     CONFIGURE_ARGS= ac_cv_header_endian_h=no
42 VAR_OPSYS[dragonfly]=   CONFIGURE_ARGS= ac_cv_header_endian_h=no
43
44 [LINUX].DESCRIPTION=                    Indicates built for Linux
45
46 post-patch:
47         ${REINPLACE_CMD} 's|/etc|${PREFIX}&|g' ${WRKSRC}/src/conf/alsa.conf
48
49 post-patch-LINUX-OFF:
50         ${MKDIR} ${WRKSRC}/include/linux
51         ${CP} ${FILESDIR}/byteswap.h ${WRKSRC}/include/
52         ${CP} ${FILESDIR}/endian.h ${WRKSRC}/include/
53         ${CP} ${FILESDIR}/malloc.h ${WRKSRC}/include/
54         ${CP} ${FILESDIR}/ioctl.h ${WRKSRC}/include/linux/
55         ${CP} ${FILESDIR}/types.h ${WRKSRC}/include/linux/
56         ${REINPLACE_CMD} -E -e 's/__s([[:digit:]]+)/int\1_t/g' \
57                 -e 's/__kernel_long_t/long/g' \
58                 ${WRKSRC}/include/sound/uapi/asound.h
59
60 [FILE:574:descriptions/desc.single]
61 The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
62 functionality to the Linux operating system. ALSA has the following
63 significant features:
64
65 * Efficient support for all types of audio interfaces, from consumer
66   sound cards to professional multichannel audio interfaces.
67 * Fully modularized sound drivers.
68 * SMP and thread-safe design.
69 * User space library (alsa-lib) to simplify application programming
70   and provide higher level functionality.
71 * Support for the older Open Sound System (OSS) API, providing binary
72   compatibility for most OSS programs.
73
74
75 [FILE:113:distinfo]
76 39af47a307b287659991981468888be307ee0c6c2ecdcbd2c646dbc0b1516771       841265 alsa-project-alsa-lib-1.2.8.tar.gz
77
78
79 [FILE:2069:manifests/plist.single]
80 bin/aserver
81 include/asoundlib.h
82 include/alsa/
83  asoundef.h
84  asoundlib.h
85  conf.h
86  control.h
87  control_external.h
88  control_plugin.h
89  error.h
90  global.h
91  hwdep.h
92  input.h
93  mixer.h
94  mixer_abst.h
95  output.h
96  pcm.h
97  pcm_external.h
98  pcm_extplug.h
99  pcm_ioplug.h
100  pcm_old.h
101  pcm_plugin.h
102  pcm_rate.h
103  rawmidi.h
104  seq.h
105  seq_event.h
106  seq_midi_event.h
107  seqmid.h
108  timer.h
109  topology.h
110  use-case.h
111  version.h
112 include/alsa/sound/
113  asoc.h
114  asound_fm.h
115  emu10k1.h
116  hdsp.h
117  hdspm.h
118  sb16_csp.h
119  sscape_ioctl.h
120  tlv.h
121  type_compat.h
122 include/alsa/sound/uapi/
123  asoc.h
124  asound_fm.h
125  emu10k1.h
126  hdsp.h
127  hdspm.h
128  sb16_csp.h
129  sscape_ioctl.h
130  tlv.h
131 include/sys/asoundlib.h
132 lib/
133  libasound.la
134  libasound.so
135  libasound.so.%%SOMAJOR%%
136  libasound.so.%%SOVERSION%%
137  libatopology.la
138  libatopology.so
139  libatopology.so.%%SOMAJOR%%
140  libatopology.so.%%SOVERSION%%
141 lib/pkgconfig/
142  alsa-topology.pc
143  alsa.pc
144 share/aclocal/alsa.m4
145 share/alsa/alsa.conf
146 share/alsa/cards/
147  AACI.conf
148  ATIIXP-MODEM.conf
149  ATIIXP-SPDMA.conf
150  ATIIXP.conf
151  AU8810.conf
152  AU8820.conf
153  AU8830.conf
154  Audigy.conf
155  Audigy2.conf
156  Aureon51.conf
157  Aureon71.conf
158  CA0106.conf
159  CMI8338-SWIEC.conf
160  CMI8338.conf
161  CMI8738-MC6.conf
162  CMI8738-MC8.conf
163  CMI8788.conf
164  CS46xx.conf
165  EMU10K1.conf
166  EMU10K1X.conf
167  ENS1370.conf
168  ENS1371.conf
169  ES1968.conf
170  Echo_Echo3G.conf
171  FM801.conf
172  FWSpeakers.conf
173  FireWave.conf
174  GUS.conf
175  HDA-Intel.conf
176  HdmiLpeAudio.conf
177  ICE1712.conf
178  ICE1724.conf
179  ICH-MODEM.conf
180  ICH.conf
181  ICH4.conf
182  Loopback.conf
183  Maestro3.conf
184  NFORCE.conf
185  PC-Speaker.conf
186  PMac.conf
187  PMacToonie.conf
188  PS3.conf
189  RME9636.conf
190  RME9652.conf
191  SB-XFi.conf
192  SI7018.conf
193  TRID4DWAVENX.conf
194  USB-Audio.conf
195  VIA686A.conf
196  VIA8233.conf
197  VIA8233A.conf
198  VIA8237.conf
199  VX222.conf
200  VXPocket.conf
201  VXPocket440.conf
202  YMF744.conf
203  aliases.conf
204  pistachio-card.conf
205  vc4-hdmi.conf
206 share/alsa/ctl/default.conf
207 share/alsa/pcm/
208  center_lfe.conf
209  default.conf
210  dmix.conf
211  dpl.conf
212  dsnoop.conf
213  front.conf
214  hdmi.conf
215  iec958.conf
216  modem.conf
217  rear.conf
218  side.conf
219  surround21.conf
220  surround40.conf
221  surround41.conf
222  surround50.conf
223  surround51.conf
224  surround71.conf
225
226
227 [FILE:270:patches/patch-include_pcm.h]
228 --- include/pcm.h.orig  2022-10-24 08:17:27 UTC
229 +++ include/pcm.h
230 @@ -29,6 +29,13 @@
231  #ifndef __ALSA_PCM_H
232  #define __ALSA_PCM_H
233  
234 +#ifndef ESTRPIPE
235 +#define ESTRPIPE EPIPE
236 +#endif
237 +#ifndef EBADFD
238 +#define EBADFD EBADF
239 +#endif
240 +
241  #ifdef __cplusplus
242  extern "C" {
243  #endif
244
245
246 [FILE:331:patches/patch-src_ucm_main.c]
247 --- src/ucm/main.c.orig 2022-10-24 08:17:27 UTC
248 +++ src/ucm/main.c
249 @@ -176,7 +176,11 @@ static int read_tlv_file(unsigned int **
250                 err = -errno;
251                 return err;
252         }
253 +#if defined(__FreeBSD__) || defined(__DragonFly__)
254 +       if (fstat(fd, &st) == -1) {
255 +#else
256         if (fstat64(fd, &st) == -1) {
257 +#endif
258                 err = -errno;
259                 goto __fail;
260         }
261
262
263 [FILE:412:patches/patch-src_ucm_ucm__exec.c]
264 --- src/ucm/ucm_exec.c.orig     2022-10-24 08:17:27 UTC
265 +++ src/ucm/ucm_exec.c
266 @@ -32,6 +32,12 @@
267  #include <sys/wait.h>
268  #include <limits.h>
269  #include <dirent.h>
270 +#include <unistd.h>
271 +#include <signal.h>
272 +
273 +#if defined(__FreeBSD__) || defined(__DragonFly__)
274 +char *environ[] = { 0 };
275 +#endif 
276  
277  #if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
278  #include <signal.h>
279
280
281 [FILE:381:patches/patch-test_midifile.c]
282 --- test/midifile.c.orig        2022-10-24 08:17:27 UTC
283 +++ test/midifile.c
284 @@ -71,7 +71,7 @@
285  #endif
286  
287  #include <stdio.h>
288 -#include <values.h>
289 +#include <limits.h>
290  
291  #include <string.h>
292  /*void exit(), free();*/
293 @@ -328,7 +328,7 @@ readtrack ()                        /* read a track chunk */
294  
295    if (Mf_interactive)
296      {
297 -      Mf_toberead = MAXINT;
298 +      Mf_toberead = INT_MAX;
299      }
300    else
301      {
302
303
304 [FILE:281:files/byteswap.h]
305 #ifndef _BYTESWAP_H
306 #define _BYTESWAP_H
307
308 #ifdef __OpenBSD__
309 #define bswap_16(x)     swap16(x)
310 #define bswap_32(x)     swap32(x)
311 #define bswap_64(x)     swap64(x)
312 #else
313 #define bswap_16(x)     bswap16(x)
314 #define bswap_32(x)     bswap32(x)
315 #define bswap_64(x)     bswap64(x)
316 #endif
317 #endif /* _BYTESWAP_H */
318
319
320 [FILE:84:files/endian.h]
321 #ifndef _ENDIAN_H
322 #define _ENDIAN_H
323 #include <linux/types.h>
324 #endif /* _ENDIAN_H */
325
326
327 [FILE:98:files/ioctl.h]
328 #ifndef _LINUX_IOCTL_H
329 #define _LINUX_IOCTL_H
330 #include <sys/ioccom.h>
331 #endif /* _LINUX_IOCTL_H */
332
333
334 [FILE:79:files/malloc.h]
335 #ifndef _MALLOC_H
336 #define _MALLOC_H
337 #include <stdlib.h>
338 #endif /* _MALLOC_H */
339
340
341 [FILE:225:files/types.h]
342 #ifndef _LINUX_TYPES_H
343 #define _LINUX_TYPES_H
344
345 #include <sys/types.h>
346
347 #define __bitwise
348 #define __u8 u_int8_t
349
350 typedef pid_t __kernel_pid_t;
351 typedef off_t __kernel_off_t;
352
353 typedef uint64_t __u64;
354 #endif /* _LINUX_TYPES_H */
355