blob: c49cc2a9b4253ef4696d13903422f0f1d2682e5c [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "ALSA sound library"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "(Occasionally a.k.a. libasound) is a userspace library that \
3provides a level of abstraction over the /dev interfaces provided by the kernel modules."
Andrew Geissler82c905d2020-04-13 13:39:40 -05004HOMEPAGE = "http://www.alsa-project.org"
5BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking"
6SECTION = "libs/multimedia"
7LICENSE = "LGPLv2.1 & GPLv2+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
9 file://src/socket.c;md5=285675b45e83f571c6a957fe4ab79c93;beginline=9;endline=24 \
10 "
11
Andrew Geissler6ce62a22020-11-30 19:58:47 -060012SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \
13 file://ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e.patch"
14SRC_URI[sha256sum] = "f7554be1a56cdff468b58fc1c29b95b64864c590038dd309c7a978c7116908f7"
Andrew Geissler82c905d2020-04-13 13:39:40 -050015
16inherit autotools pkgconfig
17
18EXTRA_OECONF += " \
19 ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-softfloat', '', d)} \
20 --disable-python \
21"
22
23PACKAGES =+ "alsa-server alsa-conf libatopology"
24
25FILES_alsa-server = "${bindir}/*"
26FILES_alsa-conf = "${datadir}/alsa/"
27FILES_libatopology = "${libdir}/libatopology.so.*"
28
29RDEPENDS_${PN}_class-target = "alsa-conf alsa-ucm-conf"
30RDEPENDS_libatopology_class-target = "alsa-topology-conf"
31
32# upgrade path
33RPROVIDES_${PN} = "libasound"
34RREPLACES_${PN} = "libasound"
35RCONFLICTS_${PN} = "libasound"
36
37RPROVIDES_${PN}-dev = "alsa-dev"
38RREPLACES_${PN}-dev = "alsa-dev"
39RCONFLICTS_${PN}-dev = "alsa-dev"
40
41RPROVIDES_alsa-conf = "alsa-conf-base"
42RREPLACES_alsa-conf = "alsa-conf-base"
43RCONFLICTS_alsa-conf = "alsa-conf-base"
44
45BBCLASSEXTEND = "native nativesdk"