blob: e2bc61fbe9076397c6cb3dd2518e86a396390d10 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "ALSA sound library"
2HOMEPAGE = "http://www.alsa-project.org"
3BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking"
4SECTION = "libs/multimedia"
5LICENSE = "LGPLv2.1 & GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
7 file://src/socket.c;md5=285675b45e83f571c6a957fe4ab79c93;beginline=9;endline=24 \
8 "
9
10SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \
11 file://0001-configure.ac-remove-an-unnecessary-libtool-fix.patch \
12 file://0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch \
13 file://0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch \
14 file://0003-namehint-correct-the-args-check.patch \
15 file://0004-namehint-improve-the-previous-patch-check-the-return.patch \
16 file://0005-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch \
17 file://0001-Fix-alsa-sound-.h-for-external-programs.patch \
18 file://0001-uapi-Move-typedefs-from-uapi-to-sound.patch \
19 "
20SRC_URI[md5sum] = "82ddd3698469beec147e4f4a67134ea0"
21SRC_URI[sha256sum] = "958e260e3673f1f6ff6b2d2c0df3fc2e469bea5b2957163ce96ce17f23e87943"
22
23inherit autotools pkgconfig
24
25EXTRA_OECONF += " \
26 ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-softfloat', '', d)} \
27 --disable-python \
28"
29
30PACKAGES =+ "alsa-server alsa-conf libatopology"
31
32FILES_alsa-server = "${bindir}/*"
33FILES_alsa-conf = "${datadir}/alsa/"
34FILES_libatopology = "${libdir}/libatopology.so.*"
35
36RDEPENDS_${PN}_class-target = "alsa-conf alsa-ucm-conf"
37RDEPENDS_libatopology_class-target = "alsa-topology-conf"
38
39# upgrade path
40RPROVIDES_${PN} = "libasound"
41RREPLACES_${PN} = "libasound"
42RCONFLICTS_${PN} = "libasound"
43
44RPROVIDES_${PN}-dev = "alsa-dev"
45RREPLACES_${PN}-dev = "alsa-dev"
46RCONFLICTS_${PN}-dev = "alsa-dev"
47
48RPROVIDES_alsa-conf = "alsa-conf-base"
49RREPLACES_alsa-conf = "alsa-conf-base"
50RCONFLICTS_alsa-conf = "alsa-conf-base"
51
52BBCLASSEXTEND = "native nativesdk"