Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | SUMMARY = "ALSA sound library" |
| 2 | DESCRIPTION = "(Occasionally a.k.a. libasound) is a userspace library that \ |
| 3 | provides a level of abstraction over the /dev interfaces provided by the kernel modules." |
| 4 | HOMEPAGE = "http://www.alsa-project.org" |
| 5 | BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking" |
| 6 | SECTION = "libs/multimedia" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 7 | LICENSE = "LGPL-2.1-only & GPL-2.0-or-later" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \ |
| 9 | file://src/socket.c;md5=285675b45e83f571c6a957fe4ab79c93;beginline=9;endline=24 \ |
| 10 | " |
| 11 | |
| 12 | SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2" |
Patrick Williams | 7784c42 | 2022-11-17 07:29:11 -0600 | [diff] [blame] | 13 | SRC_URI[sha256sum] = "1ab01b74e33425ca99c2e36c0844fd6888273193bd898240fe8f93accbcbf347" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 14 | |
| 15 | inherit autotools pkgconfig |
| 16 | |
| 17 | EXTRA_OECONF += " \ |
| 18 | ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-softfloat', '', d)} \ |
| 19 | --disable-python \ |
| 20 | " |
| 21 | |
| 22 | PACKAGES =+ "alsa-server alsa-conf libatopology" |
| 23 | |
| 24 | FILES:alsa-server = "${bindir}/*" |
| 25 | FILES:alsa-conf = "${datadir}/alsa/" |
| 26 | FILES:libatopology = "${libdir}/libatopology.so.*" |
| 27 | |
| 28 | RDEPENDS:${PN}:class-target = "alsa-conf alsa-ucm-conf" |
| 29 | RDEPENDS:libatopology:class-target = "alsa-topology-conf" |
| 30 | |
| 31 | # upgrade path |
| 32 | RPROVIDES:${PN} = "libasound" |
| 33 | RREPLACES:${PN} = "libasound" |
| 34 | RCONFLICTS:${PN} = "libasound" |
| 35 | |
| 36 | RPROVIDES:${PN}-dev = "alsa-dev" |
| 37 | RREPLACES:${PN}-dev = "alsa-dev" |
| 38 | RCONFLICTS:${PN}-dev = "alsa-dev" |
| 39 | |
| 40 | RPROVIDES:alsa-conf = "alsa-conf-base" |
| 41 | RREPLACES:alsa-conf = "alsa-conf-base" |
| 42 | RCONFLICTS:alsa-conf = "alsa-conf-base" |
| 43 | |
| 44 | BBCLASSEXTEND = "native nativesdk" |