1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= Advanced Linux Sound Architecture (ALSA)
9 HOMEPAGE= https://www.alsa-project.org/main/index.php/Main_Page
13 SITES[main]= GITHUB/alsa-project:alsa-lib:v1.2.8
14 DISTFILE[1]= generated:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= LINUX
19 OPTIONS_STANDARD= LINUX
22 USES= autoreconf cpe libtool:keepla python:build
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
32 CPE_VENDOR= alsa-project
33 FPC_EQUIVALENT= audio/alsa-lib
36 CONFIGURE_ARGS= --with-pkgconfdir="{{PREFIX}}/lib/pkgconfig"
38 INSTALL_TARGET= install-strip
39 INSTALL_REQ_TOOLCHAIN= yes
42 VAR_OPSYS[freebsd]= CONFIGURE_ARGS= ac_cv_header_endian_h=no
43 VAR_OPSYS[dragonfly]= CONFIGURE_ARGS= ac_cv_header_endian_h=no
45 [LINUX].DESCRIPTION= Indicates built for Linux
48 ${REINPLACE_CMD} 's|/etc|${PREFIX}&|g' ${WRKSRC}/src/conf/alsa.conf
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
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
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.
77 39af47a307b287659991981468888be307ee0c6c2ecdcbd2c646dbc0b1516771 841265 alsa-project-alsa-lib-1.2.8.tar.gz
80 [FILE:2069:manifests/plist.single]
123 include/alsa/sound/uapi/
132 include/sys/asoundlib.h
136 libasound.so.%%SOMAJOR%%
137 libasound.so.%%SOVERSION%%
140 libatopology.so.%%SOMAJOR%%
141 libatopology.so.%%SOVERSION%%
145 share/aclocal/alsa.m4
207 share/alsa/ctl/default.conf
228 [FILE:270:patches/patch-include_pcm.h]
229 --- include/pcm.h.orig 2022-10-24 08:17:27 UTC
236 +#define ESTRPIPE EPIPE
239 +#define EBADFD EBADF
247 [FILE:331:patches/patch-src_ucm_main.c]
248 --- src/ucm/main.c.orig 2022-10-24 08:17:27 UTC
250 @@ -176,7 +176,11 @@ static int read_tlv_file(unsigned int **
254 +#if defined(__FreeBSD__) || defined(__DragonFly__)
255 + if (fstat(fd, &st) == -1) {
257 if (fstat64(fd, &st) == -1) {
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
269 #if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
271 -#if defined(__DragonFly__)
272 -#define environ NULL /* XXX */
274 +#if defined(__FreeBSD__) || defined(__DragonFly__)
275 +char *environ[] = { 0 };
277 extern char **environ;
281 [FILE:381:patches/patch-test_midifile.c]
282 --- test/midifile.c.orig 2022-10-24 08:17:27 UTC
292 /*void exit(), free();*/
293 @@ -328,7 +328,7 @@ readtrack () /* read a track chunk */
297 - Mf_toberead = MAXINT;
298 + Mf_toberead = INT_MAX;
304 [FILE:281:files/byteswap.h]
309 #define bswap_16(x) swap16(x)
310 #define bswap_32(x) swap32(x)
311 #define bswap_64(x) swap64(x)
313 #define bswap_16(x) bswap16(x)
314 #define bswap_32(x) bswap32(x)
315 #define bswap_64(x) bswap64(x)
317 #endif /* _BYTESWAP_H */
320 [FILE:84:files/endian.h]
323 #include <linux/types.h>
324 #endif /* _ENDIAN_H */
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 */
334 [FILE:79:files/malloc.h]
338 #endif /* _MALLOC_H */
341 [FILE:225:files/types.h]
342 #ifndef _LINUX_TYPES_H
343 #define _LINUX_TYPES_H
345 #include <sys/types.h>
348 #define __u8 u_int8_t
350 typedef pid_t __kernel_pid_t;
351 typedef off_t __kernel_off_t;
353 typedef uint64_t __u64;
354 #endif /* _LINUX_TYPES_H */