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