xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/alsa/alsa-lib_1.2.6.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "ALSA sound library"
2*4882a593SmuzhiyunDESCRIPTION = "(Occasionally a.k.a. libasound) is a userspace library that \
3*4882a593Smuzhiyunprovides a level of abstraction over the /dev interfaces provided by the kernel modules."
4*4882a593SmuzhiyunHOMEPAGE = "http://www.alsa-project.org"
5*4882a593SmuzhiyunBUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking"
6*4882a593SmuzhiyunSECTION = "libs/multimedia"
7*4882a593SmuzhiyunLICENSE = "LGPL-2.1-only & GPL-2.0-or-later"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
9*4882a593Smuzhiyun                    file://src/socket.c;md5=285675b45e83f571c6a957fe4ab79c93;beginline=9;endline=24 \
10*4882a593Smuzhiyun                    "
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunSRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2"
13*4882a593SmuzhiyunSRC_URI[sha256sum] = "ad582993d52cdb5fb159a0beab60a6ac57eab0cc1bdf85dc4db6d6197f02333f"
14*4882a593Smuzhiyun
15*4882a593Smuzhiyuninherit autotools pkgconfig
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunEXTRA_OECONF += " \
18*4882a593Smuzhiyun    ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-softfloat', '', d)} \
19*4882a593Smuzhiyun    --disable-python \
20*4882a593Smuzhiyun"
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunPACKAGES =+ "alsa-server alsa-conf libatopology"
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunFILES:alsa-server = "${bindir}/*"
25*4882a593SmuzhiyunFILES:alsa-conf = "${datadir}/alsa/"
26*4882a593SmuzhiyunFILES:libatopology = "${libdir}/libatopology.so.*"
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunRDEPENDS:${PN}:class-target = "alsa-conf alsa-ucm-conf"
29*4882a593SmuzhiyunRDEPENDS:libatopology:class-target = "alsa-topology-conf"
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun# upgrade path
32*4882a593SmuzhiyunRPROVIDES:${PN} = "libasound"
33*4882a593SmuzhiyunRREPLACES:${PN} = "libasound"
34*4882a593SmuzhiyunRCONFLICTS:${PN} = "libasound"
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunRPROVIDES:${PN}-dev = "alsa-dev"
37*4882a593SmuzhiyunRREPLACES:${PN}-dev = "alsa-dev"
38*4882a593SmuzhiyunRCONFLICTS:${PN}-dev = "alsa-dev"
39*4882a593Smuzhiyun
40*4882a593SmuzhiyunRPROVIDES:alsa-conf = "alsa-conf-base"
41*4882a593SmuzhiyunRREPLACES:alsa-conf = "alsa-conf-base"
42*4882a593SmuzhiyunRCONFLICTS:alsa-conf = "alsa-conf-base"
43*4882a593Smuzhiyun
44*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
45