xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.8.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Alsa OSS Compatibility Package"
2*4882a593SmuzhiyunSECTION = "libs/multimedia"
3*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
4*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=ed055b4eff93da784176a01582e6ec1a"
5*4882a593SmuzhiyunDEPENDS = "alsa-lib"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunSRC_URI = "https://www.alsa-project.org/files/pub/oss-lib/alsa-oss-${PV}.tar.bz2 \
8*4882a593Smuzhiyun"
9*4882a593SmuzhiyunSRC_URI[md5sum] = "9ec4bb783fdce19032aace086d65d874"
10*4882a593SmuzhiyunSRC_URI[sha256sum] = "64adcef5927e848d2e024e64c4bf85b6f395964d9974ec61905ae4cb8d35d68e"
11*4882a593Smuzhiyun
12*4882a593Smuzhiyuninherit autotools
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunLEAD_SONAME = "libaoss.so.0"
15*4882a593Smuzhiyun
16*4882a593Smuzhiyundo_configure:prepend () {
17*4882a593Smuzhiyun    touch NEWS README AUTHORS ChangeLog
18*4882a593Smuzhiyun    sed -i "s/libaoss.so/${LEAD_SONAME}/" ${S}/alsa/aoss.in
19*4882a593Smuzhiyun}
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun# http://errors.yoctoproject.org/Errors/Details/186961/
22*4882a593SmuzhiyunCOMPATIBLE_HOST:libc-musl = 'null'
23