blob: f38e8b94ff2671ca0673cbf25df12537317b6dce [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
Andrew Geissler6ce62a22020-11-30 19:58:47 -060010SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \
11 file://ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e.patch"
12SRC_URI[sha256sum] = "f7554be1a56cdff468b58fc1c29b95b64864c590038dd309c7a978c7116908f7"
Andrew Geissler82c905d2020-04-13 13:39:40 -050013
14inherit autotools pkgconfig
15
16EXTRA_OECONF += " \
17 ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-softfloat', '', d)} \
18 --disable-python \
19"
20
21PACKAGES =+ "alsa-server alsa-conf libatopology"
22
23FILES_alsa-server = "${bindir}/*"
24FILES_alsa-conf = "${datadir}/alsa/"
25FILES_libatopology = "${libdir}/libatopology.so.*"
26
27RDEPENDS_${PN}_class-target = "alsa-conf alsa-ucm-conf"
28RDEPENDS_libatopology_class-target = "alsa-topology-conf"
29
30# upgrade path
31RPROVIDES_${PN} = "libasound"
32RREPLACES_${PN} = "libasound"
33RCONFLICTS_${PN} = "libasound"
34
35RPROVIDES_${PN}-dev = "alsa-dev"
36RREPLACES_${PN}-dev = "alsa-dev"
37RCONFLICTS_${PN}-dev = "alsa-dev"
38
39RPROVIDES_alsa-conf = "alsa-conf-base"
40RREPLACES_alsa-conf = "alsa-conf-base"
41RCONFLICTS_alsa-conf = "alsa-conf-base"
42
43BBCLASSEXTEND = "native nativesdk"