blob: d482e27683bc776408a459ca75169383a2805af3 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "ALSA sound library"
2DESCRIPTION = "(Occasionally a.k.a. libasound) is a userspace library that \
3provides a level of abstraction over the /dev interfaces provided by the kernel modules."
4HOMEPAGE = "http://www.alsa-project.org"
5BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking"
6SECTION = "libs/multimedia"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00007LICENSE = "LGPL-2.1-only & GPL-2.0-or-later"
Andrew Geissler595f6302022-01-24 19:11:47 +00008LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
9 file://src/socket.c;md5=285675b45e83f571c6a957fe4ab79c93;beginline=9;endline=24 \
10 "
11
12SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2"
Patrick Williamsb542dec2023-06-09 01:26:37 -050013SRC_URI[sha256sum] = "dc9c643fdc4ccfd0572cc685858dd41e08afb583f30460b317e4188275f615b2"
Andrew Geissler595f6302022-01-24 19:11:47 +000014
15inherit autotools pkgconfig
16
17EXTRA_OECONF += " \
18 ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-softfloat', '', d)} \
Andrew Geissler8f840682023-07-21 09:09:43 -050019 --disable-python --disable-old-symbols \
Andrew Geissler595f6302022-01-24 19:11:47 +000020"
21
22PACKAGES =+ "alsa-server alsa-conf libatopology"
23
24FILES:alsa-server = "${bindir}/*"
25FILES:alsa-conf = "${datadir}/alsa/"
26FILES:libatopology = "${libdir}/libatopology.so.*"
27
28RDEPENDS:${PN}:class-target = "alsa-conf alsa-ucm-conf"
29RDEPENDS:libatopology:class-target = "alsa-topology-conf"
30
31# upgrade path
32RPROVIDES:${PN} = "libasound"
33RREPLACES:${PN} = "libasound"
34RCONFLICTS:${PN} = "libasound"
35
36RPROVIDES:${PN}-dev = "alsa-dev"
37RREPLACES:${PN}-dev = "alsa-dev"
38RCONFLICTS:${PN}-dev = "alsa-dev"
39
40RPROVIDES:alsa-conf = "alsa-conf-base"
41RREPLACES:alsa-conf = "alsa-conf-base"
42RCONFLICTS:alsa-conf = "alsa-conf-base"
43
44BBCLASSEXTEND = "native nativesdk"