blob: c212b17aa3ec5c2523f647998fcb16ba09fd760b [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
Andrew Geissler220dafd2023-10-04 10:18:08 -050012SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \
Patrick Williams73bd93f2024-02-20 08:07:48 -060013 file://0001-topology-correct-version-script-path.patch \
Andrew Geissler220dafd2023-10-04 10:18:08 -050014 "
Patrick Williams73bd93f2024-02-20 08:07:48 -060015SRC_URI[sha256sum] = "9f3f2f69b995f9ad37359072fbc69a3a88bfba081fc83e9be30e14662795bb4d"
Andrew Geissler595f6302022-01-24 19:11:47 +000016
17inherit autotools pkgconfig
18
19EXTRA_OECONF += " \
20 ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-softfloat', '', d)} \
Andrew Geissler8f840682023-07-21 09:09:43 -050021 --disable-python --disable-old-symbols \
Andrew Geissler595f6302022-01-24 19:11:47 +000022"
23
24PACKAGES =+ "alsa-server alsa-conf libatopology"
25
26FILES:alsa-server = "${bindir}/*"
27FILES:alsa-conf = "${datadir}/alsa/"
28FILES:libatopology = "${libdir}/libatopology.so.*"
29
30RDEPENDS:${PN}:class-target = "alsa-conf alsa-ucm-conf"
31RDEPENDS:libatopology:class-target = "alsa-topology-conf"
32
33# upgrade path
34RPROVIDES:${PN} = "libasound"
35RREPLACES:${PN} = "libasound"
36RCONFLICTS:${PN} = "libasound"
37
38RPROVIDES:${PN}-dev = "alsa-dev"
39RREPLACES:${PN}-dev = "alsa-dev"
40RCONFLICTS:${PN}-dev = "alsa-dev"
41
42RPROVIDES:alsa-conf = "alsa-conf-base"
43RREPLACES:alsa-conf = "alsa-conf-base"
44RCONFLICTS:alsa-conf = "alsa-conf-base"
45
46BBCLASSEXTEND = "native nativesdk"